Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dnf_nat_proto_udp.c26 enum nf_nat_manip_type maniptype, in udp_unique_tuple() argument
29 nf_nat_l4proto_unique_tuple(l3proto, tuple, range, maniptype, ct, in udp_unique_tuple()
38 enum nf_nat_manip_type maniptype, bool do_csum) in __udp_manip_pkt() argument
42 if (maniptype == NF_NAT_MANIP_SRC) { in __udp_manip_pkt()
53 tuple, maniptype); in __udp_manip_pkt()
66 enum nf_nat_manip_type maniptype) in udp_manip_pkt() argument
77 __udp_manip_pkt(skb, l3proto, iphdroff, hdr, tuple, maniptype, do_csum); in udp_manip_pkt()
88 enum nf_nat_manip_type maniptype) in udplite_manip_pkt() argument
96 __udp_manip_pkt(skb, l3proto, iphdroff, hdr, tuple, maniptype, true); in udplite_manip_pkt()
104 enum nf_nat_manip_type maniptype, in udplite_unique_tuple() argument
[all …]
Dnf_nat_proto_dccp.c27 enum nf_nat_manip_type maniptype, in dccp_unique_tuple() argument
30 nf_nat_l4proto_unique_tuple(l3proto, tuple, range, maniptype, ct, in dccp_unique_tuple()
39 enum nf_nat_manip_type maniptype) in dccp_manip_pkt() argument
53 if (maniptype == NF_NAT_MANIP_SRC) { in dccp_manip_pkt()
68 tuple, maniptype); in dccp_manip_pkt()
Dnf_nat_proto_tcp.c27 enum nf_nat_manip_type maniptype, in tcp_unique_tuple() argument
30 nf_nat_l4proto_unique_tuple(l3proto, tuple, range, maniptype, ct, in tcp_unique_tuple()
39 enum nf_nat_manip_type maniptype) in tcp_manip_pkt() argument
56 if (maniptype == NF_NAT_MANIP_SRC) { in tcp_manip_pkt()
72 l3proto->csum_update(skb, iphdroff, &hdr->check, tuple, maniptype); in tcp_manip_pkt()
Dnf_nat_proto_common.c21 enum nf_nat_manip_type maniptype, in nf_nat_l4proto_in_range() argument
27 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_in_range()
40 enum nf_nat_manip_type maniptype, in nf_nat_l4proto_unique_tuple() argument
48 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_l4proto_unique_tuple()
56 if (maniptype == NF_NAT_MANIP_DST) in nf_nat_l4proto_unique_tuple()
81 off = l3proto->secure_port(tuple, maniptype == NF_NAT_MANIP_SRC in nf_nat_l4proto_unique_tuple()
Dnf_nat_proto_sctp.c21 enum nf_nat_manip_type maniptype, in sctp_unique_tuple() argument
24 nf_nat_l4proto_unique_tuple(l3proto, tuple, range, maniptype, ct, in sctp_unique_tuple()
33 enum nf_nat_manip_type maniptype) in sctp_manip_pkt() argument
50 if (maniptype == NF_NAT_MANIP_SRC) { in sctp_manip_pkt()
Dnf_nat_core.c250 enum nf_nat_manip_type maniptype) in find_best_ips_proto() argument
262 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
324 enum nf_nat_manip_type maniptype) in get_unique_tuple() argument
346 if (maniptype == NF_NAT_MANIP_SRC && in get_unique_tuple()
364 find_best_ips_proto(zone, tuple, range, ct, maniptype); in get_unique_tuple()
374 l4proto->in_range(tuple, maniptype, in get_unique_tuple()
386 l4proto->unique_tuple(l3proto, tuple, range, maniptype, ct); in get_unique_tuple()
407 enum nf_nat_manip_type maniptype) in nf_nat_setup_info() argument
416 WARN_ON(maniptype != NF_NAT_MANIP_SRC && in nf_nat_setup_info()
417 maniptype != NF_NAT_MANIP_DST); in nf_nat_setup_info()
[all …]
Dnf_nat_proto_unknown.c31 enum nf_nat_manip_type maniptype, in unknown_unique_tuple() argument
45 enum nf_nat_manip_type maniptype) in unknown_manip_pkt() argument
/Linux-v4.19/include/net/netfilter/
Dnf_nat_l4proto.h22 enum nf_nat_manip_type maniptype);
26 enum nf_nat_manip_type maniptype,
38 enum nf_nat_manip_type maniptype,
69 enum nf_nat_manip_type maniptype,
76 enum nf_nat_manip_type maniptype,
Dnf_nat_l3proto.h18 enum nf_nat_manip_type maniptype);
23 enum nf_nat_manip_type maniptype);
Dnf_nat.h43 enum nf_nat_manip_type maniptype);
/Linux-v4.19/net/ipv6/netfilter/
Dnf_nat_proto_icmpv6.c24 enum nf_nat_manip_type maniptype, in icmpv6_in_range() argument
36 enum nf_nat_manip_type maniptype, in icmpv6_unique_tuple() argument
62 enum nf_nat_manip_type maniptype) in icmpv6_manip_pkt() argument
71 tuple, maniptype); in icmpv6_manip_pkt()
Dnf_nat_l3proto_ipv6.c81 enum nf_nat_manip_type maniptype) in nf_nat_ipv6_manip_pkt() argument
100 target, maniptype)) in nf_nat_ipv6_manip_pkt()
107 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_ipv6_manip_pkt()
118 enum nf_nat_manip_type maniptype) in nf_nat_ipv6_csum_update() argument
123 if (maniptype == NF_NAT_MANIP_SRC) { in nf_nat_ipv6_csum_update()
/Linux-v4.19/net/ipv4/netfilter/
Dnf_nat_proto_gre.c45 enum nf_nat_manip_type maniptype, in gre_unique_tuple() argument
57 if (maniptype == NF_NAT_MANIP_SRC) in gre_unique_tuple()
89 enum nf_nat_manip_type maniptype) in gre_manip_pkt() argument
104 if (maniptype != NF_NAT_MANIP_DST) in gre_manip_pkt()
Dnf_nat_proto_icmp.c22 enum nf_nat_manip_type maniptype, in icmp_in_range() argument
34 enum nf_nat_manip_type maniptype, in icmp_unique_tuple() argument
61 enum nf_nat_manip_type maniptype) in icmp_manip_pkt() argument
Dnf_nat_l3proto_ipv4.c82 enum nf_nat_manip_type maniptype) in nf_nat_ipv4_manip_pkt() argument
94 target, maniptype)) in nf_nat_ipv4_manip_pkt()
98 if (maniptype == NF_NAT_MANIP_SRC) { in nf_nat_ipv4_manip_pkt()
111 enum nf_nat_manip_type maniptype) in nf_nat_ipv4_csum_update() argument
116 if (maniptype == NF_NAT_MANIP_SRC) { in nf_nat_ipv4_csum_update()
/Linux-v4.19/net/openvswitch/
Dconntrack.c732 enum nf_nat_manip_type maniptype) in ovs_ct_nat_execute() argument
740 if (maniptype == NF_NAT_MANIP_SRC) in ovs_ct_nat_execute()
778 if (!nf_nat_initialized(ct, maniptype)) { in ovs_ct_nat_execute()
784 ? nf_nat_setup_info(ct, range, maniptype) in ovs_ct_nat_execute()
810 enum nf_nat_manip_type maniptype) in ovs_nat_update_key() argument
812 if (maniptype == NF_NAT_MANIP_SRC) { in ovs_nat_update_key()
865 enum nf_nat_manip_type maniptype; in ovs_ct_nat() local
886 maniptype = ct->status & IPS_SRC_NAT in ovs_ct_nat()
889 maniptype = ct->status & IPS_SRC_NAT in ovs_ct_nat()
892 maniptype = NF_NAT_MANIP_SRC; in ovs_ct_nat()
[all …]