Home
last modified time | relevance | path

Searched refs:manip (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/include/net/netfilter/
Dnf_nat.h110 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/
Dnf_nat_core.c669 __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
Dnf_nat_proto.c569 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()
Dnf_conntrack_netlink.c1790 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/
Dnetfilter.h370 int (*parse_nat_setup)(struct nf_conn *ct, enum nf_nat_manip_type manip,