Lines Matching refs:sock
25 #include <net/sock.h>
78 void dccp_set_state(struct sock *sk, const int state)
118 static void dccp_finish_passive_close(struct sock *sk)
136 void dccp_done(struct sock *sk)
174 void dccp_destruct_common(struct sock *sk)
183 static void dccp_sk_destruct(struct sock *sk)
189 int dccp_init_sock(struct sock *sk, const __u8 ctl_sock_initialized)
217 void dccp_destroy_sock(struct sock *sk)
247 static inline int dccp_listen_start(struct sock *sk, int backlog)
264 int dccp_disconnect(struct sock *sk, int flags)
324 __poll_t dccp_poll(struct file *file, struct socket *sock,
327 struct sock *sk = sock->sk;
332 sock_poll_wait(file, sock, wait);
378 int dccp_ioctl(struct sock *sk, int cmd, unsigned long arg)
423 static int dccp_setsockopt_service(struct sock *sk, const __be32 service,
457 static int dccp_setsockopt_cscov(struct sock *sk, int cscov, bool rx)
493 static int dccp_setsockopt_ccid(struct sock *sk, int type,
518 static int do_dccp_setsockopt(struct sock *sk, int level, int optname,
584 int dccp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval,
596 static int dccp_getsockopt_service(struct sock *sk, int len,
624 static int do_dccp_getsockopt(struct sock *sk, int level, int optname,
692 int dccp_getsockopt(struct sock *sk, int level, int optname,
744 int dccp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
821 int dccp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock,
929 int inet_dccp_listen(struct socket *sock, int backlog)
931 struct sock *sk = sock->sk;
938 if (sock->state != SS_UNCONNECTED || sock->type != SOCK_DCCP)
967 static void dccp_terminate_connection(struct sock *sk)
994 void dccp_close(struct sock *sk, long timeout)
1093 void dccp_shutdown(struct sock *sk, int how)