Lines Matching refs:sock
27 #include <net/sock.h>
53 void dccp_set_state(struct sock *sk, const int state)
93 static void dccp_finish_passive_close(struct sock *sk)
111 void dccp_done(struct sock *sk)
173 int dccp_init_sock(struct sock *sk, const __u8 ctl_sock_initialized)
200 void dccp_destroy_sock(struct sock *sk)
234 static inline int dccp_listen_start(struct sock *sk, int backlog)
251 int dccp_disconnect(struct sock *sk, int flags)
309 unsigned int dccp_poll(struct file *file, struct socket *sock,
313 struct sock *sk = sock->sk;
360 int dccp_ioctl(struct sock *sk, int cmd, unsigned long arg)
396 static int dccp_setsockopt_service(struct sock *sk, const __be32 service,
431 static int dccp_setsockopt_cscov(struct sock *sk, int cscov, bool rx)
467 static int dccp_setsockopt_ccid(struct sock *sk, int type,
492 static int do_dccp_setsockopt(struct sock *sk, int level, int optname,
544 int dccp_setsockopt(struct sock *sk, int level, int optname,
557 int compat_dccp_setsockopt(struct sock *sk, int level, int optname,
569 static int dccp_getsockopt_service(struct sock *sk, int len,
597 static int do_dccp_getsockopt(struct sock *sk, int level, int optname,
659 int dccp_getsockopt(struct sock *sk, int level, int optname,
672 int compat_dccp_getsockopt(struct sock *sk, int level, int optname,
684 int dccp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
740 int dccp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
848 int inet_dccp_listen(struct socket *sock, int backlog)
850 struct sock *sk = sock->sk;
857 if (sock->state != SS_UNCONNECTED || sock->type != SOCK_DCCP)
882 static void dccp_terminate_connection(struct sock *sk)
909 void dccp_close(struct sock *sk, long timeout)
991 void dccp_shutdown(struct sock *sk, int how)