Lines Matching defs:sk
96 void raw_hash_sk(struct sock *sk) in raw_hash_sk()
110 void raw_unhash_sk(struct sock *sk) in raw_unhash_sk()
121 static struct sock *__raw_v4_lookup(struct net *net, struct sock *sk, in __raw_v4_lookup()
142 static int icmp_filter(const struct sock *sk, const struct sk_buff *skb) in icmp_filter()
170 struct sock *sk; in raw_v4_input() local
223 static void raw_err(struct sock *sk, struct sk_buff *skb, u32 info) in raw_err()
310 static int raw_rcv_skb(struct sock *sk, struct sk_buff *skb) in raw_rcv_skb()
323 int raw_rcv(struct sock *sk, struct sk_buff *skb) in raw_rcv()
338 static int raw_send_hdrinc(struct sock *sk, struct flowi4 *fl4, in raw_send_hdrinc()
486 static int raw_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in raw_sendmsg()
677 static void raw_close(struct sock *sk, long timeout) in raw_close()
687 static void raw_destroy(struct sock *sk) in raw_destroy()
695 static int raw_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) in raw_bind()
722 static int raw_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in raw_recvmsg()
775 static int raw_init(struct sock *sk) in raw_init()
784 static int raw_seticmpfilter(struct sock *sk, char __user *optval, int optlen) in raw_seticmpfilter()
793 static int raw_geticmpfilter(struct sock *sk, char __user *optval, int __user *optlen) in raw_geticmpfilter()
812 static int do_raw_setsockopt(struct sock *sk, int level, int optname, in do_raw_setsockopt()
824 static int raw_setsockopt(struct sock *sk, int level, int optname, in raw_setsockopt()
833 static int compat_raw_setsockopt(struct sock *sk, int level, int optname, in compat_raw_setsockopt()
842 static int do_raw_getsockopt(struct sock *sk, int level, int optname, in do_raw_getsockopt()
854 static int raw_getsockopt(struct sock *sk, int level, int optname, in raw_getsockopt()
863 static int compat_raw_getsockopt(struct sock *sk, int level, int optname, in compat_raw_getsockopt()
872 static int raw_ioctl(struct sock *sk, int cmd, unsigned long arg) in raw_ioctl()
902 static int compat_raw_ioctl(struct sock *sk, unsigned int cmd, unsigned long arg) in compat_raw_ioctl()
948 struct sock *sk; in raw_get_first() local
962 static struct sock *raw_get_next(struct seq_file *seq, struct sock *sk) in raw_get_next()
981 struct sock *sk = raw_get_first(seq); in raw_get_idx() local
1000 struct sock *sk; in raw_seq_next() local