Lines Matching defs:sk
337 static void register_prot_hook(struct sock *sk) in register_prot_hook()
359 static void __unregister_prot_hook(struct sock *sk, bool sync) in __unregister_prot_hook()
379 static void unregister_prot_hook(struct sock *sk, bool sync) in unregister_prot_hook()
798 struct sock *sk = &po->sk; in prb_close_block() local
1239 struct sock *sk = &po->sk; in packet_rcv_has_room() local
1260 static void packet_sock_destruct(struct sock *sk) in packet_sock_destruct()
1393 static void __fanout_link(struct sock *sk, struct packet_sock *po) in __fanout_link()
1404 static void __fanout_unlink(struct sock *sk, struct packet_sock *po) in __fanout_unlink()
1420 static bool match_fanout_group(struct packet_type *ptype, struct sock *sk) in match_fanout_group()
1428 static int fanout_add(struct sock *sk, u16 id, u16 type_flags) in fanout_add()
1507 static void fanout_release(struct sock *sk) in fanout_release()
1548 struct sock *sk; in packet_rcv_spkt() local
1620 struct sock *sk = sock->sk; in packet_sendmsg_spkt() local
1732 const struct sock *sk, in run_filter()
1761 struct sock *sk; in packet_rcv() local
1873 struct sock *sk; in tpacket_rcv() local
2393 static struct sk_buff *packet_alloc_skb(struct sock *sk, size_t prepad, in packet_alloc_skb()
2419 struct sock *sk = sock->sk; in packet_snd() local
2611 struct sock *sk = sock->sk; in packet_sendmsg() local
2627 struct sock *sk = sock->sk; in packet_release() local
2691 static int packet_do_bind(struct sock *sk, const char *name, int ifindex, in packet_do_bind()
2784 struct sock *sk = sock->sk; in packet_bind_spkt() local
2801 struct sock *sk = sock->sk; in packet_bind() local
2829 struct sock *sk; in packet_create() local
2908 struct sock *sk = sock->sk; in packet_recvmsg() local
3082 struct sock *sk = sock->sk; in packet_getname_spkt() local
3103 struct sock *sk = sock->sk; in packet_getname() local
3175 static int packet_mc_add(struct sock *sk, struct packet_mreq_max *mreq) in packet_mc_add()
3229 static int packet_mc_drop(struct sock *sk, struct packet_mreq_max *mreq) in packet_mc_drop()
3255 static void packet_flush_mclist(struct sock *sk) in packet_flush_mclist()
3279 struct sock *sk = sock->sk; in packet_setsockopt() local
3489 struct sock *sk = sock->sk; in packet_getsockopt() local
3591 struct sock *sk; in packet_notifier() local
3642 struct sock *sk = sock->sk; in packet_ioctl() local
3695 struct sock *sk = sock->sk; in packet_poll() local
3724 struct sock *sk = sock->sk; in packet_mm_open() local
3734 struct sock *sk = sock->sk; in packet_mm_close() local
3813 static int packet_set_ring(struct sock *sk, union tpacket_req_u *req_u, in packet_set_ring()
3967 struct sock *sk = sock->sk; in packet_mmap() local