Lines Matching refs:rx_xsk
60 struct xsk *rx_xsk; variable
405 static int verify_metadata(struct xsk *rx_xsk, int rxq, int server_fd, clockid_t clock_id) in verify_metadata() argument
416 fds[i].fd = xsk_socket__fd(rx_xsk[i].socket); in verify_metadata()
429 ret = kick_rx(&rx_xsk[i]); in verify_metadata()
453 struct xsk *xsk = &rx_xsk[i]; in verify_metadata()
580 close_xsk(&rx_xsk[i]); in cleanup()
676 rx_xsk = malloc(sizeof(struct xsk) * rxq); in main()
677 if (!rx_xsk) in main()
681 printf("open_xsk(%s, %p, %d)\n", ifname, &rx_xsk[i], i); in main()
682 ret = open_xsk(ifindex, &rx_xsk[i], i); in main()
686 printf("xsk_socket__fd() -> %d\n", xsk_socket__fd(rx_xsk[i].socket)); in main()
713 int sock_fd = xsk_socket__fd(rx_xsk[i].socket); in main()
730 ret = verify_metadata(rx_xsk, rxq, server_fd, clock_id); in main()