Lines Matching refs:sock
44 #include <net/sock.h>
82 * @sock: socket handler associated with connection
95 struct socket *sock;
133 if (con->sock)
134 sock_release(con->sock);
157 struct sock *sk = con->sock->sk;
174 kernel_sock_shutdown(con->sock, SHUT_RDWR);
179 static struct tipc_conn *tipc_conn_alloc(struct tipc_topsrv *s, struct socket *sock)
208 con->sock = sock;
275 if (con->sock) {
276 ret = kernel_sendmsg(con->sock, &msg, &iov,
346 static void tipc_conn_write_space(struct sock *sk)
390 struct sock *sk = con->sock->sk;
400 ret = sock_recvmsg(con->sock, &msg, MSG_DONTWAIT);
438 static void tipc_conn_data_ready(struct sock *sk)
457 struct sock *newsk;
495 static void tipc_topsrv_listener_data_ready(struct sock *sk)
510 struct sock *sk;