Lines Matching defs:sk
340 static void register_prot_hook(struct sock *sk) in register_prot_hook()
362 static void __unregister_prot_hook(struct sock *sk, bool sync) in __unregister_prot_hook()
382 static void unregister_prot_hook(struct sock *sk, bool sync) in unregister_prot_hook()
795 struct sock *sk = &po->sk; in prb_close_block() local
1267 struct sock *sk = &po->sk; in __packet_rcv_has_room() local
1311 static void packet_sock_destruct(struct sock *sk) in packet_sock_destruct()
1493 static void __fanout_link(struct sock *sk, struct packet_sock *po) in __fanout_link()
1504 static void __fanout_unlink(struct sock *sk, struct packet_sock *po) in __fanout_unlink()
1520 static bool match_fanout_group(struct packet_type *ptype, struct sock *sk) in match_fanout_group()
1625 static int fanout_add(struct sock *sk, u16 id, u16 type_flags) in fanout_add()
1720 static void fanout_release(struct sock *sk) in fanout_release()
1765 struct sock *sk; in packet_rcv_spkt() local
1837 struct sock *sk = sock->sk; in packet_sendmsg_spkt() local
1953 const struct sock *sk, in run_filter()
1982 struct sock *sk; in packet_rcv() local
2094 struct sock *sk; in tpacket_rcv() local
2602 static struct sk_buff *packet_alloc_skb(struct sock *sk, size_t prepad, in packet_alloc_skb()
2628 struct sock *sk = sock->sk; in packet_snd() local
2831 struct sock *sk = sock->sk; in packet_sendmsg() local
2847 struct sock *sk = sock->sk; in packet_release() local
2911 static int packet_do_bind(struct sock *sk, const char *name, int ifindex, in packet_do_bind()
3004 struct sock *sk = sock->sk; in packet_bind_spkt() local
3021 struct sock *sk = sock->sk; in packet_bind() local
3049 struct sock *sk; in packet_create() local
3129 struct sock *sk = sock->sk; in packet_recvmsg() local
3306 struct sock *sk = sock->sk; in packet_getname_spkt() local
3327 struct sock *sk = sock->sk; in packet_getname() local
3399 static int packet_mc_add(struct sock *sk, struct packet_mreq_max *mreq) in packet_mc_add()
3454 static int packet_mc_drop(struct sock *sk, struct packet_mreq_max *mreq) in packet_mc_drop()
3480 static void packet_flush_mclist(struct sock *sk) in packet_flush_mclist()
3504 struct sock *sk = sock->sk; in packet_setsockopt() local
3721 struct sock *sk = sock->sk; in packet_getsockopt() local
3833 struct sock *sk; in packet_notifier() local
3884 struct sock *sk = sock->sk; in packet_ioctl() local
3937 struct sock *sk = sock->sk; in packet_poll() local
3968 struct sock *sk = sock->sk; in packet_mm_open() local
3978 struct sock *sk = sock->sk; in packet_mm_close() local
4057 static int packet_set_ring(struct sock *sk, union tpacket_req_u *req_u, in packet_set_ring()
4211 struct sock *sk = sock->sk; in packet_mmap() local