Home
last modified time | relevance | path

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

12345678910>>...176

/freebsd-12-stable/crypto/heimdal/lib/asn1/
Dder_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 …]
Dgen_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 …]
/freebsd-12-stable/etc/
Drc.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 …]
/freebsd-12-stable/contrib/netbsd-tests/ipf/expected/
Di121 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 …]
Di81 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 …]
Din51 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 …]
Din5_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 …]
Di211 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 …]
/freebsd-12-stable/contrib/netbsd-tests/ipf/regress/
Df51 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 …]
Df61 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 …]
Din51 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 …]
Din5_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 …]
/freebsd-12-stable/sbin/pfctl/tests/files/
Dpf0004.ok6 block drop in inet from 10.0.0.0/8 to any
7 block drop in inet from ! 10.0.0.0/8 to any
8 block drop in inet from 10.0.0.0/8 to any
9 block drop in inet from 172.16.0.0/12 to any
10 block drop in proto tcp from any port = ssh to any
11 block drop in proto tcp from any port = ssh to any port 1024:2048
12 block drop in proto tcp from any port 21 >< 2048 to any port 1024:2048
13 block drop in proto tcp from any port != 1234 to any port 1024:2048
14 block drop in proto tcp from any port >= 80 to any port 1024:2048
15 block drop in inet proto tcp from 10.0.0.0/8 port = ssh to 192.168.0.0/16 port = ircd
[all …]
Dpf0081.ok3 pass inet6 from (lo0) to ::1 flags S/SA keep state
4 pass inet6 from (lo0) to ::2 flags S/SA keep state
5 pass inet6 from (lo0) to ::3 flags S/SA keep state
6 pass inet from (lo0) to 0.0.0.1 flags S/SA keep state
7 pass inet from (lo0) to 0.0.0.2 flags S/SA keep state
8 pass inet from (lo0) to 0.0.0.3 flags S/SA keep state
9 pass from <foo> to <bar1> flags S/SA keep state
10 pass from <foo> to <bar2> flags S/SA keep state
11 pass from <foo> to <bar3> flags S/SA keep state
12 pass inet6 from <foo> to ::1 flags S/SA keep state
[all …]
Dpf0047.in8 pass in on lo0 from 0/0 to any label "$srcaddr"
9 pass in on lo0 from 127.0.0.1 to any label "$srcaddr"
10 pass in on lo0 from 127.0.0.1 to any label "$srcaddr$srcaddr"
11 pass in on lo0 from 127.0.0.1 to any label ":$srcaddr:$srcaddr:"
12 pass in on lo0 from 127.0.0.1/8 to any label "$srcaddr"
13 pass in on lo0 from 127.0.0.1/16 to any label "$srcaddr$srcaddr"
14 pass in on lo0 from 127.0.0.1/31 to any label ":$srcaddr:$srcaddr:"
15 pass in on lo0 inet6 from fe80::1 to any label "$srcaddr"
16 pass in on lo0 inet6 from fe80::1 to any label "$srcaddr$srcaddr"
17 pass in on lo0 inet6 from fe80::1 to any label ":$srcaddr:$srcaddr:"
[all …]
/freebsd-12-stable/tools/tools/tinybsd/conf/firewall/etc/
Drc.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 …]
/freebsd-12-stable/tools/tools/tinybsd/conf/wireless/etc/
Drc.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 …]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_bvgraph.h43 bool addEdge(uptr from, uptr to) { in addEdge() argument
44 check(from, to); in addEdge()
45 return v[from].setBit(to); in addEdge()
49 uptr addEdges(const BV &from, uptr to, uptr added_edges[], in addEdges() argument
52 t1.copyFrom(from); in addEdges()
68 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } in hasEdge() argument
71 bool removeEdge(uptr from, uptr to) { in removeEdge() argument
72 return v[from].clearBit(to); in removeEdge()
78 for (uptr from = 0; from < size(); from++) { in removeEdgesTo() local
79 if (v[from].setDifference(to)) in removeEdgesTo()
[all …]
/freebsd-12-stable/share/examples/ipfilter/
Drules.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 …]
/freebsd-12-stable/share/examples/ipfilter/rules/
Dexample.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 …]
/freebsd-12-stable/contrib/binutils/opcodes/
Dia64-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 …]
/freebsd-12-stable/contrib/wpa/wpa_supplicant/
Dctrl_iface_udp.c79 struct sockaddr_in6 *from, in wpa_supplicant_ctrl_iface_attach() argument
81 struct sockaddr_in *from, in wpa_supplicant_ctrl_iface_attach()
93 os_memcpy(&dst->addr, from, sizeof(*from)); in wpa_supplicant_ctrl_iface_attach()
100 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)), in wpa_supplicant_ctrl_iface_attach()
101 ntohs(from->sin6_port)); in wpa_supplicant_ctrl_iface_attach()
104 inet_ntoa(from->sin_addr), ntohs(from->sin_port)); in wpa_supplicant_ctrl_iface_attach()
112 struct sockaddr_in6 *from, argument
114 struct sockaddr_in *from,
126 if (from->sin6_port == dst->addr.sin6_port &&
127 !os_memcmp(&from->sin6_addr, &dst->addr.sin6_addr,
[all …]
/freebsd-12-stable/contrib/openbsm/compat/
Dendian.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 …]
/freebsd-12-stable/bin/mv/
Dmv.c176 do_move(const char *from, const char *to) in do_move() argument
190 if (lstat(from, &sb) == -1) { in do_move()
191 warn("%s", from); in do_move()
227 if (!rename(from, to)) { in do_move()
229 printf("%s -> %s\n", from, to); in do_move()
241 if (lstat(from, &sb) == -1) { in do_move()
242 warn("%s", from); in do_move()
247 if (realpath(from, path) == NULL) { in do_move()
248 warn("cannot resolve %s: %s", from, path); in do_move()
258 warn("rename %s to %s", from, to); in do_move()
[all …]
/freebsd-12-stable/usr.bin/diff3/
Ddiff3.c96 int from; member
208 (*dd)[i].old.from = a; in readin()
210 (*dd)[i].new.from = c; in readin()
214 (*dd)[i].old.from = (*dd)[i-1].old.to; in readin()
215 (*dd)[i].new.from = (*dd)[i-1].new.to; in readin()
308 if (!t2 || (t1 && d1->new.to < d2->new.from)) { in merge()
320 if (!t1 || (t2 && d2->new.to < d1->new.from)) { in merge()
334 if (d1 + 1 < d13 + m1 && d1->new.to >= d1[1].new.from) { in merge()
335 d1[1].old.from = d1->old.from; in merge()
336 d1[1].new.from = d1->new.from; in merge()
[all …]

12345678910>>...176