Home
last modified time | relevance | path

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

/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
79 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, do_csum); in udp_manip_pkt()
86 enum nf_nat_manip_type maniptype) in udplite_manip_pkt() argument
95 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, true); in udplite_manip_pkt()
104 enum nf_nat_manip_type maniptype) in sctp_manip_pkt() argument
122 if (maniptype == NF_NAT_MANIP_SRC) { in sctp_manip_pkt()
[all …]
Dnf_nat_core.c233 enum nf_nat_manip_type maniptype, in l4proto_in_range() argument
250 if (maniptype == NF_NAT_MANIP_SRC) in l4proto_in_range()
332 enum nf_nat_manip_type maniptype) in find_best_ips_proto() argument
344 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
402 enum nf_nat_manip_type maniptype, in nf_nat_l4proto_unique_tuple() argument
431 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
450 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
463 if (maniptype == NF_NAT_MANIP_DST) in nf_nat_l4proto_unique_tuple()
528 enum nf_nat_manip_type maniptype) in get_unique_tuple() argument
543 if (maniptype == NF_NAT_MANIP_SRC && in get_unique_tuple()
[all …]
/net/sched/
Dact_ct.c223 enum nf_nat_manip_type maniptype) in ct_nat_execute() argument
228 if (maniptype == NF_NAT_MANIP_SRC) in ct_nat_execute()
265 if (!nf_nat_initialized(ct, maniptype)) { in ct_nat_execute()
271 ? nf_nat_setup_info(ct, range, maniptype) in ct_nat_execute()
333 enum nf_nat_manip_type maniptype; in tcf_ct_act_nat() local
350 maniptype = ct->status & IPS_SRC_NAT in tcf_ct_act_nat()
353 maniptype = ct->status & IPS_SRC_NAT in tcf_ct_act_nat()
356 maniptype = NF_NAT_MANIP_SRC; in tcf_ct_act_nat()
358 maniptype = NF_NAT_MANIP_DST; in tcf_ct_act_nat()
363 err = ct_nat_execute(skb, ct, ctinfo, range, maniptype); in tcf_ct_act_nat()
[all …]
/net/openvswitch/
Dconntrack.c738 enum nf_nat_manip_type maniptype) in ovs_ct_nat_execute() argument
746 if (maniptype == NF_NAT_MANIP_SRC) in ovs_ct_nat_execute()
784 if (!nf_nat_initialized(ct, maniptype)) { in ovs_ct_nat_execute()
790 ? nf_nat_setup_info(ct, range, maniptype) in ovs_ct_nat_execute()
816 enum nf_nat_manip_type maniptype) in ovs_nat_update_key() argument
818 if (maniptype == NF_NAT_MANIP_SRC) { in ovs_nat_update_key()
871 enum nf_nat_manip_type maniptype; in ovs_ct_nat() local
892 maniptype = ct->status & IPS_SRC_NAT in ovs_ct_nat()
895 maniptype = ct->status & IPS_SRC_NAT in ovs_ct_nat()
898 maniptype = NF_NAT_MANIP_SRC; in ovs_ct_nat()
[all …]