Lines Matching refs:sock

59 #include <net/sock.h>
93 int raw_hash_sk(struct sock *sk)
109 void raw_unhash_sk(struct sock *sk)
120 struct sock *__raw_v4_lookup(struct net *net, struct sock *sk,
143 static int icmp_filter(const struct sock *sk, const struct sk_buff *skb)
173 struct sock *sk;
210 struct sock *raw_sk;
225 static void raw_err(struct sock *sk, struct sk_buff *skb, u32 info)
290 struct sock *raw_sk;
316 static int raw_rcv_skb(struct sock *sk, struct sk_buff *skb)
329 int raw_rcv(struct sock *sk, struct sk_buff *skb)
344 static int raw_send_hdrinc(struct sock *sk, struct flowi4 *fl4,
499 static int raw_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
701 static void raw_close(struct sock *sk, long timeout)
711 static void raw_destroy(struct sock *sk)
719 static int raw_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)
757 static int raw_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
810 static int raw_sk_init(struct sock *sk)
819 static int raw_seticmpfilter(struct sock *sk, sockptr_t optval, int optlen)
828 static int raw_geticmpfilter(struct sock *sk, char __user *optval, int __user *optlen)
847 static int do_raw_setsockopt(struct sock *sk, int level, int optname,
859 static int raw_setsockopt(struct sock *sk, int level, int optname,
867 static int do_raw_getsockopt(struct sock *sk, int level, int optname,
879 static int raw_getsockopt(struct sock *sk, int level, int optname,
887 static int raw_ioctl(struct sock *sk, int cmd, unsigned long arg)
917 static int compat_raw_ioctl(struct sock *sk, unsigned int cmd, unsigned long arg)
933 int raw_abort(struct sock *sk, int err)
976 static struct sock *raw_get_first(struct seq_file *seq)
978 struct sock *sk;
993 static struct sock *raw_get_next(struct seq_file *seq, struct sock *sk)
1011 static struct sock *raw_get_idx(struct seq_file *seq, loff_t pos)
1013 struct sock *sk = raw_get_first(seq);
1033 struct sock *sk;
1053 static void raw_sock_seq_show(struct seq_file *seq, struct sock *sp, int i)