Searched refs:manip (Results 1 – 5 of 5) sorted by relevance
/linux/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) in bpf_ct_set_nat_info() argument 52 return nf_nat_setup_info(ct, &range, manip) == NF_DROP ? -ENOMEM : 0; in bpf_ct_set_nat_info()
|
H A D | nf_nat_proto.c | 255 /* we only have destination manip of a packet, since 'source key' in gre_manip_pkt() 526 enum nf_nat_manip_type manip = HOOK2MANIP(hooknum); in nf_nat_icmp_reply_translation() local 546 if (manip == NF_NAT_MANIP_SRC) in nf_nat_icmp_reply_translation() 559 &ct->tuplehash[!dir].tuple, !manip)) in nf_nat_icmp_reply_translation() 574 if (!nf_nat_ipv4_manip_pkt(skb, 0, &target, manip)) in nf_nat_icmp_reply_translation() 841 enum nf_nat_manip_type manip = HOOK2MANIP(hooknum); in nf_nat_icmpv6_reply_translation() local 860 if (manip == NF_NAT_MANIP_SRC) in nf_nat_icmpv6_reply_translation() 873 &ct->tuplehash[!dir].tuple, !manip)) in nf_nat_icmpv6_reply_translation() 890 if (!nf_nat_ipv6_manip_pkt(skb, 0, &target, manip)) in nf_nat_icmpv6_reply_translation()
|
H A D | nf_conntrack_netlink.c | 1876 enum nf_nat_manip_type manip, in ctnetlink_parse_nat_setup() argument 1902 err = nat_hook->parse_nat_setup(ct, manip, attr); in ctnetlink_parse_nat_setup()
|
/linux/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) in nf_nat_initialized() argument 114 if (manip == NF_NAT_MANIP_SRC) in nf_nat_initialized()
|
/linux/include/linux/ |
H A D | netfilter.h | 385 int (*parse_nat_setup)(struct nf_conn *ct, enum nf_nat_manip_type manip,
|