Lines Matching defs:sock
39 #include <net/sock.h>
96 struct socket *sock = s->sock;
99 return kernel_sendmsg(sock, &s->msg, &iv, 1, len);
407 struct socket *sock = s->sock;
449 len = kernel_sendmsg(sock, &s->msg, iv, il, len);
466 struct sock *sk = s->sock->sk;
507 s->sock->sk->sk_err = EUNATCH;
509 wake_up_interruptible(sk_sleep(s->sock->sk));
512 fput(s->sock->file);
523 bdaddr_t *src = &bt_sk(session->sock->sk)->src;
524 bdaddr_t *dst = &bt_sk(session->sock->sk)->dst;
543 int bnep_add_connection(struct bnep_connadd_req *req, struct socket *sock)
552 baswap((void *) dst, &bt_sk(sock->sk)->dst);
553 baswap((void *) src, &bt_sk(sock->sk)->src);
579 s->sock = sock;
636 s->sock->sk->sk_err = EUNATCH;
640 wake_up_interruptible(sk_sleep(s->sock->sk));