Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/netfilter/
Dnf_nat_l4proto.h21 enum nf_nat_manip_type maniptype);
25 enum nf_nat_manip_type maniptype,
37 enum nf_nat_manip_type maniptype,
59 enum nf_nat_manip_type maniptype,
66 enum nf_nat_manip_type maniptype,
Dnf_nat_l3proto.h17 enum nf_nat_manip_type maniptype);
22 enum nf_nat_manip_type maniptype);
Dnf_nat.h44 enum nf_nat_manip_type maniptype);
/linux-4.4.14/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()
78 off = l3proto->secure_port(tuple, maniptype == NF_NAT_MANIP_SRC in nf_nat_l4proto_unique_tuple()
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_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_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_core.c226 enum nf_nat_manip_type maniptype) in find_best_ips_proto() argument
238 if (maniptype == NF_NAT_MANIP_SRC) in find_best_ips_proto()
300 enum nf_nat_manip_type maniptype) in get_unique_tuple() argument
322 if (maniptype == NF_NAT_MANIP_SRC && in get_unique_tuple()
340 find_best_ips_proto(zone, tuple, range, ct, maniptype); in get_unique_tuple()
349 if (l4proto->in_range(tuple, maniptype, in get_unique_tuple()
361 l4proto->unique_tuple(l3proto, tuple, range, maniptype, ct); in get_unique_tuple()
382 enum nf_nat_manip_type maniptype) in nf_nat_setup_info() argument
393 NF_CT_ASSERT(maniptype == NF_NAT_MANIP_SRC || in nf_nat_setup_info()
394 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-4.4.14/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()
103 if (maniptype == NF_NAT_MANIP_SRC) in nf_nat_ipv6_manip_pkt()
114 enum nf_nat_manip_type maniptype) in nf_nat_ipv6_csum_update() argument
119 if (maniptype == NF_NAT_MANIP_SRC) { in nf_nat_ipv6_csum_update()
275 enum nf_nat_manip_type maniptype = HOOK2MANIP(state->hook); in nf_nat_ipv6_fn() local
317 if (!nf_nat_initialized(ct, maniptype)) { in nf_nat_ipv6_fn()
332 maniptype == NF_NAT_MANIP_SRC ? "SRC" : "DST", in nf_nat_ipv6_fn()
/linux-4.4.14/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()
269 enum nf_nat_manip_type maniptype = HOOK2MANIP(state->hook); in nf_nat_ipv4_fn() local
308 if (!nf_nat_initialized(ct, maniptype)) { in nf_nat_ipv4_fn()
323 maniptype == NF_NAT_MANIP_SRC ? "SRC" : "DST", in nf_nat_ipv4_fn()