Home
last modified time | relevance | path

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

/linux-5.19.10/include/net/netfilter/
Dnf_nat.h108 enum nf_nat_manip_type manip) in nf_nat_initialized() argument
110 if (manip == NF_NAT_MANIP_SRC) in nf_nat_initialized()
/linux-5.19.10/net/netfilter/
Dnf_nat_core.c649 __nf_nat_alloc_null_binding(struct nf_conn *ct, enum nf_nat_manip_type manip) in __nf_nat_alloc_null_binding() argument
656 (manip == NF_NAT_MANIP_SRC ? in __nf_nat_alloc_null_binding()
664 return nf_nat_setup_info(ct, &range, manip); in __nf_nat_alloc_null_binding()
954 enum nf_nat_manip_type manip, in nfnetlink_parse_nat_setup() argument
963 if (WARN_ON_ONCE(nf_nat_initialized(ct, manip))) in nfnetlink_parse_nat_setup()
968 return __nf_nat_alloc_null_binding(ct, manip) == NF_DROP ? -ENOMEM : 0; in nfnetlink_parse_nat_setup()
974 return nf_nat_setup_info(ct, &range, manip) == NF_DROP ? -ENOMEM : 0; in nfnetlink_parse_nat_setup()
979 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()
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()
Dnf_conntrack_netlink.c1848 enum nf_nat_manip_type manip, in ctnetlink_parse_nat_setup() argument
1874 err = nat_hook->parse_nat_setup(ct, manip, attr); in ctnetlink_parse_nat_setup()
/linux-5.19.10/include/linux/
Dnetfilter.h376 int (*parse_nat_setup)(struct nf_conn *ct, enum nf_nat_manip_type manip,