Lines Matching full:family
17 int family; member
28 static int sock_dispatch_create(int family, int type, int proto);
57 new_fd = socket_create(ctx->family, ctx->type, ctx->proto); in sock_dispatch_socket()
82 static struct net_socket_register *sock_dispatch_find(int family, int type, in sock_dispatch_find() argument
95 if (sock_family->family != family && in sock_dispatch_find()
96 sock_family->family != AF_UNSPEC) { in sock_dispatch_find()
102 if (!sock_family->is_supported(family, type, proto)) { in sock_dispatch_find()
116 sock_family = sock_dispatch_find(ctx->family, ctx->type, in sock_dispatch_native()
130 sock_family = sock_dispatch_find(ctx->family, ctx->type, in sock_dispatch_default()
448 static int sock_dispatch_create(int family, int type, int proto) in sock_dispatch_create() argument
469 if (sock_dispatch_find(family, type, proto, false) == NULL) { in sock_dispatch_create()
480 entry->family = family; in sock_dispatch_create()
493 static bool is_supported(int family, int type, int proto) in is_supported() argument