Lines Matching refs:packet_sock
190 struct packet_sock;
194 static void *packet_previous_frame(struct packet_sock *po,
200 struct packet_sock *);
202 struct packet_sock *, unsigned int status);
243 static void __fanout_unlink(struct sock *sk, struct packet_sock *po);
244 static void __fanout_link(struct sock *sk, struct packet_sock *po);
273 static int packet_xmit(const struct packet_sock *po, struct sk_buff *skb)
288 static struct net_device *packet_cached_dev_get(struct packet_sock *po)
300 static void packet_cached_dev_assign(struct packet_sock *po,
306 static void packet_cached_dev_reset(struct packet_sock *po)
338 struct packet_sock *po = pkt_sk(sk);
365 struct packet_sock *po = pkt_sk(sk);
387 struct packet_sock *po = pkt_sk(sk);
400 static void __packet_set_status(struct packet_sock *po, void *frame, int status)
428 static int __packet_get_status(const struct packet_sock *po, void *frame)
471 static __u32 __packet_set_timestamp(struct packet_sock *po, void *frame,
514 static void *packet_lookup_frame(const struct packet_sock *po,
534 static void *packet_current_frame(struct packet_sock *po,
546 static void prb_shutdown_retire_blk_timer(struct packet_sock *po,
560 static void prb_setup_retire_blk_timer(struct packet_sock *po)
570 static int prb_calc_retire_blk_tmo(struct packet_sock *po,
613 static void init_prb_bdqc(struct packet_sock *po,
683 struct packet_sock *po =
799 struct packet_sock *po, unsigned int stat)
912 struct packet_sock *po)
927 struct packet_sock *po)
952 struct packet_sock *po, unsigned int status)
1052 static void *__packet_lookup_frame_in_block(struct packet_sock *po,
1113 static void *packet_current_rx_frame(struct packet_sock *po,
1133 static void *prb_lookup_block(const struct packet_sock *po,
1157 static void *__prb_previous_block(struct packet_sock *po,
1165 static void *packet_previous_rx_frame(struct packet_sock *po,
1175 static void packet_increment_rx_head(struct packet_sock *po,
1190 static void *packet_previous_frame(struct packet_sock *po,
1228 static int packet_alloc_pending(struct packet_sock *po)
1239 static void packet_free_pending(struct packet_sock *po)
1249 static bool __tpacket_has_room(const struct packet_sock *po, int pow_off)
1262 static bool __tpacket_v3_has_room(const struct packet_sock *po, int pow_off)
1275 static int __packet_rcv_has_room(const struct packet_sock *po,
1309 static int packet_rcv_has_room(struct packet_sock *po, struct sk_buff *skb)
1323 static void packet_rcv_try_clear_pressure(struct packet_sock *po)
1343 static bool fanout_flow_is_huge(struct packet_sock *po, struct sk_buff *skb)
1398 struct packet_sock *po, *po_next, *po_skip = NULL;
1467 struct packet_sock *po;
1518 static void __fanout_link(struct sock *sk, struct packet_sock *po)
1531 static void __fanout_unlink(struct sock *sk, struct packet_sock *po)
1588 static int fanout_set_data_cbpf(struct packet_sock *po, sockptr_t data,
1610 static int fanout_set_data_ebpf(struct packet_sock *po, sockptr_t data,
1631 static int fanout_set_data(struct packet_sock *po, sockptr_t data,
1686 struct packet_sock *po = pkt_sk(sk);
1826 struct packet_sock *po = pkt_sk(sk);
2126 struct packet_sock *po;
2241 struct packet_sock *po;
2519 struct packet_sock *po = pkt_sk(skb->sk);
2577 static int tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb,
2657 static int tpacket_parse_header(struct packet_sock *po, void *frame,
2725 static int tpacket_snd(struct packet_sock *po, struct msghdr *msg)
2961 struct packet_sock *po = pkt_sk(sk);
3111 struct packet_sock *po = pkt_sk(sk);
3130 struct packet_sock *po;
3202 struct packet_sock *po = pkt_sk(sk);
3334 .obj_size = sizeof(struct packet_sock),
3345 struct packet_sock *po;
3593 struct packet_sock *po = pkt_sk(sk);
3672 struct packet_sock *po = pkt_sk(sk);
3753 struct packet_sock *po = pkt_sk(sk);
3777 struct packet_sock *po = pkt_sk(sk);
4049 struct packet_sock *po = pkt_sk(sk);
4177 struct packet_sock *po = pkt_sk(sk);
4271 struct packet_sock *po = pkt_sk(sk);
4393 struct packet_sock *po = pkt_sk(sk);
4560 struct packet_sock *po = pkt_sk(sk);
4699 const struct packet_sock *po = pkt_sk(s);