Home
last modified time | relevance | path

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

/linux-6.6.21/net/netfilter/
Dnf_nat_bpf.c35 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()
Dnf_nat_core.c733 __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
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.c1846 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/
Dnf_nat.h112 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/
Dnetfilter.h373 int (*parse_nat_setup)(struct nf_conn *ct, enum nf_nat_manip_type manip,