Searched refs:manip (Results 1 - 6 of 6) sorted by relevance
/linux-master/net/netfilter/ |
H A D | nf_nat_bpf.c | 29 * @manip - NF_NAT_MANIP_SRC or NF_NAT_MANIP_DST 33 enum nf_nat_manip_type manip) 52 return nf_nat_setup_info(ct, &range, manip) == NF_DROP ? -ENOMEM : 0; 31 bpf_ct_set_nat_info(struct nf_conn___init *nfct, union nf_inet_addr *addr, int port, enum nf_nat_manip_type manip) argument
|
H A D | nf_nat_proto.c | 295 /* we only have destination manip of a packet, since 'source key' 569 enum nf_nat_manip_type manip = HOOK2MANIP(hooknum); local 589 if (manip == NF_NAT_MANIP_SRC) 602 &ct->tuplehash[!dir].tuple, !manip)) 617 if (!nf_nat_ipv4_manip_pkt(skb, 0, &target, manip)) 884 enum nf_nat_manip_type manip = HOOK2MANIP(hooknum); local 903 if (manip == NF_NAT_MANIP_SRC) 916 &ct->tuplehash[!dir].tuple, !manip)) 933 if (!nf_nat_ipv6_manip_pkt(skb, 0, &target, manip))
|
H A D | nf_nat_core.c | 359 /* Only called for SRC manip */ 630 /* 3) The per-protocol part of the manip is made to map into 736 __nf_nat_alloc_null_binding(struct nf_conn *ct, enum nf_nat_manip_type manip) argument 743 (manip == NF_NAT_MANIP_SRC ? 751 return nf_nat_setup_info(ct, &range, manip); 850 pr_debug("Already setup manip %s for ct %p (status bits 0x%lx)\n", 1041 enum nf_nat_manip_type manip, 1050 if (WARN_ON_ONCE(nf_nat_initialized(ct, manip))) 1055 return __nf_nat_alloc_null_binding(ct, manip) == NF_DROP ? -ENOMEM : 0; 1061 return nf_nat_setup_info(ct, &range, manip) 1040 nfnetlink_parse_nat_setup(struct nf_conn *ct, enum nf_nat_manip_type manip, const struct nlattr *attr) argument 1065 nfnetlink_parse_nat_setup(struct nf_conn *ct, enum nf_nat_manip_type manip, const struct nlattr *attr) argument [all...] |
H A D | nf_conntrack_netlink.c | 1855 enum nf_nat_manip_type manip, 1881 err = nat_hook->parse_nat_setup(ct, manip, attr);
|
/linux-master/include/net/netfilter/ |
H A D | nf_nat.h | 18 /* SRC manip occurs POST_ROUTING or LOCAL_IN */ 112 enum nf_nat_manip_type manip) 114 if (manip == NF_NAT_MANIP_SRC) 111 nf_nat_initialized(const struct nf_conn *ct, enum nf_nat_manip_type manip) argument
|
/linux-master/include/linux/ |
H A D | netfilter.h | 382 int (*parse_nat_setup)(struct nf_conn *ct, enum nf_nat_manip_type manip,
|
Completed in 157 milliseconds