Home
last modified time | relevance | path

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

/external/libnetfilter_conntrack/src/conntrack/
Dobjopt.c80 ct->dnat.min_ip.v4 = ct->repl.src.v4; in setobjopt_undo_dnat()
81 ct->dnat.max_ip.v4 = ct->dnat.min_ip.v4; in setobjopt_undo_dnat()
85 memcpy(&ct->dnat.min_ip.v6, &ct->repl.src.v6, in setobjopt_undo_dnat()
87 memcpy(&ct->dnat.max_ip.v6, &ct->dnat.min_ip.v6, in setobjopt_undo_dnat()
109 ct->dnat.l4min.all = ct->repl.l4src.tcp.port; in setobjopt_undo_dpat()
110 ct->dnat.l4max.all = ct->dnat.l4min.all; in setobjopt_undo_dpat()
Dcopy.c296 dest->dnat.min_ip.v4 = orig->dnat.min_ip.v4; in copy_attr_dnat_ipv4()
309 memcpy(&dest->dnat.min_ip.v6, &orig->dnat.min_ip.v6, in copy_attr_dnat_ipv6()
322 dest->dnat.l4min.all = orig->dnat.l4min.all; in copy_attr_dnat_port()
Dsetter.c246 ct->dnat.min_ip.v4 = ct->dnat.max_ip.v4 = *((uint32_t *) value); in set_attr_dnat_ipv4()
259 memcpy(&ct->dnat.min_ip.v6, value, sizeof(struct in6_addr)); in set_attr_dnat_ipv6()
260 memcpy(&ct->dnat.max_ip.v6, value, sizeof(struct in6_addr)); in set_attr_dnat_ipv6()
272 ct->dnat.l4min.all = ct->dnat.l4max.all = *((uint16_t *) value); in set_attr_dnat_port()
Dbuild_mnl.c337 nfct_build_nat(nlh, &ct->dnat, l3protonum); in nfct_build_dnat()
338 nfct_build_protonat(nlh, ct, &ct->dnat); in nfct_build_dnat()
349 nfct_build_nat(nlh, &ct->dnat, AF_INET); in nfct_build_dnat_ipv4()
360 nfct_build_nat(nlh, &ct->dnat, AF_INET6); in nfct_build_dnat_ipv6()
371 nfct_build_protonat(nlh, ct, &ct->dnat); in nfct_build_dnat_port()
Dgetter.c214 return &ct->dnat.min_ip.v4; in get_attr_dnat_ipv4()
224 return &ct->dnat.min_ip.v6; in get_attr_dnat_ipv6()
234 return &ct->dnat.l4min.all; in get_attr_dnat_port()
Dbuild.c349 __build_nat(req, size, &ct->dnat, l3protonum); in __build_dnat()
350 __build_protonat(req, size, ct, &ct->dnat); in __build_dnat()
361 __build_nat(req, size, &ct->dnat, AF_INET); in __build_dnat_ipv4()
372 __build_nat(req, size, &ct->dnat, AF_INET6); in __build_dnat_ipv6()
383 __build_protonat(req, size, ct, &ct->dnat); in __build_dnat_port()
/external/libnetfilter_conntrack/include/internal/
Dobject.h179 struct __nfct_nat dnat; member
/external/syzkaller/sys/linux/
Dnetfilter_bridge.txt351 dnat ebt_entry_target["dnat", ebt_nat_info]
/external/libnl/lib/netfilter/
Dct_obj.c513 __ADD(IPS_DST_NAT, dnat)