Lines Matching defs:net
46 #include <linux/net.h>
51 #include <net/sock.h>
52 #include <net/tcp_states.h>
61 #include <net/x25.h>
62 #include <net/compat.h>
528 static struct sock *x25_alloc_socket(struct net *net)
531 struct sock *sk = sk_alloc(net, AF_X25, GFP_ATOMIC, &x25_proto);
547 static int x25_create(struct net *net, struct socket *sock, int protocol,
554 if (!net_eq(net, &init_net))
566 if ((sk = x25_alloc_socket(net)) == NULL)