Home
last modified time | relevance | path

Searched refs:snat (Results 1 – 9 of 9) sorted by relevance

/external/libnetfilter_conntrack/src/conntrack/
Dobjopt.c57 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()
Dcopy.c290 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()
Dsetter.c240 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()
Dbuild_mnl.c291 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()
Dgetter.c209 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()
Dbuild.c303 __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/
Dobject.h178 struct __nfct_nat snat; member
/external/syzkaller/sys/linux/
Dnetfilter_bridge.txt377 snat ebt_entry_target["snat", ebt_nat_info]
/external/libnl/lib/netfilter/
Dct_obj.c512 __ADD(IPS_SRC_NAT, snat)