Home
last modified time | relevance | path

Searched refs:AF_MAX (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/net/core/
Dsock_diag.c13 static struct sock_diag_handler *sock_diag_handlers[AF_MAX];
77 if (hndl->family >= AF_MAX) in sock_diag_register()
95 if (family >= AF_MAX) in sock_diag_unregister()
129 if (req->sdiag_family >= AF_MAX) in __sock_diag_rcv_msg()
Dsock.c183 static struct lock_class_key af_family_keys[AF_MAX];
184 static struct lock_class_key af_family_slock_keys[AF_MAX];
194 static const char *const af_family_key_strings[AF_MAX+1] = {
210 static const char *const af_family_slock_key_strings[AF_MAX+1] = {
226 static const char *const af_family_clock_key_strings[AF_MAX+1] = {
247 static struct lock_class_key af_callback_keys[AF_MAX];
/linux-3.4.99/include/net/netfilter/
Dnf_conntrack_l3proto.h76 extern struct nf_conntrack_l3proto __rcu *nf_ct_l3protos[AF_MAX];
90 if (unlikely(l3proto >= AF_MAX)) in __nf_ct_l3proto_find()
/linux-3.4.99/net/netfilter/
Dnf_conntrack_proto.c32 struct nf_conntrack_l3proto __rcu *nf_ct_l3protos[AF_MAX] __read_mostly;
67 if (unlikely(l3proto >= AF_MAX || nf_ct_protos[l3proto] == NULL)) in __nf_ct_l4proto_find()
192 if (proto->l3proto >= AF_MAX) in nf_conntrack_l3proto_register()
225 BUG_ON(proto->l3proto >= AF_MAX); in nf_conntrack_l3proto_unregister()
390 for (i = 0; i < AF_MAX; i++) in nf_conntrack_proto_init()
/linux-3.4.99/include/linux/
Dsocket.h198 #define AF_MAX 40 /* For now.. */ macro
241 #define PF_MAX AF_MAX
Dnet.h24 #define NPROTO AF_MAX