Lines Matching refs:sock
17 #include <net/sock.h>
49 static inline struct l2tp_ip6_sock *l2tp_ip6_sk(const struct sock *sk)
54 static struct sock *__l2tp_ip6_bind_lookup(const struct net *net,
59 struct sock *sk;
127 struct sock *sk;
210 static int l2tp_ip6_hash(struct sock *sk)
220 static void l2tp_ip6_unhash(struct sock *sk)
229 static int l2tp_ip6_open(struct sock *sk)
238 static void l2tp_ip6_close(struct sock *sk, long timeout)
248 static void l2tp_ip6_destroy_sock(struct sock *sk)
260 static int l2tp_ip6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)
360 static int l2tp_ip6_connect(struct sock *sk, struct sockaddr *uaddr,
410 static int l2tp_ip6_disconnect(struct sock *sk, int flags)
418 static int l2tp_ip6_getname(struct socket *sock, struct sockaddr *uaddr,
422 struct sock *sk = sock->sk;
450 static int l2tp_ip6_backlog_recv(struct sock *sk, struct sk_buff *skb)
467 static int l2tp_ip6_push_pending_frames(struct sock *sk)
489 static int l2tp_ip6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
658 static int l2tp_ip6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,