Lines Matching refs:sock
39 #include <net/sock.h>
68 static struct sock *__raw_v6_lookup(struct net *net, struct sock *sk,
108 static __inline__ int icmpv6_filter(struct sock *sk, struct sk_buff *skb)
126 static int (*mh_filter)(struct sock *sock, struct sk_buff *skb);
128 int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
136 int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
149 * (should consider queueing the skb in the sock receive_queue
158 struct sock *sk;
189 int (*filter)(struct sock *sock, struct sk_buff *skb);
222 struct sock *raw_sk;
232 static int rawv6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)
305 static void rawv6_err(struct sock *sk, struct sk_buff *skb,
342 struct sock *sk;
368 static inline int rawv6_rcv_skb(struct sock * sk, struct sk_buff * skb)
393 int rawv6_rcv(struct sock *sk, struct sk_buff *skb)
439 static int rawv6_recvmsg(struct kiocb *iocb, struct sock *sk,
520 static int rawv6_push_pending_frames(struct sock *sk, struct flowi *fl,
598 static int rawv6_send_hdrinc(struct sock *sk, void *from, int length,
719 static int rawv6_sendmsg(struct kiocb *iocb, struct sock *sk,
912 static int rawv6_seticmpfilter(struct sock *sk, int level, int optname,
929 static int rawv6_geticmpfilter(struct sock *sk, int level, int optname,
955 static int do_rawv6_setsockopt(struct sock *sk, int level, int optname,
1002 static int rawv6_setsockopt(struct sock *sk, int level, int optname,
1026 static int compat_rawv6_setsockopt(struct sock *sk, int level, int optname,
1047 static int do_rawv6_getsockopt(struct sock *sk, int level, int optname,
1082 static int rawv6_getsockopt(struct sock *sk, int level, int optname,
1106 static int compat_rawv6_getsockopt(struct sock *sk, int level, int optname,
1127 static int rawv6_ioctl(struct sock *sk, int cmd, unsigned long arg)
1158 static void rawv6_close(struct sock *sk, long timeout)
1166 static void raw6_destroy(struct sock *sk)
1175 static int rawv6_init_sk(struct sock *sk)
1220 static void raw6_sock_seq_show(struct seq_file *seq, struct sock *sp, int i)