Lines Matching defs:sk

290 int tcp_mem_schedule(struct sock *sk, int size, int kind)  in tcp_mem_schedule()
346 void __tcp_mem_reclaim(struct sock *sk) in __tcp_mem_reclaim()
359 struct sock *sk = skb->sk; in tcp_rfree() local
368 static __inline__ unsigned int tcp_listen_poll(struct sock *sk, poll_table *wait) in tcp_listen_poll()
383 struct sock *sk = sock->sk; in tcp_poll() local
467 void tcp_write_space(struct sock *sk) in tcp_write_space()
482 int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) in tcp_ioctl()
529 int tcp_listen_start(struct sock *sk) in tcp_listen_start()
582 static void tcp_listen_stop (struct sock *sk) in tcp_listen_stop()
653 static int wait_for_tcp_connect(struct sock * sk, int flags, long *timeo_p) in wait_for_tcp_connect()
684 static inline int tcp_memory_free(struct sock *sk) in tcp_memory_free()
692 static int wait_for_tcp_memory(struct sock * sk, long *timeo) in wait_for_tcp_memory()
787 skb_entail(struct sock *sk, struct tcp_opt *tp, struct sk_buff *skb) in skb_entail()
811 tcp_push(struct sock *sk, struct tcp_opt *tp, int flags, int mss_now, int nonagle) in tcp_push()
822 static int tcp_error(struct sock *sk, int flags, int err) in tcp_error()
831 ssize_t do_tcp_sendpages(struct sock *sk, struct page **pages, int poffset, size_t psize, int flags) in do_tcp_sendpages()
940 struct sock *sk = sock->sk; in tcp_sendpage() local
958 #define TCP_PAGE(sk) (sk->tp_pinfo.af_tcp.sndmsg_page) argument
959 #define TCP_OFF(sk) (sk->tp_pinfo.af_tcp.sndmsg_off) argument
962 tcp_copy_to_page(struct sock *sk, char *from, struct sk_buff *skb, in tcp_copy_to_page()
1000 static inline int select_size(struct sock *sk, struct tcp_opt *tp) in select_size()
1013 int tcp_sendmsg(struct sock *sk, struct msghdr *msg, int size) in tcp_sendmsg()
1221 static int tcp_recv_urg(struct sock * sk, long timeo, in tcp_recv_urg()
1272 static inline void tcp_eat_skb(struct sock *sk, struct sk_buff * skb) in tcp_eat_skb()
1284 static void cleanup_rbuf(struct sock *sk, int copied) in cleanup_rbuf()
1346 static long tcp_data_wait(struct sock *sk, long timeo) in tcp_data_wait()
1368 static void tcp_prequeue_process(struct sock *sk) in tcp_prequeue_process()
1386 struct sk_buff *tcp_recv_skb(struct sock *sk, u32 seq, u32 *off) in tcp_recv_skb()
1414 int tcp_read_sock(struct sock *sk, read_descriptor_t *desc, in tcp_read_sock()
1474 int tcp_recvmsg(struct sock *sk, struct msghdr *msg, in tcp_recvmsg()
1805 static int tcp_close_state(struct sock *sk) in tcp_close_state()
1820 void tcp_shutdown(struct sock *sk, int how) in tcp_shutdown()
1843 static inline int closing(struct sock * sk) in closing()
1848 static __inline__ void tcp_kill_sk_queues(struct sock *sk) in tcp_kill_sk_queues()
1877 void tcp_destroy_sock(struct sock *sk) in tcp_destroy_sock()
1910 void tcp_close(struct sock *sk, long timeout) in tcp_close()
2085 int tcp_disconnect(struct sock *sk, int flags) in tcp_disconnect()
2154 static int wait_for_connect(struct sock * sk, long timeo) in wait_for_connect()
2202 struct sock *tcp_accept(struct sock *sk, int flags, int *err) in tcp_accept()
2253 int tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, in tcp_setsockopt()
2412 int tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, in tcp_getsockopt()