Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 3922) sorted by relevance

12345678910>>...157

/NextBSD/etc/
HDrc.firewall85 ${fwcmd} add 100 pass all from any to any via lo0
86 ${fwcmd} add 200 deny all from any to 127.0.0.0/8
87 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any
89 ${fwcmd} add 400 deny all from any to ::1
90 ${fwcmd} add 500 deny all from ::1 to any
103 ${fwcmd} add pass ipv6-icmp from :: to ff02::/16
105 ${fwcmd} add pass ipv6-icmp from fe80::/10 to fe80::/10
106 ${fwcmd} add pass ipv6-icmp from fe80::/10 to ff02::/16
109 ${fwcmd} add pass ipv6-icmp from any to any icmp6types 1
112 ${fwcmd} add pass ipv6-icmp from any to any icmp6types 2,135,136
[all …]
/NextBSD/crypto/heimdal/lib/asn1/
HDder_copy.c41 der_copy_general_string (const heim_general_string *from, in der_copy_general_string() argument
44 *to = strdup(*from); in der_copy_general_string()
51 der_copy_integer (const int *from, int *to) in der_copy_integer() argument
53 *to = *from; in der_copy_integer()
58 der_copy_unsigned (const unsigned *from, unsigned *to) in der_copy_unsigned() argument
60 *to = *from; in der_copy_unsigned()
65 der_copy_generalized_time (const time_t *from, time_t *to) in der_copy_generalized_time() argument
67 *to = *from; in der_copy_generalized_time()
72 der_copy_utctime (const time_t *from, time_t *to) in der_copy_utctime() argument
74 *to = *from; in der_copy_utctime()
[all …]
HDgen_copy.c41 copy_primitive (const char *typename, const char *from, const char *to) in copy_primitive() argument
44 typename, from, to); in copy_primitive()
49 copy_type (const char *from, const char *to, const Type *t, int preserve) in copy_type() argument
54 copy_type (from, to, t->symbol->type, preserve); in copy_type()
57 t->symbol->gen_name, from, to); in copy_type()
62 copy_primitive ("heim_integer", from, to); in copy_type()
67 fprintf(codefile, "*(%s) = *(%s);\n", to, from); in copy_type()
70 copy_primitive ("octet_string", from, to); in copy_type()
74 copy_primitive ("bit_string", from, to); in copy_type()
76 fprintf(codefile, "*(%s) = *(%s);\n", to, from); in copy_type()
[all …]
/NextBSD/contrib/netbsd-tests/ipf/expected/
HDi121 pass in inet from 1.1.1.1/32 to 2.2.2.2/32
2 pass in inet from 2.2.2.0/24 to 4.4.4.4/32
3 pass in inet from 3.3.3.3/32 to 4.4.4.4/32
4 pass in inet from 2.2.2.0/24 to 5.5.5.5/32
5 pass in inet from 3.3.3.3/32 to 5.5.5.5/32
6 pass in inet from 2.2.2.0/24 to 6.6.6.6/32
7 pass in inet from 3.3.3.3/32 to 6.6.6.6/32
8 pass in inet from 2.2.2.0/24 to 5.5.5.5/32 port = 22
9 pass in inet from 3.3.3.3/32 to 5.5.5.5/32 port = 22
10 pass in inet from 2.2.2.0/24 to 6.6.6.6/32 port = 22
[all …]
HDi81 pass in inet proto icmp from 127.0.0.1/32 to 127.0.0.1/32 icmp-type timest
2 block in inet proto icmp from any to any icmp-type unreach code 1
3 pass in inet proto icmp from any to any icmp-type unreach code 15
4 pass in inet proto icmp from any to any icmp-type unreach code 13
5 pass in inet proto icmp from any to any icmp-type unreach code 8
6 pass in inet proto icmp from any to any icmp-type unreach code 4
7 pass in inet proto icmp from any to any icmp-type unreach code 9
8 pass in inet proto icmp from any to any icmp-type unreach code 11
9 pass in inet proto icmp from any to any icmp-type unreach code 14
10 pass in inet proto icmp from any to any icmp-type unreach code 10
[all …]
HDin51 map le0 from 9.8.7.6/32 port > 1024 to 0/0 -> 1.1.1.1/32 portmap tcp 10000:20000
2 map le0 from 9.8.7.6/32 port > 1024 ! to 1.2.3.4/32 -> 1.1.1.1/32 portmap tcp 10000:20000
3 rdr le0 from 0/0 to 9.8.7.6/32 port = 0 -> 1.1.1.1/32 port 0 tcp
4 rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip
5 rdr le0 ! from 1.2.3.4/32 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp
6 rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 ip
7 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp
8 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 udp
9 rdr le0 from 0/0 to 9.8.7.6/32 port = 8888 -> 1.1.1.1/32 port 888 tcp/udp
10 rdr le0 from 0/0 to 9.8.7.6/32 -> 1.1.1.1/32 icmp
[all …]
HDin5_61 map le0 inet6 from 9:8:7::6/128 port > 1024 to any -> 1:1:1::1/128 portmap tcp 10000:20000
2 map le0 inet6 from 9:8:7::6/128 port > 1024 ! to 1:2:3::4/128 -> 1:1:1::1/128 portmap tcp 10000:200…
3 rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1:1:1::1/128 port 0 tcp
4 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1/128 ip
5 rdr le0 inet6 ! from 1:2:3::4/128 to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 tcp
6 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1/128 ip
7 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 tcp
8 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 udp
9 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1/128 port 888 tcp/udp
10 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1/128 icmp
[all …]
HDi211 pass in from any port = 10101 to any
2 pass out from any to any port != 22
3 block in from any port 20:21 to any
4 block out from any to any port 10 <> 100
5 pass out from any to any port = 3
6 pass out from any to any port = 5
7 pass out from any to any port = 7
8 pass out from any to any port = 9
9 block in from any port = 20 to any
10 block in from any port = 25 to any
[all …]
HDi19.dist1 block in log level user.debug quick proto icmp from any to any
2 block in log level mail.info quick proto icmp from any to any
3 block in log level daemon.notice quick proto icmp from any to any
4 block in log level auth.warn quick proto icmp from any to any
5 block in log level syslog.err quick proto icmp from any to any
6 block in log level lpr.crit quick proto icmp from any to any
7 block in log level news.alert quick proto icmp from any to any
8 block in log level uucp.emerg quick proto icmp from any to any
9 block in log level cron.debug quick proto icmp from any to any
10 block in log level ftp.info quick proto icmp from any to any
[all …]
/NextBSD/contrib/netbsd-tests/ipf/regress/
HDf61 block in proto tcp from any to any port = 23
2 block in proto udp from any to any port = 23
3 block in proto tcp/udp from any to any port = 23
4 pass in proto tcp from any to any port <= 1023
5 pass in proto udp from any to any port <= 1023
6 pass in proto tcp/udp from any to any port <= 1023
7 block in proto tcp from any to any port >= 1024
8 block in proto udp from any to any port >= 1024
9 block in proto tcp/udp from any to any port >= 1024
10 pass in proto tcp from any to any port >= 1024
[all …]
HDf51 block in proto tcp from any port = 23 to any
2 block in proto udp from any port = 23 to any
3 block in proto tcp/udp from any port = 23 to any
4 pass in proto tcp from any port <= 1023 to any
5 pass in proto udp from any port <= 1023 to any
6 pass in proto tcp/udp from any port <= 1023 to any
7 block in proto tcp from any port >= 1024 to any
8 block in proto udp from any port >= 1024 to any
9 block in proto tcp/udp from any port >= 1024 to any
10 pass in proto tcp from any port >= 1024 to any
[all …]
HDin51 map le0 from 9.8.7.6/32 port > 1024 to any -> 1.1.1.1 portmap 10000:20000 tcp
2 map le0 from 9.8.7.6/32 port > 1024 to ! 1.2.3.4 -> 1.1.1.1 portmap 10000:20000 tcp
3 rdr le0 from any to 9.8.7.6/32 port = 0 -> 1.1.1.1 port 0 tcp
4 rdr le0 from any to 9.8.7.6/0xffffffff port = 0 -> 1.1.1.1 port 0 ip
5 rdr le0 ! from 1.2.3.4 to 9.8.7.6 port = 8888 -> 1.1.1.1 port 888 tcp
6 rdr le0 from any to 9.8.7.6/255.255.255.255 port = 8888 -> 1.1.1.1 port 888 ip
7 rdr le0 from any to 9.8.7.6 mask 0xffffffff port = 8888 -> 1.1.1.1 port 888 tcp
8 rdr le0 from any to 9.8.7.6 mask 255.255.255.255 port = 8888 -> 1.1.1.1 port 888 udp
9 rdr le0 from any to 9.8.7.6/32 port = 8888 -> 1.1.1.1 port 888 tcp/udp
10 rdr le0 from any to 9.8.7.6/32 -> 1.1.1.1 port 888 icmp
[all …]
HDin5_61 map le0 inet6 from 9:8:7::6/128 port > 1024 to any -> 1:1:1::1 portmap 10000:20000 tcp
2 map le0 inet6 from 9:8:7::6/128 port > 1024 to ! 1:2:3::4 -> 1:1:1::1 portmap 10000:20000 tcp
3 rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1:1:1::1 port 0 tcp
4 rdr le0 inet6 from any to 9:8:7::6/128 port = 0 -> 1:1:1::1 port 0 ip
5 rdr le0 inet6 ! from 1:2:3::4 to 9:8:7::6 port = 8888 -> 1:1:1::1 port 888 tcp
6 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 ip
7 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 tcp
8 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 udp
9 rdr le0 inet6 from any to 9:8:7::6/128 port = 8888 -> 1:1:1::1 port 888 tcp/udp
10 rdr le0 inet6 from any to 9:8:7::6/128 -> 1:1:1::1 port 888 icmp
[all …]
/NextBSD/tools/tools/tinybsd/conf/wireless/etc/
HDrc.firewall84 ${fwcmd} add 100 pass all from any to any via lo0
85 ${fwcmd} add 200 deny all from any to 127.0.0.0/8
86 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any
124 ${fwcmd} add 50 divert natd all from any to any via ${natd_interface}
144 ${fwcmd} add 65000 pass all from any to any
161 ${fwcmd} add pass all from ${ip} to ${net}:${mask}
162 ${fwcmd} add pass all from ${net}:${mask} to ${ip}
165 ${fwcmd} add pass tcp from any to any established
168 ${fwcmd} add pass all from any to any frag
171 ${fwcmd} add pass tcp from any to ${ip} 25 setup
[all …]
/NextBSD/tools/tools/tinybsd/conf/firewall/etc/
HDrc.firewall84 ${fwcmd} add 100 pass all from any to any via lo0
85 ${fwcmd} add 200 deny all from any to 127.0.0.0/8
86 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any
124 ${fwcmd} add 50 divert natd all from any to any via ${natd_interface}
144 ${fwcmd} add 65000 pass all from any to any
161 ${fwcmd} add pass all from ${ip} to ${net}:${mask}
162 ${fwcmd} add pass all from ${net}:${mask} to ${ip}
165 ${fwcmd} add pass tcp from any to any established
168 ${fwcmd} add pass all from any to any frag
171 ${fwcmd} add pass tcp from any to ${ip} 25 setup
[all …]
/NextBSD/contrib/compiler-rt/lib/sanitizer_common/
HDsanitizer_bvgraph.h44 bool addEdge(uptr from, uptr to) { in addEdge() argument
45 check(from, to); in addEdge()
46 return v[from].setBit(to); in addEdge()
50 uptr addEdges(const BV &from, uptr to, uptr added_edges[], in addEdges() argument
53 t1.copyFrom(from); in addEdges()
69 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } in hasEdge() argument
72 bool removeEdge(uptr from, uptr to) { in removeEdge() argument
73 return v[from].clearBit(to); in removeEdge()
79 for (uptr from = 0; from < size(); from++) { in removeEdgesTo() local
80 if (v[from].setDifference(to)) in removeEdgesTo()
[all …]
/NextBSD/share/examples/ipfilter/
HDrules.txt3 # block all incoming TCP packets on le0 from host "foo" to any destination.
5 block in on le0 proto tcp from foo/32 to any
10 # block all outgoing TCP packets on le0 from any host to port 23 of host bar.
12 block out on le0 proto tcp from any to bar/32 port != 23
19 block in from any to any
21 # pass through packets to and from localhost.
23 pass in from 127.0.0.1/32 to 127.0.0.1/32
28 pass in from 10.1.3.1 to any
29 pass in from 10.1.3.2 to any
30 pass in from 10.1.3.3 to any
[all …]
/NextBSD/contrib/ipfilter/rules/
HDexample.34 block in from any to any
6 # pass through packets to and from localhost.
8 pass in from 127.0.0.1/32 to 127.0.0.1/32
13 pass in from 10.1.3.1/32 to any
14 pass in from 10.1.3.2/32 to any
15 pass in from 10.1.3.3/32 to any
16 pass in from 10.1.3.4/32 to any
17 pass in from 10.1.3.5/32 to any
18 pass in from 10.1.0.13/32 to any
19 pass in from 10.1.1.1/32 to any
[all …]
HDBASIC_1.FW27 block in log on ed0 from w.x.y.z/24 to any head 200
36 block in log quick from 127.0.0.0/8 to any group 100
37 block in log quick from any to 127.0.0.0/8 group 100
38 block in log quick from 127.0.0.0/8 to any group 200
39 block in log quick from any to 127.0.0.0/8 group 200
49 block in log quick from 10.0.0.0/8 to any group 100
50 block in log quick from 192.168.0.0/16 to any group 100
51 block in log quick from 172.16.0.0/12 to any group 100
55 block in log quick from a.b.c.d/24 to any group 100
60 pass in quick proto udp from any to any port = 53 keep state group 202
[all …]
/NextBSD/contrib/binutils/opcodes/
HDia64-ic.tbl25 …itr.d, IC:mov-to-AR-gr, IC:mov-to-BR, IC:mov-to-CR, IC:mov-to-IND, IC:mov-from-IND, IC:mov-to-PR-a…
26 gr-readers-writers; IC:mov-from-IND, add, addl, addp4, adds, and, andcm, clz, IC:czx, dep\dep[Forma…
27 …iters, IC:mem-readers-int, IC:mov-from-AR, IC:mov-from-BR, IC:mov-from-CR, IC:mov-from-PR, IC:mov-
70 mov-from-AR; IC:mov-from-AR-M, IC:mov-from-AR-I, IC:mov-from-AR-IM
71 mov-from-AR-BSP; IC:mov-from-AR-M[Field(ar3) == BSP]
72 mov-from-AR-BSPSTORE; IC:mov-from-AR-M[Field(ar3) == BSPSTORE]
73 mov-from-AR-CCV; IC:mov-from-AR-M[Field(ar3) == CCV]
74 mov-from-AR-CFLG; IC:mov-from-AR-M[Field(ar3) == CFLG]
75 mov-from-AR-CSD; IC:mov-from-AR-M[Field(ar3) == CSD]
76 mov-from-AR-EC; IC:mov-from-AR-I[Field(ar3) == EC]
[all …]
/NextBSD/contrib/wpa/wpa_supplicant/
HDctrl_iface_udp.c59 struct sockaddr_in6 *from, in wpa_supplicant_ctrl_iface_attach() argument
61 struct sockaddr_in *from, in wpa_supplicant_ctrl_iface_attach()
73 os_memcpy(&dst->addr, from, sizeof(*from)); in wpa_supplicant_ctrl_iface_attach()
80 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)), in wpa_supplicant_ctrl_iface_attach()
81 ntohs(from->sin6_port)); in wpa_supplicant_ctrl_iface_attach()
84 inet_ntoa(from->sin_addr), ntohs(from->sin_port)); in wpa_supplicant_ctrl_iface_attach()
92 struct sockaddr_in6 *from, argument
94 struct sockaddr_in *from,
106 if (from->sin6_port == dst->addr.sin6_port &&
107 !os_memcmp(&from->sin6_addr, &dst->addr.sin6_addr,
[all …]
/NextBSD/contrib/openbsm/compat/
HDendian.h50 const unsigned char *from; in bswap16() local
54 from = (const unsigned char *) &int16; in bswap16()
57 to[0] = from[1]; in bswap16()
58 to[1] = from[0]; in bswap16()
66 const unsigned char *from; in bswap32() local
70 from = (const unsigned char *) &int32; in bswap32()
73 to[0] = from[3]; in bswap32()
74 to[1] = from[2]; in bswap32()
75 to[2] = from[1]; in bswap32()
76 to[3] = from[0]; in bswap32()
[all …]
/NextBSD/contrib/compiler-rt/lib/asan/tests/
HDasan_str_test.cc123 char *from = Ident((char*)malloc(from_size)); in TEST() local
125 strcpy(from, "hello"); in TEST()
126 strcpy(to, from); in TEST()
127 strcpy(to + to_size - from_size, from); in TEST()
129 EXPECT_DEATH(Ident(strcpy(from, "hello2")), RightOOBWriteMessage(0)); in TEST()
131 EXPECT_DEATH(Ident(strcpy(to - 1, from)), LeftOOBWriteMessage(1)); in TEST()
132 EXPECT_DEATH(Ident(strcpy(to, from - 1)), LeftOOBReadMessage(1)); in TEST()
133 EXPECT_DEATH(Ident(strcpy(to, from + from_size)), RightOOBReadMessage(0)); in TEST()
134 EXPECT_DEATH(Ident(strcpy(to + to_size, from)), RightOOBWriteMessage(0)); in TEST()
136 from[from_size - 1] = '!'; in TEST()
[all …]
/NextBSD/bin/mv/
HDmv.c174 do_move(const char *from, const char *to) in do_move() argument
188 if (lstat(from, &sb) == -1) { in do_move()
189 warn("%s", from); in do_move()
225 if (!rename(from, to)) { in do_move()
227 printf("%s -> %s\n", from, to); in do_move()
239 if (lstat(from, &sb) == -1) { in do_move()
240 warn("%s", from); in do_move()
245 if (realpath(from, path) == NULL) { in do_move()
246 warn("cannot resolve %s: %s", from, path); in do_move()
256 warn("rename %s to %s", from, to); in do_move()
[all …]
/NextBSD/contrib/compiler-rt/lib/sanitizer_common/tests/
HDsanitizer_bvgraph_test.cc46 bool addEdge(uptr from, uptr to) { in addEdge() argument
47 return s_.insert(idx(from, to)).second; in addEdge()
49 bool removeEdge(uptr from, uptr to) { in removeEdge() argument
50 return s_.erase(idx(from, to)); in removeEdge()
55 uptr from = *it >> 16; in checkSameAs() local
57 EXPECT_TRUE(g->removeEdge(from, to)); in checkSameAs()
62 uptr idx(uptr from, uptr to) { in idx() argument
63 CHECK_LE(from|to, 1 << 16); in idx()
64 return (from << 16) + to; in idx()
85 uptr from = my_rand() % g.size(); in BasicTest() local
[all …]

12345678910>>...157