Lines Matching refs:sock
62 #include <net/sock.h>
84 void raw_hash_sk(struct sock *sk)
98 void raw_unhash_sk(struct sock *sk)
109 static struct sock *__raw_v4_lookup(struct net *net, struct sock *sk,
132 static __inline__ int icmp_filter(struct sock *sk, struct sk_buff *skb)
158 struct sock *sk;
194 struct sock *raw_sk;
209 static void raw_err(struct sock *sk, struct sk_buff *skb, u32 info)
266 struct sock *raw_sk;
289 static int raw_rcv_skb(struct sock * sk, struct sk_buff * skb)
301 int raw_rcv(struct sock *sk, struct sk_buff *skb)
316 static int raw_send_hdrinc(struct sock *sk, void *from, size_t length,
451 static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
616 static void raw_close(struct sock *sk, long timeout)
626 static void raw_destroy(struct sock *sk)
634 static int raw_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)
661 static int raw_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
716 static int raw_init(struct sock *sk)
725 static int raw_seticmpfilter(struct sock *sk, char __user *optval, int optlen)
734 static int raw_geticmpfilter(struct sock *sk, char __user *optval, int __user *optlen)
753 static int do_raw_setsockopt(struct sock *sk, int level, int optname,
765 static int raw_setsockopt(struct sock *sk, int level, int optname,
774 static int compat_raw_setsockopt(struct sock *sk, int level, int optname,
783 static int do_raw_getsockopt(struct sock *sk, int level, int optname,
795 static int raw_getsockopt(struct sock *sk, int level, int optname,
804 static int compat_raw_getsockopt(struct sock *sk, int level, int optname,
813 static int raw_ioctl(struct sock *sk, int cmd, unsigned long arg)
868 static struct sock *raw_get_first(struct seq_file *seq)
870 struct sock *sk;
886 static struct sock *raw_get_next(struct seq_file *seq, struct sock *sk)
903 static struct sock *raw_get_idx(struct seq_file *seq, loff_t pos)
905 struct sock *sk = raw_get_first(seq);
924 struct sock *sk;
943 static void raw_sock_seq_show(struct seq_file *seq, struct sock *sp, int i)