Lines Matching refs:packet_sock

189 struct packet_sock;
190 static int tpacket_snd(struct packet_sock *po, struct msghdr *msg);
194 static void *packet_previous_frame(struct packet_sock *po,
201 struct packet_sock *);
203 struct packet_sock *, unsigned int status);
209 static void prb_init_blk_timer(struct packet_sock *,
246 static void __fanout_unlink(struct sock *sk, struct packet_sock *po);
247 static void __fanout_link(struct sock *sk, struct packet_sock *po);
286 static struct net_device *packet_cached_dev_get(struct packet_sock *po) in packet_cached_dev_get()
299 static void packet_cached_dev_assign(struct packet_sock *po, in packet_cached_dev_assign()
305 static void packet_cached_dev_reset(struct packet_sock *po) in packet_cached_dev_reset()
310 static bool packet_use_direct_xmit(const struct packet_sock *po) in packet_use_direct_xmit()
342 struct packet_sock *po = pkt_sk(sk); in register_prot_hook()
364 struct packet_sock *po = pkt_sk(sk); in __unregister_prot_hook()
384 struct packet_sock *po = pkt_sk(sk); in unregister_prot_hook()
397 static void __packet_set_status(struct packet_sock *po, void *frame, int status) in __packet_set_status()
420 static int __packet_get_status(struct packet_sock *po, void *frame) in __packet_get_status()
458 static __u32 __packet_set_timestamp(struct packet_sock *po, void *frame, in __packet_set_timestamp()
491 static void *packet_lookup_frame(struct packet_sock *po, in packet_lookup_frame()
511 static void *packet_current_frame(struct packet_sock *po, in packet_current_frame()
523 static void prb_shutdown_retire_blk_timer(struct packet_sock *po, in prb_shutdown_retire_blk_timer()
537 static void prb_init_blk_timer(struct packet_sock *po, in prb_init_blk_timer()
547 static void prb_setup_retire_blk_timer(struct packet_sock *po) in prb_setup_retire_blk_timer()
555 static int prb_calc_retire_blk_tmo(struct packet_sock *po, in prb_calc_retire_blk_tmo()
604 static void init_prb_bdqc(struct packet_sock *po, in init_prb_bdqc()
673 struct packet_sock *po = (struct packet_sock *)data; in prb_retire_rx_blk_timer_expired()
789 struct packet_sock *po, unsigned int stat) in prb_close_block()
902 struct packet_sock *po) in prb_freeze_queue()
917 struct packet_sock *po) in prb_dispatch_next_block()
942 struct packet_sock *po, unsigned int status) in prb_retire_current_block()
1041 static void *__packet_lookup_frame_in_block(struct packet_sock *po, in __packet_lookup_frame_in_block()
1103 static void *packet_current_rx_frame(struct packet_sock *po, in packet_current_rx_frame()
1123 static void *prb_lookup_block(struct packet_sock *po, in prb_lookup_block()
1147 static void *__prb_previous_block(struct packet_sock *po, in __prb_previous_block()
1155 static void *packet_previous_rx_frame(struct packet_sock *po, in packet_previous_rx_frame()
1165 static void packet_increment_rx_head(struct packet_sock *po, in packet_increment_rx_head()
1180 static void *packet_previous_frame(struct packet_sock *po, in packet_previous_frame()
1218 static int packet_alloc_pending(struct packet_sock *po) in packet_alloc_pending()
1229 static void packet_free_pending(struct packet_sock *po) in packet_free_pending()
1239 static bool __tpacket_has_room(struct packet_sock *po, int pow_off) in __tpacket_has_room()
1252 static bool __tpacket_v3_has_room(struct packet_sock *po, int pow_off) in __tpacket_v3_has_room()
1265 static int __packet_rcv_has_room(struct packet_sock *po, struct sk_buff *skb) in __packet_rcv_has_room()
1296 static int packet_rcv_has_room(struct packet_sock *po, struct sk_buff *skb) in packet_rcv_has_room()
1326 static bool fanout_flow_is_huge(struct packet_sock *po, struct sk_buff *skb) in fanout_flow_is_huge()
1375 struct packet_sock *po, *po_next, *po_skip = NULL; in fanout_demux_rollover()
1443 struct packet_sock *po; in packet_rcv_fanout()
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()
1556 static int fanout_set_data_cbpf(struct packet_sock *po, char __user *data, in fanout_set_data_cbpf()
1578 static int fanout_set_data_ebpf(struct packet_sock *po, char __user *data, in fanout_set_data_ebpf()
1603 static int fanout_set_data(struct packet_sock *po, char __user *data, in fanout_set_data()
1627 struct packet_sock *po = pkt_sk(sk); in fanout_add()
1722 struct packet_sock *po = pkt_sk(sk); in fanout_release()
1984 struct packet_sock *po; in packet_rcv()
2095 struct packet_sock *po; in tpacket_rcv()
2317 struct packet_sock *po = pkt_sk(skb->sk); in tpacket_destruct_skb()
2342 static int tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb, in tpacket_fill_skb()
2464 static int tpacket_snd(struct packet_sock *po, struct msghdr *msg) in tpacket_snd()
2639 struct packet_sock *po = pkt_sk(sk); in packet_snd()
2832 struct packet_sock *po = pkt_sk(sk); in packet_sendmsg()
2848 struct packet_sock *po; in packet_release()
2914 struct packet_sock *po = pkt_sk(sk); in packet_do_bind()
3039 .obj_size = sizeof(struct packet_sock),
3050 struct packet_sock *po; in packet_create()
3328 struct packet_sock *po = pkt_sk(sk); in packet_getname()
3401 struct packet_sock *po = pkt_sk(sk); in packet_mc_add()
3482 struct packet_sock *po = pkt_sk(sk); in packet_flush_mclist()
3505 struct packet_sock *po = pkt_sk(sk); in packet_setsockopt()
3722 struct packet_sock *po = pkt_sk(sk); in packet_getsockopt()
3839 struct packet_sock *po = pkt_sk(sk); in packet_notifier()
3938 struct packet_sock *po = pkt_sk(sk); in packet_poll()
4061 struct packet_sock *po = pkt_sk(sk); in packet_set_ring()
4212 struct packet_sock *po = pkt_sk(sk); in packet_mmap()
4351 const struct packet_sock *po = pkt_sk(s); in packet_seq_show()