Lines Matching defs:tcp
33 #include <net/tcp.h>
65 static struct workqueue_struct *smc_tcp_ls_wq; /* wq for tcp listen work */
3284 /* must look like tcp */
3378 struct socket *tcp = sk->sk_socket;
3384 if (tcp->type != SOCK_STREAM || sk->sk_protocol != IPPROTO_TCP ||
3388 if (tcp->state != SS_UNCONNECTED || !tcp->file || tcp->wq.fasync_list)
3402 ret = __smc_create(net, smcsock, protocol, 1, tcp);
3408 /* replace tcp socket to smc */
3409 smcsock->file = tcp->file;
3413 tcp->file = NULL;