Lines Matching refs:packet_sock
185 struct packet_sock;
189 static void *packet_previous_frame(struct packet_sock *po,
195 struct packet_sock *);
197 struct packet_sock *, unsigned int status);
238 static void __fanout_unlink(struct sock *sk, struct packet_sock *po);
239 static void __fanout_link(struct sock *sk, struct packet_sock *po);
246 static struct net_device *packet_cached_dev_get(struct packet_sock *po)
259 static void packet_cached_dev_assign(struct packet_sock *po,
265 static void packet_cached_dev_reset(struct packet_sock *po)
270 static bool packet_use_direct_xmit(const struct packet_sock *po)
303 struct packet_sock *po = pkt_sk(sk);
330 struct packet_sock *po = pkt_sk(sk);
352 struct packet_sock *po = pkt_sk(sk);
365 static void __packet_set_status(struct packet_sock *po, void *frame, int status)
393 static int __packet_get_status(const struct packet_sock *po, void *frame)
436 static __u32 __packet_set_timestamp(struct packet_sock *po, void *frame,
479 static void *packet_lookup_frame(const struct packet_sock *po,
499 static void *packet_current_frame(struct packet_sock *po,
511 static void prb_shutdown_retire_blk_timer(struct packet_sock *po,
525 static void prb_setup_retire_blk_timer(struct packet_sock *po)
535 static int prb_calc_retire_blk_tmo(struct packet_sock *po,
578 static void init_prb_bdqc(struct packet_sock *po,
648 struct packet_sock *po =
764 struct packet_sock *po, unsigned int stat)
877 struct packet_sock *po)
892 struct packet_sock *po)
917 struct packet_sock *po, unsigned int status)
1017 static void *__packet_lookup_frame_in_block(struct packet_sock *po,
1078 static void *packet_current_rx_frame(struct packet_sock *po,
1098 static void *prb_lookup_block(const struct packet_sock *po,
1122 static void *__prb_previous_block(struct packet_sock *po,
1130 static void *packet_previous_rx_frame(struct packet_sock *po,
1140 static void packet_increment_rx_head(struct packet_sock *po,
1155 static void *packet_previous_frame(struct packet_sock *po,
1193 static int packet_alloc_pending(struct packet_sock *po)
1204 static void packet_free_pending(struct packet_sock *po)
1214 static bool __tpacket_has_room(const struct packet_sock *po, int pow_off)
1227 static bool __tpacket_v3_has_room(const struct packet_sock *po, int pow_off)
1240 static int __packet_rcv_has_room(const struct packet_sock *po,
1274 static int packet_rcv_has_room(struct packet_sock *po, struct sk_buff *skb)
1287 static void packet_rcv_try_clear_pressure(struct packet_sock *po)
1309 static bool fanout_flow_is_huge(struct packet_sock *po, struct sk_buff *skb)
1364 struct packet_sock *po, *po_next, *po_skip = NULL;
1432 struct packet_sock *po;
1483 static void __fanout_link(struct sock *sk, struct packet_sock *po)
1496 static void __fanout_unlink(struct sock *sk, struct packet_sock *po)
1553 static int fanout_set_data_cbpf(struct packet_sock *po, sockptr_t data,
1575 static int fanout_set_data_ebpf(struct packet_sock *po, sockptr_t data,
1596 static int fanout_set_data(struct packet_sock *po, sockptr_t data,
1651 struct packet_sock *po = pkt_sk(sk);
1789 struct packet_sock *po = pkt_sk(sk);
2089 struct packet_sock *po;
2203 struct packet_sock *po;
2478 struct packet_sock *po = pkt_sk(skb->sk);
2526 static int tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb,
2606 static int tpacket_parse_header(struct packet_sock *po, void *frame,
2674 static int tpacket_snd(struct packet_sock *po, struct msghdr *msg)
2908 struct packet_sock *po = pkt_sk(sk);
3060 struct packet_sock *po = pkt_sk(sk);
3079 struct packet_sock *po;
3154 struct packet_sock *po = pkt_sk(sk);
3292 .obj_size = sizeof(struct packet_sock),
3303 struct packet_sock *po;
3554 struct packet_sock *po = pkt_sk(sk);
3628 struct packet_sock *po = pkt_sk(sk);
3709 struct packet_sock *po = pkt_sk(sk);
3733 struct packet_sock *po = pkt_sk(sk);
4000 struct packet_sock *po = pkt_sk(sk);
4125 struct packet_sock *po = pkt_sk(sk);
4219 struct packet_sock *po = pkt_sk(sk);
4341 struct packet_sock *po = pkt_sk(sk);
4508 struct packet_sock *po = pkt_sk(sk);
4647 const struct packet_sock *po = pkt_sk(s);