• Home
  • Raw
  • Download

Lines Matching refs:pkt_sk

340 	struct packet_sock *po = pkt_sk(sk);  in __register_prot_hook()
355 lockdep_assert_held_once(&pkt_sk(sk)->bind_lock); in register_prot_hook()
367 struct packet_sock *po = pkt_sk(sk); in __unregister_prot_hook()
389 struct packet_sock *po = pkt_sk(sk); in unregister_prot_hook()
1396 po = pkt_sk(f->arr[idx]); in fanout_demux_rollover()
1408 po_next = pkt_sk(f->arr[i]); in fanout_demux_rollover()
1503 po = pkt_sk(f->arr[idx]); in packet_rcv_fanout()
1548 return ptype->af_packet_priv == pkt_sk(sk)->fanout; in match_fanout_group()
1677 struct packet_sock *po = pkt_sk(sk); in fanout_add()
1798 struct packet_sock *po = pkt_sk(sk); in fanout_release()
2089 po = pkt_sk(sk); in packet_rcv()
2221 po = pkt_sk(sk); in tpacket_rcv()
2449 struct packet_sock *po = pkt_sk(skb->sk); in tpacket_destruct_skb()
2887 struct packet_sock *po = pkt_sk(sk); in packet_snd()
3032 struct packet_sock *po = pkt_sk(sk); in packet_sendmsg()
3057 po = pkt_sk(sk); in packet_release()
3123 struct packet_sock *po = pkt_sk(sk); in packet_do_bind()
3235 return packet_do_bind(sk, name, 0, pkt_sk(sk)->num); in packet_bind_spkt()
3253 sll->sll_protocol ? : pkt_sk(sk)->num); in packet_bind()
3293 po = pkt_sk(sk); in packet_create()
3362 if (pkt_sk(sk)->ifindex < 0) in packet_recvmsg()
3392 if (pkt_sk(sk)->pressure) in packet_recvmsg()
3393 packet_rcv_has_room(pkt_sk(sk), NULL); in packet_recvmsg()
3395 if (pkt_sk(sk)->has_vnet_hdr) { in packet_recvmsg()
3453 if (pkt_sk(sk)->auxdata) { in packet_recvmsg()
3503 dev = dev_get_by_index_rcu(sock_net(sk), pkt_sk(sk)->ifindex); in packet_getname_spkt()
3517 struct packet_sock *po = pkt_sk(sk); in packet_getname()
3590 struct packet_sock *po = pkt_sk(sk); in packet_mc_add()
3649 for (mlp = &pkt_sk(sk)->mclist; (ml = *mlp) != NULL; mlp = &ml->next) { in packet_mc_drop()
3671 struct packet_sock *po = pkt_sk(sk); in packet_flush_mclist()
3694 struct packet_sock *po = pkt_sk(sk); in packet_setsockopt()
3760 pkt_sk(sk)->copy_thresh = val; in packet_setsockopt()
3949 struct packet_sock *po = pkt_sk(sk); in packet_getsockopt()
4063 struct packet_sock *po = pkt_sk(sock->sk); in compat_packet_setsockopt()
4089 struct packet_sock *po = pkt_sk(sk); in packet_notifier()
4188 struct packet_sock *po = pkt_sk(sk); in packet_poll()
4221 atomic_inc(&pkt_sk(sk)->mapped); in packet_mm_open()
4231 atomic_dec(&pkt_sk(sk)->mapped); in packet_mm_close()
4311 struct packet_sock *po = pkt_sk(sk); in packet_set_ring()
4477 struct packet_sock *po = pkt_sk(sk); in packet_mmap()
4619 const struct packet_sock *po = pkt_sk(s); in packet_seq_show()