Lines Matching refs:sock
17 #include <net/sock.h>
46 static inline struct l2tp_ip6_sock *l2tp_ip6_sk(const struct sock *sk)
51 static struct sock *__l2tp_ip6_bind_lookup(const struct net *net,
56 struct sock *sk;
126 struct sock *sk;
209 static int l2tp_ip6_hash(struct sock *sk)
219 static void l2tp_ip6_unhash(struct sock *sk)
228 static int l2tp_ip6_open(struct sock *sk)
237 static void l2tp_ip6_close(struct sock *sk, long timeout)
247 static void l2tp_ip6_destroy_sock(struct sock *sk)
259 static int l2tp_ip6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)
359 static int l2tp_ip6_connect(struct sock *sk, struct sockaddr *uaddr,
409 static int l2tp_ip6_disconnect(struct sock *sk, int flags)
417 static int l2tp_ip6_getname(struct socket *sock, struct sockaddr *uaddr,
421 struct sock *sk = sock->sk;
449 static int l2tp_ip6_backlog_recv(struct sock *sk, struct sk_buff *skb)
466 static int l2tp_ip6_push_pending_frames(struct sock *sk)
488 static int l2tp_ip6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
657 static int l2tp_ip6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,