Lines Matching defs:sock
30 #include <net/sock.h>
63 static int pn_socket_create(struct net *net, struct socket *sock, int protocol,
66 struct sock *sk;
76 switch (sock->type) {
95 if (sock->type != pnp->sock_type) {
106 sock_init_data(sock, sk);
107 sock->state = SS_UNCONNECTED;
108 sock->ops = pnp->ops;
238 int pn_skb_send(struct sock *sk, struct sk_buff *skb,
389 struct sock *sk = pn_find_sock_by_sa(net, &sa);