Searched refs:manip (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/net/netfilter/ |
D | nf_nat_bpf.c | 35 enum nf_nat_manip_type manip) in bpf_ct_set_nat_info() argument 54 return nf_nat_setup_info(ct, &range, manip) == NF_DROP ? -ENOMEM : 0; in bpf_ct_set_nat_info()
|
D | nf_nat_core.c | 733 __nf_nat_alloc_null_binding(struct nf_conn *ct, enum nf_nat_manip_type manip) in __nf_nat_alloc_null_binding() argument 740 (manip == NF_NAT_MANIP_SRC ? in __nf_nat_alloc_null_binding() 748 return nf_nat_setup_info(ct, &range, manip); in __nf_nat_alloc_null_binding() 1038 enum nf_nat_manip_type manip, in nfnetlink_parse_nat_setup() argument 1047 if (WARN_ON_ONCE(nf_nat_initialized(ct, manip))) in nfnetlink_parse_nat_setup() 1052 return __nf_nat_alloc_null_binding(ct, manip) == NF_DROP ? -ENOMEM : 0; in nfnetlink_parse_nat_setup() 1058 return nf_nat_setup_info(ct, &range, manip) == NF_DROP ? -ENOMEM : 0; in nfnetlink_parse_nat_setup() 1063 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() 847 enum nf_nat_manip_type manip = HOOK2MANIP(hooknum); in nf_nat_icmpv6_reply_translation() local 866 if (manip == NF_NAT_MANIP_SRC) in nf_nat_icmpv6_reply_translation() 879 &ct->tuplehash[!dir].tuple, !manip)) in nf_nat_icmpv6_reply_translation() 896 if (!nf_nat_ipv6_manip_pkt(skb, 0, &target, manip)) in nf_nat_icmpv6_reply_translation()
|
D | nf_conntrack_netlink.c | 1846 enum nf_nat_manip_type manip, in ctnetlink_parse_nat_setup() argument 1872 err = nat_hook->parse_nat_setup(ct, manip, attr); in ctnetlink_parse_nat_setup()
|
/linux-6.6.21/include/net/netfilter/ |
D | nf_nat.h | 112 enum nf_nat_manip_type manip) in nf_nat_initialized() argument 114 if (manip == NF_NAT_MANIP_SRC) in nf_nat_initialized()
|
/linux-6.6.21/include/linux/ |
D | netfilter.h | 373 int (*parse_nat_setup)(struct nf_conn *ct, enum nf_nat_manip_type manip,
|