/linux-3.4.99/net/netfilter/ |
D | nf_conntrack_proto.c | 65 __nf_ct_l4proto_find(u_int16_t l3proto, u_int8_t l4proto) in __nf_ct_l4proto_find() argument 67 if (unlikely(l3proto >= AF_MAX || nf_ct_protos[l3proto] == NULL)) in __nf_ct_l4proto_find() 70 return rcu_dereference(nf_ct_protos[l3proto][l4proto]); in __nf_ct_l4proto_find() 77 nf_ct_l3proto_find_get(u_int16_t l3proto) in nf_ct_l3proto_find_get() argument 82 p = __nf_ct_l3proto_find(l3proto); in nf_ct_l3proto_find_get() 98 nf_ct_l3proto_try_module_get(unsigned short l3proto) in nf_ct_l3proto_try_module_get() argument 103 retry: p = nf_ct_l3proto_find_get(l3proto); in nf_ct_l3proto_try_module_get() 105 ret = request_module("nf_conntrack-%d", l3proto); in nf_ct_l3proto_try_module_get() 116 void nf_ct_l3proto_module_put(unsigned short l3proto) in nf_ct_l3proto_module_put() argument 124 p = __nf_ct_l3proto_find(l3proto); in nf_ct_l3proto_module_put() [all …]
|
D | nf_conntrack_standalone.c | 40 const struct nf_conntrack_l3proto *l3proto, in print_tuple() argument 43 return l3proto->print_tuple(s, tuple) || l4proto->print_tuple(s, tuple); in print_tuple() 176 const struct nf_conntrack_l3proto *l3proto; in ct_seq_show() local 188 l3proto = __nf_ct_l3proto_find(nf_ct_l3num(ct)); in ct_seq_show() 189 NF_CT_ASSERT(l3proto); in ct_seq_show() 195 l3proto->name, nf_ct_l3num(ct), in ct_seq_show() 205 l3proto, l4proto)) in ct_seq_show() 216 l3proto, l4proto)) in ct_seq_show()
|
D | xt_ipvs.c | 34 unsigned int l3proto) in ipvs_mt_addrcmp() argument 36 if (l3proto == NFPROTO_IPV4) in ipvs_mt_addrcmp() 39 else if (l3proto == NFPROTO_IPV6) in ipvs_mt_addrcmp()
|
D | nf_conntrack_core.c | 116 const struct nf_conntrack_l3proto *l3proto, in nf_ct_get_tuple() argument 122 if (l3proto->pkt_to_tuple(skb, nhoff, tuple) == 0) in nf_ct_get_tuple() 135 struct nf_conntrack_l3proto *l3proto; in nf_ct_get_tuplepr() local 143 l3proto = __nf_ct_l3proto_find(l3num); in nf_ct_get_tuplepr() 144 ret = l3proto->get_l4proto(skb, nhoff, &protoff, &protonum); in nf_ct_get_tuplepr() 153 l3proto, l4proto); in nf_ct_get_tuplepr() 163 const struct nf_conntrack_l3proto *l3proto, in nf_ct_invert_tuple() argument 169 if (l3proto->invert_tuple(inverse, orig) == 0) in nf_ct_invert_tuple() 775 struct nf_conntrack_l3proto *l3proto, in init_conntrack() argument 789 if (!nf_ct_invert_tuple(&repl_tuple, tuple, l3proto, l4proto)) { in init_conntrack() [all …]
|
D | nf_conntrack_netlink.c | 85 struct nf_conntrack_l3proto *l3proto) in ctnetlink_dump_tuples_ip() argument 94 if (likely(l3proto->tuple_to_nlattr)) in ctnetlink_dump_tuples_ip() 95 ret = l3proto->tuple_to_nlattr(skb, tuple); in ctnetlink_dump_tuples_ip() 110 struct nf_conntrack_l3proto *l3proto; in ctnetlink_dump_tuples() local 114 l3proto = __nf_ct_l3proto_find(tuple->src.l3num); in ctnetlink_dump_tuples() 115 ret = ctnetlink_dump_tuples_ip(skb, tuple, l3proto); in ctnetlink_dump_tuples() 474 struct nf_conntrack_l3proto *l3proto; in ctnetlink_proto_size() local 479 l3proto = __nf_ct_l3proto_find(nf_ct_l3num(ct)); in ctnetlink_proto_size() 480 len += l3proto->nla_size; in ctnetlink_proto_size() 715 u_int8_t l3proto = nfmsg->nfgen_family; in ctnetlink_dump_table() local [all …]
|
D | xt_conntrack.c | 30 const union nf_inet_addr *umask, unsigned int l3proto) in conntrack_addrcmp() argument 32 if (l3proto == NFPROTO_IPV4) in conntrack_addrcmp() 34 else if (l3proto == NFPROTO_IPV6) in conntrack_addrcmp()
|
D | nf_conntrack_l3proto_generic.c | 67 .l3proto = PF_UNSPEC,
|
D | nf_conntrack_proto_udp.c | 244 .l3proto = PF_INET, 282 .l3proto = PF_INET6,
|
D | nf_conntrack_proto_udplite.c | 229 .l3proto = PF_INET, 264 .l3proto = PF_INET6,
|
D | nf_conntrack_proto_generic.c | 135 .l3proto = PF_UNSPEC,
|
D | nf_conntrack_proto_dccp.c | 819 .l3proto = AF_INET, 851 .l3proto = AF_INET6,
|
D | nf_conntrack_proto_sctp.c | 716 .l3proto = PF_INET, 756 .l3proto = PF_INET6,
|
D | nf_conntrack_proto_gre.c | 343 .l3proto = AF_INET,
|
D | nf_conntrack_proto_tcp.c | 1543 .l3proto = PF_INET, 1586 .l3proto = PF_INET6,
|
/linux-3.4.99/include/net/netfilter/ |
D | nf_conntrack_l3proto.h | 21 u_int16_t l3proto; member 81 extern struct nf_conntrack_l3proto *nf_ct_l3proto_find_get(u_int16_t l3proto); 88 __nf_ct_l3proto_find(u_int16_t l3proto) in __nf_ct_l3proto_find() argument 90 if (unlikely(l3proto >= AF_MAX)) in __nf_ct_l3proto_find() 92 return rcu_dereference(nf_ct_l3protos[l3proto]); in __nf_ct_l3proto_find()
|
D | nf_conntrack_core.h | 41 const struct nf_conntrack_l3proto *l3proto, 47 const struct nf_conntrack_l3proto *l3proto, 74 const struct nf_conntrack_l3proto *l3proto,
|
D | nf_conntrack_l4proto.h | 20 u_int16_t l3proto; member 119 __nf_ct_l4proto_find(u_int16_t l3proto, u_int8_t l4proto); 122 nf_ct_l4proto_find_get(u_int16_t l3proto, u_int8_t l4proto);
|
D | nf_conntrack.h | 197 extern int nf_ct_l3proto_try_module_get(unsigned short l3proto); 198 extern void nf_ct_l3proto_module_put(unsigned short l3proto);
|
/linux-3.4.99/net/ipv4/netfilter/ |
D | nf_conntrack_l3proto_ipv4_compat.c | 122 const struct nf_conntrack_l3proto *l3proto; in ct_seq_show() local 137 l3proto = __nf_ct_l3proto_find(nf_ct_l3num(ct)); in ct_seq_show() 138 NF_CT_ASSERT(l3proto); in ct_seq_show() 153 l3proto, l4proto)) in ct_seq_show() 164 l3proto, l4proto)) in ct_seq_show()
|
D | nf_nat_core.c | 37 static struct nf_conntrack_l3proto *l3proto __read_mostly; 723 l3proto = nf_ct_l3proto_find_get((u_int16_t)AF_INET); in nf_nat_init() 744 nf_ct_l3proto_put(l3proto); in nf_nat_cleanup()
|
D | nf_conntrack_proto_icmp.c | 338 .l3proto = PF_INET,
|
D | nf_conntrack_l3proto_ipv4.c | 354 .l3proto = PF_INET,
|
/linux-3.4.99/net/ipv6/netfilter/ |
D | nf_conntrack_proto_icmpv6.c | 333 .l3proto = PF_INET6,
|
D | nf_conntrack_l3proto_ipv6.c | 317 .l3proto = PF_INET6,
|