Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dxdp_metadata.c188 ret = sendto(xsk_socket__fd(xsk->socket), NULL, 0, MSG_DONTWAIT, NULL, 0); in generate_packet()
232 ret = recvfrom(xsk_socket__fd(xsk->socket), NULL, 0, MSG_DONTWAIT, NULL, NULL); in verify_xsk_metadata()
236 fds.fd = xsk_socket__fd(xsk->socket); in verify_xsk_metadata()
352 sock_fd = xsk_socket__fd(rx_xsk.socket); in test_xdp_metadata()
/linux-6.6.21/tools/testing/selftests/bpf/
Dxdp_hw_metadata.c242 fds[i].fd = xsk_socket__fd(rx_xsk[i].socket); in verify_metadata()
439 printf("xsk_socket__fd() -> %d\n", xsk_socket__fd(rx_xsk[i].socket)); in main()
466 int sock_fd = xsk_socket__fd(rx_xsk[i].socket); in main()
Dxskxceiver.c230 if (setsockopt(xsk_socket__fd(xsk->xsk), SOL_SOCKET, SO_PREFER_BUSY_POLL, in enable_busy_poll()
235 if (setsockopt(xsk_socket__fd(xsk->xsk), SOL_SOCKET, SO_BUSY_POLL, in enable_busy_poll()
240 if (setsockopt(xsk_socket__fd(xsk->xsk), SOL_SOCKET, SO_BUSY_POLL_BUDGET, in enable_busy_poll()
923 ret = sendto(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, 0); in kick_tx()
937 ret = recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, NULL); in kick_rx()
1223 fds.fd = xsk_socket__fd(ifobject->xsk->xsk); in send_pkts()
1242 int fd = xsk_socket__fd(xsk), err; in get_xsk_stats()
1329 int fd = xsk_socket__fd(xsk); in validate_tx_invalid_descs()
1508 fds.fd = xsk_socket__fd(ifobject->xsk->xsk); in worker_testapp_validate_rx()
Dxsk.h188 int xsk_socket__fd(const struct xsk_socket *xsk);
Dxsk.c97 int xsk_socket__fd(const struct xsk_socket *xsk) in xsk_socket__fd() function
451 sock_fd = xsk_socket__fd(xsk); in xsk_update_xskmap()
/linux-6.6.21/Documentation/networking/
Daf_xdp.rst382 sendto(xsk_socket__fd(xsk_handle), NULL, 0, MSG_DONTWAIT, NULL, 0);