Home
last modified time | relevance | path

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

/net/netfilter/
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_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) in udp_manip_pkt() argument
47 if (maniptype == NF_NAT_MANIP_SRC) { in udp_manip_pkt()
58 tuple, maniptype); in udp_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_udplite.c26 enum nf_nat_manip_type maniptype, in udplite_unique_tuple() argument
29 nf_nat_l4proto_unique_tuple(l3proto, tuple, range, maniptype, ct, in udplite_unique_tuple()
38 enum nf_nat_manip_type maniptype) in udplite_manip_pkt() argument
48 if (maniptype == NF_NAT_MANIP_SRC) { in udplite_manip_pkt()
58 l3proto->csum_update(skb, iphdroff, &hdr->check, tuple, maniptype); in udplite_manip_pkt()
Dnf_nat_proto_dccp.c29 enum nf_nat_manip_type maniptype, in dccp_unique_tuple() argument
32 nf_nat_l4proto_unique_tuple(l3proto, tuple, range, maniptype, ct, in dccp_unique_tuple()
41 enum nf_nat_manip_type maniptype) in dccp_manip_pkt() argument
55 if (maniptype == NF_NAT_MANIP_SRC) { in dccp_manip_pkt()
70 tuple, maniptype); in dccp_manip_pkt()
Dnf_nat_core.c230 enum nf_nat_manip_type maniptype) in find_best_ips_proto() argument
242 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
304 enum nf_nat_manip_type maniptype) in get_unique_tuple() argument
326 if (maniptype == NF_NAT_MANIP_SRC && in get_unique_tuple()
344 find_best_ips_proto(zone, tuple, range, ct, maniptype); in get_unique_tuple()
353 if (l4proto->in_range(tuple, maniptype, in get_unique_tuple()
365 l4proto->unique_tuple(l3proto, tuple, range, maniptype, ct); in get_unique_tuple()
386 enum nf_nat_manip_type maniptype) in nf_nat_setup_info() argument
397 NF_CT_ASSERT(maniptype == NF_NAT_MANIP_SRC || in nf_nat_setup_info()
398 maniptype == NF_NAT_MANIP_DST); in nf_nat_setup_info()
[all …]
Dnf_nat_proto_sctp.c23 enum nf_nat_manip_type maniptype, in sctp_unique_tuple() argument
26 nf_nat_l4proto_unique_tuple(l3proto, tuple, range, maniptype, ct, in sctp_unique_tuple()
35 enum nf_nat_manip_type maniptype) in sctp_manip_pkt() argument
44 if (maniptype == NF_NAT_MANIP_SRC) { in sctp_manip_pkt()
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
/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()
266 enum nf_nat_manip_type maniptype = HOOK2MANIP(state->hook); in nf_nat_ipv6_fn() local
308 if (!nf_nat_initialized(ct, maniptype)) { in nf_nat_ipv6_fn()
323 maniptype == NF_NAT_MANIP_SRC ? "SRC" : "DST", in nf_nat_ipv6_fn()
/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()
256 enum nf_nat_manip_type maniptype = HOOK2MANIP(state->hook); in nf_nat_ipv4_fn() local
290 if (!nf_nat_initialized(ct, maniptype)) { in nf_nat_ipv4_fn()
305 maniptype == NF_NAT_MANIP_SRC ? "SRC" : "DST", in nf_nat_ipv4_fn()
/net/openvswitch/
Dconntrack.c539 enum nf_nat_manip_type maniptype) in ovs_ct_nat_execute() argument
547 if (maniptype == NF_NAT_MANIP_SRC) in ovs_ct_nat_execute()
584 if (!nf_nat_initialized(ct, maniptype)) { in ovs_ct_nat_execute()
590 ? nf_nat_setup_info(ct, range, maniptype) in ovs_ct_nat_execute()
616 enum nf_nat_manip_type maniptype) in ovs_nat_update_key() argument
618 if (maniptype == NF_NAT_MANIP_SRC) { in ovs_nat_update_key()
671 enum nf_nat_manip_type maniptype; in ovs_ct_nat() local
697 maniptype = ct->status & IPS_SRC_NAT in ovs_ct_nat()
700 maniptype = ct->status & IPS_SRC_NAT in ovs_ct_nat()
703 maniptype = NF_NAT_MANIP_SRC; in ovs_ct_nat()
[all …]