• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rxrpc/

Lines Matching defs:sock

20 #include <net/sock.h>
49 static void rxrpc_sock_destructor(struct sock *);
54 static inline int rxrpc_writable(struct sock *sk)
62 static void rxrpc_write_space(struct sock *sk)
121 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len)
124 struct sock *sk = sock->sk;
187 static int rxrpc_listen(struct socket *sock, int backlog)
189 struct sock *sk = sock->sk;
222 static struct rxrpc_transport *rxrpc_name_to_transport(struct socket *sock,
229 struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
256 * @sock: The socket on which to make the call
268 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock,
277 struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
285 trans = rxrpc_name_to_transport(sock, (struct sockaddr *) srx,
347 * @sock: The socket to intercept received messages on
356 void rxrpc_kernel_intercept_rx_messages(struct socket *sock,
359 struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
372 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr,
376 struct sock *sk = sock->sk;
418 trans = rxrpc_name_to_transport(sock, addr, addr_len, flags,
443 static int rxrpc_sendmsg(struct kiocb *iocb, struct socket *sock,
447 struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
468 trans = rxrpc_name_to_transport(sock, m->msg_name,
512 static int rxrpc_setsockopt(struct socket *sock, int level, int optname,
515 struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
588 static unsigned int rxrpc_poll(struct file *file, struct socket *sock,
592 struct sock *sk = sock->sk;
614 static int rxrpc_create(struct net *net, struct socket *sock, int protocol,
618 struct sock *sk;
620 _enter("%p,%d", sock, protocol);
629 if (sock->type != SOCK_DGRAM)
632 sock->ops = &rxrpc_rpc_ops;
633 sock->state = SS_UNCONNECTED;
639 sock_init_data(sock, sk);
662 static void rxrpc_sock_destructor(struct sock *sk)
681 static int rxrpc_release_sock(struct sock *sk)
739 static int rxrpc_release(struct socket *sock)
741 struct sock *sk = sock->sk;
743 _enter("%p{%p}", sock, sk);
748 sock->sk = NULL;