Home
last modified time | relevance | path

Searched refs:xsk_socket__fd (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dxdp_metadata.c193 ret = sendto(xsk_socket__fd(xsk->socket), NULL, 0, MSG_DONTWAIT, NULL, 0); in generate_packet()
237 ret = recvfrom(xsk_socket__fd(xsk->socket), NULL, 0, MSG_DONTWAIT, NULL, NULL); in verify_xsk_metadata()
241 fds.fd = xsk_socket__fd(xsk->socket); in verify_xsk_metadata()
355 sock_fd = xsk_socket__fd(rx_xsk.socket); in test_xdp_metadata()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dxdp_hw_metadata.c203 fds[i].fd = xsk_socket__fd(rx_xsk[i].socket); in verify_metadata()
396 printf("xsk_socket__fd() -> %d\n", xsk_socket__fd(rx_xsk[i].socket)); in main()
423 int sock_fd = xsk_socket__fd(rx_xsk[i].socket); in main()
A Dxskxceiver.c300 if (setsockopt(xsk_socket__fd(xsk->xsk), SOL_SOCKET, SO_PREFER_BUSY_POLL, in enable_busy_poll()
305 if (setsockopt(xsk_socket__fd(xsk->xsk), SOL_SOCKET, SO_BUSY_POLL, in enable_busy_poll()
310 if (setsockopt(xsk_socket__fd(xsk->xsk), SOL_SOCKET, SO_BUSY_POLL_BUDGET, in enable_busy_poll()
847 ret = sendto(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, 0); in kick_tx()
861 ret = recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, NULL); in kick_rx()
1077 fds.fd = xsk_socket__fd(ifobject->xsk->xsk); in send_pkts()
1094 int fd = xsk_socket__fd(xsk), err; in get_xsk_stats()
1174 int fd = xsk_socket__fd(xsk); in validate_tx_invalid_descs()
1339 fds.fd = xsk_socket__fd(ifobject->xsk->xsk); in worker_testapp_validate_rx()
A Dxsk.h183 int xsk_socket__fd(const struct xsk_socket *xsk);
A Dxsk.c89 int xsk_socket__fd(const struct xsk_socket *xsk) in xsk_socket__fd() function
317 sock_fd = xsk_socket__fd(xsk); in xsk_update_xskmap()
/linux-6.3-rc2/Documentation/networking/
A Daf_xdp.rst382 sendto(xsk_socket__fd(xsk_handle), NULL, 0, MSG_DONTWAIT, NULL, 0);

Completed in 14 milliseconds