xsk_socket_info
bool all_packets_received(struct test_spec *test, struct xsk_socket_info *xsk, u32 sock_num,
struct xsk_socket_info *xsk;
static int __send_pkts(struct ifobject *ifobject, struct xsk_socket_info *xsk, bool timeout)
static int wait_for_tx_completion(struct xsk_socket_info *xsk)
static int enable_busy_poll(struct xsk_socket_info *xsk)
int xsk_configure_socket(struct xsk_socket_info *xsk, struct xsk_umem_info *umem,
static void gen_eth_hdr(struct xsk_socket_info *xsk, struct ethhdr *eth_hdr)
static void pkt_generate(struct xsk_socket_info *xsk, struct xsk_umem_info *umem, u64 addr, u32 len,
static bool kick_tx_with_check(struct xsk_socket_info *xsk, int *ret)
int kick_tx(struct xsk_socket_info *xsk)
int kick_rx(struct xsk_socket_info *xsk)
static int complete_pkts(struct xsk_socket_info *xsk, int batch_size)
static int __receive_pkts(struct test_spec *test, struct xsk_socket_info *xsk)
struct xsk_socket_info *xsk;
struct xsk_socket_info *xsk_arr;
int xsk_configure_socket(struct xsk_socket_info *xsk, struct xsk_umem_info *umem,
int kick_rx(struct xsk_socket_info *xsk);
int kick_tx(struct xsk_socket_info *xsk);
struct xsk_socket_info *xsk;
xsk = calloc(1, sizeof(struct xsk_socket_info));