Lines Matching defs:sock
36 #include <net/sock.h>
300 struct sock* sk = server->ncp_sock->sk;
439 struct socket *sock;
513 sock = SOCKET_I(sock_inode);
514 if (!sock)
517 if (sock->type == SOCK_STREAM)
538 server->ncp_sock = sock;
601 server->data_ready = sock->sk->sk_data_ready;
602 server->write_space = sock->sk->sk_write_space;
603 server->error_report = sock->sk->sk_error_report;
604 sock->sk->sk_user_data = server;
621 sock->sk->sk_data_ready = ncp_tcp_data_ready;
622 sock->sk->sk_error_report = ncp_tcp_error_report;
623 if (sock->type == SOCK_STREAM) {
629 sock->sk->sk_write_space = ncp_tcp_write_space;