Lines Matching defs:sock
44 #include <net/sock.h>
46 #include <trace/events/sock.h>
83 * @sock: socket handler associated with connection
96 struct socket *sock;
134 if (con->sock)
135 sock_release(con->sock);
158 struct sock *sk = con->sock->sk;
175 kernel_sock_shutdown(con->sock, SHUT_RDWR);
180 static struct tipc_conn *tipc_conn_alloc(struct tipc_topsrv *s, struct socket *sock)
209 con->sock = sock;
276 if (con->sock) {
277 ret = kernel_sendmsg(con->sock, &msg, &iov,
347 static void tipc_conn_write_space(struct sock *sk)
391 struct sock *sk = con->sock->sk;
401 ret = sock_recvmsg(con->sock, &msg, MSG_DONTWAIT);
439 static void tipc_conn_data_ready(struct sock *sk)
460 struct sock *newsk;
498 static void tipc_topsrv_listener_data_ready(struct sock *sk)
515 struct sock *sk;