Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/
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.c213 enum nf_nat_manip_type maniptype, in l4proto_in_range() argument
230 if (maniptype == NF_NAT_MANIP_SRC) in l4proto_in_range()
312 enum nf_nat_manip_type maniptype) in find_best_ips_proto() argument
324 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
382 enum nf_nat_manip_type maniptype, in nf_nat_l4proto_unique_tuple() argument
411 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
430 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
443 if (maniptype == NF_NAT_MANIP_DST) in nf_nat_l4proto_unique_tuple()
508 enum nf_nat_manip_type maniptype) in get_unique_tuple() argument
523 if (maniptype == NF_NAT_MANIP_SRC && in get_unique_tuple()
[all …]
/linux-6.1.9/net/sched/
Dact_ct.c855 enum nf_nat_manip_type maniptype) in ct_nat_execute() argument
861 if (maniptype == NF_NAT_MANIP_SRC) in ct_nat_execute()
897 if (!nf_nat_initialized(ct, maniptype)) { in ct_nat_execute()
903 ? nf_nat_setup_info(ct, range, maniptype) in ct_nat_execute()
921 if (maniptype == NF_NAT_MANIP_SRC) in ct_nat_execute()
923 if (maniptype == NF_NAT_MANIP_DST) in ct_nat_execute()
971 enum nf_nat_manip_type maniptype; in tcf_ct_act_nat() local
988 maniptype = ct->status & IPS_SRC_NAT in tcf_ct_act_nat()
991 maniptype = ct->status & IPS_SRC_NAT in tcf_ct_act_nat()
994 maniptype = NF_NAT_MANIP_SRC; in tcf_ct_act_nat()
[all …]
/linux-6.1.9/net/openvswitch/
Dconntrack.c739 enum nf_nat_manip_type maniptype) in ovs_nat_update_key() argument
741 if (maniptype == NF_NAT_MANIP_SRC) { in ovs_nat_update_key()
795 enum nf_nat_manip_type maniptype, struct sw_flow_key *key) in ovs_ct_nat_execute() argument
803 if (maniptype == NF_NAT_MANIP_SRC) in ovs_ct_nat_execute()
841 if (!nf_nat_initialized(ct, maniptype)) { in ovs_ct_nat_execute()
847 ? nf_nat_setup_info(ct, range, maniptype) in ovs_ct_nat_execute()
869 ovs_nat_update_key(key, skb, maniptype); in ovs_ct_nat_execute()
880 enum nf_nat_manip_type maniptype; in ovs_ct_nat() local
901 maniptype = ct->status & IPS_SRC_NAT in ovs_ct_nat()
904 maniptype = ct->status & IPS_SRC_NAT in ovs_ct_nat()
[all …]
/linux-6.1.9/include/net/netfilter/
Dnf_nat.h41 enum nf_nat_manip_type maniptype);