Lines Matching defs:sock
60 #include <net/sock.h>
113 struct sock *sk;
120 struct sock sk;
131 static inline struct bcm_sock *bcm_sk(const struct sock *sk)
164 struct sock *sk = (struct sock *)m->private;
292 struct sock *sk = op->sk;
829 int ifindex, struct sock *sk)
991 int ifindex, struct sock *sk)
1195 static int bcm_tx_send(struct msghdr *msg, int ifindex, struct sock *sk)
1236 static int bcm_sendmsg(struct kiocb *iocb, struct socket *sock,
1239 struct sock *sk = sock->sk;
1351 struct sock *sk = &bo->sk;
1401 static int bcm_init(struct sock *sk)
1424 static int bcm_release(struct socket *sock)
1426 struct sock *sk = sock->sk;
1478 sock->sk = NULL;
1486 static int bcm_connect(struct socket *sock, struct sockaddr *uaddr, int len,
1490 struct sock *sk = sock->sk;
1524 sprintf(bo->procname, "%p", sock);
1533 static int bcm_recvmsg(struct kiocb *iocb, struct socket *sock,
1536 struct sock *sk = sock->sk;