#ifndef XSK_H_
#define XSK_H_
#define XSK_NEXT_PG_CONTIG_SHIFT …
#define XSK_NEXT_PG_CONTIG_MASK …
struct xdp_ring_offset_v1 { … };
struct xdp_mmap_offsets_v1 { … };
struct xsk_map_node { … };
static inline struct xdp_sock *xdp_sk(struct sock *sk)
{ … }
void xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs,
struct xdp_sock __rcu **map_entry);
void xsk_clear_pool_at_qid(struct net_device *dev, u16 queue_id);
int xsk_reg_pool_at_qid(struct net_device *dev, struct xsk_buff_pool *pool,
u16 queue_id);
#endif