Searched refs:manip (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/include/net/netfilter/ |
D | nf_nat.h | 110 enum nf_nat_manip_type manip) in nf_nat_initialized() argument 112 if (manip == NF_NAT_MANIP_SRC) in nf_nat_initialized()
|
/Linux-v5.10/net/netfilter/ |
D | nf_nat_core.c | 669 __nf_nat_alloc_null_binding(struct nf_conn *ct, enum nf_nat_manip_type manip) in __nf_nat_alloc_null_binding() argument 676 (manip == NF_NAT_MANIP_SRC ? in __nf_nat_alloc_null_binding() 684 return nf_nat_setup_info(ct, &range, manip); in __nf_nat_alloc_null_binding() 978 enum nf_nat_manip_type manip, in nfnetlink_parse_nat_setup() argument 987 if (WARN_ON_ONCE(nf_nat_initialized(ct, manip))) in nfnetlink_parse_nat_setup() 992 return __nf_nat_alloc_null_binding(ct, manip) == NF_DROP ? -ENOMEM : 0; in nfnetlink_parse_nat_setup() 998 return nf_nat_setup_info(ct, &range, manip) == NF_DROP ? -ENOMEM : 0; in nfnetlink_parse_nat_setup() 1003 enum nf_nat_manip_type manip, in nfnetlink_parse_nat_setup() argument
|
D | nf_nat_proto.c | 569 enum nf_nat_manip_type manip = HOOK2MANIP(hooknum); in nf_nat_icmp_reply_translation() local 589 if (manip == NF_NAT_MANIP_SRC) in nf_nat_icmp_reply_translation() 602 &ct->tuplehash[!dir].tuple, !manip)) in nf_nat_icmp_reply_translation() 617 if (!nf_nat_ipv4_manip_pkt(skb, 0, &target, manip)) in nf_nat_icmp_reply_translation() 792 enum nf_nat_manip_type manip = HOOK2MANIP(hooknum); in nf_nat_icmpv6_reply_translation() local 811 if (manip == NF_NAT_MANIP_SRC) in nf_nat_icmpv6_reply_translation() 824 &ct->tuplehash[!dir].tuple, !manip)) in nf_nat_icmpv6_reply_translation() 841 if (!nf_nat_ipv6_manip_pkt(skb, 0, &target, manip)) in nf_nat_icmpv6_reply_translation()
|
D | nf_conntrack_netlink.c | 1790 enum nf_nat_manip_type manip, in ctnetlink_parse_nat_setup() argument 1816 err = nat_hook->parse_nat_setup(ct, manip, attr); in ctnetlink_parse_nat_setup()
|
/Linux-v5.10/include/linux/ |
D | netfilter.h | 370 int (*parse_nat_setup)(struct nf_conn *ct, enum nf_nat_manip_type manip,
|