Searched refs:xsk_socket__fd (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_metadata.c | 188 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/ |
D | xdp_hw_metadata.c | 242 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()
|
D | xskxceiver.c | 230 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()
|
D | xsk.h | 188 int xsk_socket__fd(const struct xsk_socket *xsk);
|
D | xsk.c | 97 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/ |
D | af_xdp.rst | 382 sendto(xsk_socket__fd(xsk_handle), NULL, 0, MSG_DONTWAIT, NULL, 0);
|