Home
last modified time | relevance | path

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

/linux-6.6.21/net/netfilter/
Dnf_nat_ovs.c13 enum nf_nat_manip_type maniptype) in nf_ct_nat_execute() argument
19 if (maniptype == NF_NAT_MANIP_SRC) in nf_ct_nat_execute()
55 if (!nf_nat_initialized(ct, maniptype)) { in nf_ct_nat_execute()
61 ? nf_nat_setup_info(ct, range, maniptype) in nf_ct_nat_execute()
80 *action |= BIT(maniptype); in nf_ct_nat_execute()
89 enum nf_nat_manip_type maniptype; in nf_ct_nat() local
106 maniptype = ct->status & IPS_SRC_NAT in nf_ct_nat()
109 maniptype = ct->status & IPS_SRC_NAT in nf_ct_nat()
112 maniptype = NF_NAT_MANIP_SRC; in nf_ct_nat()
114 maniptype = NF_NAT_MANIP_DST; in nf_ct_nat()
[all …]
Dnf_nat_proto.c36 enum nf_nat_manip_type maniptype);
42 enum nf_nat_manip_type maniptype, bool do_csum) in __udp_manip_pkt() argument
46 if (maniptype == NF_NAT_MANIP_SRC) { in __udp_manip_pkt()
56 nf_csum_update(skb, iphdroff, &hdr->check, tuple, maniptype); in __udp_manip_pkt()
68 enum nf_nat_manip_type maniptype) in udp_manip_pkt() argument
76 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, !!hdr->check); in udp_manip_pkt()
84 enum nf_nat_manip_type maniptype) in udplite_manip_pkt() argument
93 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, true); in udplite_manip_pkt()
102 enum nf_nat_manip_type maniptype) in sctp_manip_pkt() argument
120 if (maniptype == NF_NAT_MANIP_SRC) { in sctp_manip_pkt()
[all …]
Dnf_nat_core.c298 enum nf_nat_manip_type maniptype, in l4proto_in_range() argument
315 if (maniptype == NF_NAT_MANIP_SRC) in l4proto_in_range()
397 enum nf_nat_manip_type maniptype) in find_best_ips_proto() argument
409 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
467 enum nf_nat_manip_type maniptype, in nf_nat_l4proto_unique_tuple() argument
495 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
514 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
527 if (maniptype == NF_NAT_MANIP_DST) in nf_nat_l4proto_unique_tuple()
592 enum nf_nat_manip_type maniptype) in get_unique_tuple() argument
607 if (maniptype == NF_NAT_MANIP_SRC && in get_unique_tuple()
[all …]
/linux-6.6.21/include/net/netfilter/
Dnf_nat.h41 enum nf_nat_manip_type maniptype);
/linux-6.6.21/net/openvswitch/
Dconntrack.c612 enum nf_nat_manip_type maniptype) in ovs_nat_update_key() argument
614 if (maniptype == NF_NAT_MANIP_SRC) { in ovs_nat_update_key()