packet_sock
static void *__packet_lookup_frame_in_block(struct packet_sock *po,
static void *packet_current_rx_frame(struct packet_sock *po,
static void *prb_lookup_block(const struct packet_sock *po,
static void *__prb_previous_block(struct packet_sock *po,
static void *packet_previous_rx_frame(struct packet_sock *po,
static void packet_increment_rx_head(struct packet_sock *po,
static void *packet_previous_frame(struct packet_sock *po,
static int packet_alloc_pending(struct packet_sock *po)
static void packet_free_pending(struct packet_sock *po)
static bool __tpacket_has_room(const struct packet_sock *po, int pow_off)
static bool __tpacket_v3_has_room(const struct packet_sock *po, int pow_off)
static int __packet_rcv_has_room(const struct packet_sock *po,
static int packet_rcv_has_room(struct packet_sock *po, struct sk_buff *skb)
static void packet_rcv_try_clear_pressure(struct packet_sock *po)
static bool fanout_flow_is_huge(struct packet_sock *po, struct sk_buff *skb)
struct packet_sock *po, *po_next, *po_skip = NULL;
struct packet_sock *po;
static void __fanout_link(struct sock *sk, struct packet_sock *po)
static void __fanout_unlink(struct sock *sk, struct packet_sock *po)
static int fanout_set_data_cbpf(struct packet_sock *po, sockptr_t data,
static int fanout_set_data_ebpf(struct packet_sock *po, sockptr_t data,
static int fanout_set_data(struct packet_sock *po, sockptr_t data,
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po = pkt_sk(sk);
struct packet_sock;
static void *packet_previous_frame(struct packet_sock *po,
struct packet_sock *);
struct packet_sock *, unsigned int status);
struct packet_sock *po;
struct packet_sock *po;
static void __fanout_unlink(struct sock *sk, struct packet_sock *po);
static void __fanout_link(struct sock *sk, struct packet_sock *po);
struct packet_sock *po = pkt_sk(skb->sk);
static int tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb,
static int tpacket_parse_header(struct packet_sock *po, void *frame,
static int tpacket_snd(struct packet_sock *po, struct msghdr *msg)
static int packet_xmit(const struct packet_sock *po, struct sk_buff *skb)
static struct net_device *packet_cached_dev_get(struct packet_sock *po)
struct packet_sock *po = pkt_sk(sk);
static void packet_cached_dev_assign(struct packet_sock *po,
static void packet_cached_dev_reset(struct packet_sock *po)
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po;
struct packet_sock *po = pkt_sk(sk);
.obj_size = sizeof(struct packet_sock),
struct packet_sock *po;
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po = pkt_sk(sk);
static void __packet_set_status(struct packet_sock *po, void *frame, int status)
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po = pkt_sk(sk);
static int __packet_get_status(const struct packet_sock *po, void *frame)
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po = pkt_sk(sk);
struct packet_sock *po = pkt_sk(sk);
static __u32 __packet_set_timestamp(struct packet_sock *po, void *frame,
const struct packet_sock *po = pkt_sk(s);
static void *packet_lookup_frame(const struct packet_sock *po,
static void *packet_current_frame(struct packet_sock *po,
static void prb_shutdown_retire_blk_timer(struct packet_sock *po,
static int prb_calc_retire_blk_tmo(struct packet_sock *po,
static void init_prb_bdqc(struct packet_sock *po,
struct packet_sock *po =
struct packet_sock *po, unsigned int stat)
struct packet_sock *po)
struct packet_sock *po)
struct packet_sock *po, unsigned int status)
struct packet_sock *po = container_of(pkc, struct packet_sock, rx_ring.prb_bdqc);
static int pdiag_put_fanout(struct packet_sock *po, struct sk_buff *nlskb)
static int pdiag_put_info(const struct packet_sock *po, struct sk_buff *nlskb)
struct packet_sock *po = pkt_sk(sk);
static int pdiag_put_mclist(const struct packet_sock *po, struct sk_buff *nlskb)
static int pdiag_put_rings_cfg(struct packet_sock *po, struct sk_buff *skb)
#define pkt_sk(ptr) container_of_const(ptr, struct packet_sock, sk)
static inline void packet_sock_flag_set(struct packet_sock *po,
static inline bool packet_sock_flag(const struct packet_sock *po,