Searched refs:snat (Results 1 – 13 of 13) sorted by relevance
/external/iptables/extensions/ |
D | libebt_snat.t | 3 -o someport -j snat --to-source a:b:c:d:e:f;-o someport -j snat --to-src 0a:0b:0c:0d:0e:0f --snat-t… 4 -o someport+ -j snat --to-src de:ad:00:be:ee:ff --snat-target CONTINUE;=;OK
|
D | libipt_SNAT.txlate | 2 nft add rule ip nat postrouting oifname "eth0" counter snat to 1.2.3.4 5 nft add rule ip nat postrouting oifname "eth0" counter snat to 1.2.3.4-1.2.3.6 8 nft add rule ip nat postrouting oifname "eth0" ip protocol tcp counter snat to 1.2.3.4:1-1023 11 nft add rule ip nat postrouting oifname "eth0" counter snat to 1.2.3.4 random 14 nft add rule ip nat postrouting oifname "eth0" counter snat to 1.2.3.4 random,persistent
|
D | libip6t_SNAT.txlate | 2 nft add rule ip6 nat postrouting oifname "eth0" meta l4proto tcp counter snat to [fec0::1234]:80 5 nft add rule ip6 nat postrouting oifname "eth0" meta l4proto tcp counter snat to [fec0::1234]:1-20 8 nft add rule ip6 nat postrouting oifname "eth0" meta l4proto tcp counter snat to [fec0::1234]:123 r… 11 nft add rule ip6 nat postrouting oifname "eth0" meta l4proto tcp counter snat to [fec0::1234]:123 f…
|
D | libebt_snat.txlate | 4 ebtables-translate -t nat -A POSTROUTING -o someport --to-src de:ad:00:be:ee:ff --snat-target CONTI…
|
D | libxt_conntrack.txlate | 47 nft add rule ip filter INPUT ct status snat counter accept
|
/external/libnetfilter_conntrack/src/conntrack/ |
D | objopt.c | 57 ct->snat.min_ip.v4 = ct->repl.dst.v4; in setobjopt_undo_snat() 58 ct->snat.max_ip.v4 = ct->snat.min_ip.v4; in setobjopt_undo_snat() 63 memcpy(&ct->snat.min_ip.v6, &ct->repl.dst.v6, in setobjopt_undo_snat() 65 memcpy(&ct->snat.max_ip.v6, &ct->snat.min_ip.v6, in setobjopt_undo_snat() 100 ct->snat.l4min.all = ct->repl.l4dst.tcp.port; in setobjopt_undo_spat() 101 ct->snat.l4max.all = ct->snat.l4min.all; in setobjopt_undo_spat()
|
D | setter.c | 240 ct->snat.min_ip.v4 = ct->snat.max_ip.v4 = *((uint32_t *) value); in set_attr_snat_ipv4() 252 memcpy(&ct->snat.min_ip.v6, value, sizeof(struct in6_addr)); in set_attr_snat_ipv6() 253 memcpy(&ct->snat.max_ip.v6, value, sizeof(struct in6_addr)); in set_attr_snat_ipv6() 266 ct->snat.l4min.all = ct->snat.l4max.all = *((uint16_t *) value); in set_attr_snat_port()
|
D | copy.c | 290 dest->snat.min_ip.v4 = orig->snat.min_ip.v4; in copy_attr_snat_ipv4() 302 memcpy(&dest->snat.min_ip.v6, &orig->snat.min_ip.v6, in copy_attr_snat_ipv6() 316 dest->snat.l4min.all = orig->snat.l4min.all; in copy_attr_snat_port()
|
D | getter.c | 209 return &ct->snat.min_ip.v4; in get_attr_snat_ipv4() 219 return &ct->snat.min_ip.v6; in get_attr_snat_ipv6() 229 return &ct->snat.l4min.all; in get_attr_snat_port()
|
D | build_mnl.c | 291 nfct_build_nat(nlh, &ct->snat, l3protonum); in nfct_build_snat() 292 nfct_build_protonat(nlh, ct, &ct->snat); in nfct_build_snat() 303 nfct_build_nat(nlh, &ct->snat, AF_INET); in nfct_build_snat_ipv4() 314 nfct_build_nat(nlh, &ct->snat, AF_INET6); in nfct_build_snat_ipv6() 325 nfct_build_protonat(nlh, ct, &ct->snat); in nfct_build_snat_port()
|
D | build.c | 303 __build_nat(req, size, &ct->snat, l3protonum); in __build_snat() 304 __build_protonat(req, size, ct, &ct->snat); in __build_snat() 315 __build_nat(req, size, &ct->snat, AF_INET); in __build_snat_ipv4() 326 __build_nat(req, size, &ct->snat, AF_INET6); in __build_snat_ipv6() 337 __build_protonat(req, size, ct, &ct->snat); in __build_snat_port()
|
/external/libnetfilter_conntrack/include/internal/ |
D | object.h | 178 struct __nfct_nat snat; member
|
/external/libnl/lib/netfilter/ |
D | ct_obj.c | 513 __ADD(IPS_SRC_NAT, snat),
|