Lines Matching defs:sock
64 #include <net/sock.h>
89 void can_sock_destruct(struct sock *sk)
114 static int can_create(struct net *net, struct socket *sock, int protocol,
117 struct sock *sk;
121 sock->state = SS_UNCONNECTED;
151 if (cp->type != sock->type) {
156 sock->ops = cp->ops;
164 sock_init_data(sock, sk);
248 /* The reference to the originating sock may be required
252 * reference to the originating sock by restoring skb->sk
443 void *data, char *ident, struct sock *sk)
491 struct sock *sk = rcv->sk;