Lines Matching refs:packet_sock

182 struct packet_sock;
186 static void *packet_previous_frame(struct packet_sock *po,
192 struct packet_sock *);
194 struct packet_sock *, unsigned int status);
235 static void __fanout_unlink(struct sock *sk, struct packet_sock *po);
236 static void __fanout_link(struct sock *sk, struct packet_sock *po);
243 static struct net_device *packet_cached_dev_get(struct packet_sock *po) in packet_cached_dev_get()
256 static void packet_cached_dev_assign(struct packet_sock *po, in packet_cached_dev_assign()
262 static void packet_cached_dev_reset(struct packet_sock *po) in packet_cached_dev_reset()
267 static bool packet_use_direct_xmit(const struct packet_sock *po) in packet_use_direct_xmit()
299 struct packet_sock *po = pkt_sk(sk); in __register_prot_hook()
326 struct packet_sock *po = pkt_sk(sk); in __unregister_prot_hook()
348 struct packet_sock *po = pkt_sk(sk); in unregister_prot_hook()
361 static void __packet_set_status(struct packet_sock *po, void *frame, int status) in __packet_set_status()
387 static int __packet_get_status(const struct packet_sock *po, void *frame) in __packet_get_status()
427 static __u32 __packet_set_timestamp(struct packet_sock *po, void *frame, in __packet_set_timestamp()
463 static void *packet_lookup_frame(const struct packet_sock *po, in packet_lookup_frame()
483 static void *packet_current_frame(struct packet_sock *po, in packet_current_frame()
495 static void prb_shutdown_retire_blk_timer(struct packet_sock *po, in prb_shutdown_retire_blk_timer()
509 static void prb_setup_retire_blk_timer(struct packet_sock *po) in prb_setup_retire_blk_timer()
519 static int prb_calc_retire_blk_tmo(struct packet_sock *po, in prb_calc_retire_blk_tmo()
567 static void init_prb_bdqc(struct packet_sock *po, in init_prb_bdqc()
636 struct packet_sock *po = in prb_retire_rx_blk_timer_expired()
753 struct packet_sock *po, unsigned int stat) in prb_close_block()
866 struct packet_sock *po) in prb_freeze_queue()
881 struct packet_sock *po) in prb_dispatch_next_block()
906 struct packet_sock *po, unsigned int status) in prb_retire_current_block()
1004 static void *__packet_lookup_frame_in_block(struct packet_sock *po, in __packet_lookup_frame_in_block()
1065 static void *packet_current_rx_frame(struct packet_sock *po, in packet_current_rx_frame()
1085 static void *prb_lookup_block(const struct packet_sock *po, in prb_lookup_block()
1109 static void *__prb_previous_block(struct packet_sock *po, in __prb_previous_block()
1117 static void *packet_previous_rx_frame(struct packet_sock *po, in packet_previous_rx_frame()
1127 static void packet_increment_rx_head(struct packet_sock *po, in packet_increment_rx_head()
1142 static void *packet_previous_frame(struct packet_sock *po, in packet_previous_frame()
1180 static int packet_alloc_pending(struct packet_sock *po) in packet_alloc_pending()
1191 static void packet_free_pending(struct packet_sock *po) in packet_free_pending()
1201 static bool __tpacket_has_room(const struct packet_sock *po, int pow_off) in __tpacket_has_room()
1214 static bool __tpacket_v3_has_room(const struct packet_sock *po, int pow_off) in __tpacket_v3_has_room()
1227 static int __packet_rcv_has_room(const struct packet_sock *po, in __packet_rcv_has_room()
1261 static int packet_rcv_has_room(struct packet_sock *po, struct sk_buff *skb) in packet_rcv_has_room()
1274 static void packet_rcv_try_clear_pressure(struct packet_sock *po) in packet_rcv_try_clear_pressure()
1296 static bool fanout_flow_is_huge(struct packet_sock *po, struct sk_buff *skb) in fanout_flow_is_huge()
1345 struct packet_sock *po, *po_next, *po_skip = NULL; in fanout_demux_rollover()
1413 struct packet_sock *po; in packet_rcv_fanout()
1464 static void __fanout_link(struct sock *sk, struct packet_sock *po) in __fanout_link()
1477 static void __fanout_unlink(struct sock *sk, struct packet_sock *po) in __fanout_unlink()
1531 static int fanout_set_data_cbpf(struct packet_sock *po, char __user *data, in fanout_set_data_cbpf()
1553 static int fanout_set_data_ebpf(struct packet_sock *po, char __user *data, in fanout_set_data_ebpf()
1574 static int fanout_set_data(struct packet_sock *po, char __user *data, in fanout_set_data()
1629 struct packet_sock *po = pkt_sk(sk); in fanout_add()
1750 struct packet_sock *po = pkt_sk(sk); in fanout_release()
2042 struct packet_sock *po; in packet_rcv()
2156 struct packet_sock *po; in tpacket_rcv()
2404 struct packet_sock *po = pkt_sk(skb->sk); in tpacket_destruct_skb()
2452 static int tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb, in tpacket_fill_skb()
2532 static int tpacket_parse_header(struct packet_sock *po, void *frame, in tpacket_parse_header()
2600 static int tpacket_snd(struct packet_sock *po, struct msghdr *msg) in tpacket_snd()
2832 struct packet_sock *po = pkt_sk(sk); in packet_snd()
2979 struct packet_sock *po = pkt_sk(sk); in packet_sendmsg()
2995 struct packet_sock *po; in packet_release()
3070 struct packet_sock *po = pkt_sk(sk); in packet_do_bind()
3206 .obj_size = sizeof(struct packet_sock),
3217 struct packet_sock *po; in packet_create()
3462 struct packet_sock *po = pkt_sk(sk); in packet_getname()
3534 struct packet_sock *po = pkt_sk(sk); in packet_mc_add()
3615 struct packet_sock *po = pkt_sk(sk); in packet_flush_mclist()
3638 struct packet_sock *po = pkt_sk(sk); in packet_setsockopt()
3907 struct packet_sock *po = pkt_sk(sk); in packet_getsockopt()
4028 struct packet_sock *po = pkt_sk(sock->sk); in compat_packet_setsockopt()
4054 struct packet_sock *po = pkt_sk(sk); in packet_notifier()
4148 struct packet_sock *po = pkt_sk(sk); in packet_poll()
4270 struct packet_sock *po = pkt_sk(sk); in packet_set_ring()
4426 struct packet_sock *po = pkt_sk(sk); in packet_mmap()
4570 const struct packet_sock *po = pkt_sk(s); in packet_seq_show()