Home
last modified time | relevance | path

Searched refs:SOCK_MAX (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/include/asm/
Dsocket.h39 #define SOCK_MAX (SOCK_PACKET + 1) macro
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Daf_ninet.c68 static struct list_head inetsw_nip[SOCK_MAX];
96 sock->type >= SOCK_MAX) in ninet_create()
648 if (p->type >= SOCK_MAX) in ninet_register_protosw()
740 for (r = &inetsw_nip[0]; r < &inetsw_nip[SOCK_MAX]; ++r) in ninet_init()
/kernel/linux/linux-5.10/security/apparmor/
Dnet.c116 AA_BUG(type < 0 || type >= SOCK_MAX); in aa_profile_af_perm()
/kernel/linux/linux-5.10/net/ipv6/
Daf_inet6.c78 static struct list_head inetsw6[SOCK_MAX];
749 if (p->type >= SOCK_MAX) in inet6_register_protosw()
1057 for (r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r) in inet6_init()
/kernel/linux/linux-5.10/include/linux/
Dnet.h71 #define SOCK_MAX (SOCK_PACKET + 1) macro
/kernel/linux/linux-5.10/net/ipv4/
Daf_inet.c126 static struct list_head inetsw[SOCK_MAX];
1176 if (p->type >= SOCK_MAX) in inet_register_protosw()
1992 for (r = &inetsw[0]; r < &inetsw[SOCK_MAX]; ++r) in inet_init()
/kernel/linux/linux-5.10/net/
Dsocket.c1357 if (type < 0 || type >= SOCK_MAX) in __sock_create()
1497 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in __sys_socket()