Home
last modified time | relevance | path

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

/openbmc/linux/net/netfilter/
H A 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 …]
H A 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 …]
H A Dnf_nat_core.c414 enum nf_nat_manip_type maniptype, in l4proto_in_range() argument
431 if (maniptype == NF_NAT_MANIP_SRC) in l4proto_in_range()
513 enum nf_nat_manip_type maniptype) in find_best_ips_proto() argument
525 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
583 enum nf_nat_manip_type maniptype, in nf_nat_l4proto_unique_tuple() argument
611 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
630 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
643 if (maniptype == NF_NAT_MANIP_DST) in nf_nat_l4proto_unique_tuple()
708 enum nf_nat_manip_type maniptype) in get_unique_tuple() argument
723 if (maniptype == NF_NAT_MANIP_SRC && in get_unique_tuple()
[all …]
/openbmc/linux/include/net/netfilter/
H A Dnf_nat.h41 enum nf_nat_manip_type maniptype);
/openbmc/linux/net/openvswitch/
H A Dconntrack.c617 enum nf_nat_manip_type maniptype) in ovs_nat_update_key() argument
619 if (maniptype == NF_NAT_MANIP_SRC) { in ovs_nat_update_key()