Home
last modified time | relevance | path

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

/linux-5.19.10/samples/bpf/
Dxdpsock_user.c490 if (!xsk_get_xdp_stats(xsk_socket__fd(xsks[i]->xsk), xsks[i])) { in dump_stats()
1346 ret = sendto(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, 0); in kick_tx()
1388 recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, in complete_tx_l2fwd()
1435 recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, NULL); in rx_drop()
1446 recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, NULL); in rx_drop()
1474 fds[i].fd = xsk_socket__fd(xsks[i]->xsk); in rx_drop_all()
1588 fds[0].fd = xsk_socket__fd(xsks[i]->xsk); in tx_only_all()
1678 recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, NULL); in l2fwd()
1726 fds[i].fd = xsk_socket__fd(xsks[i]->xsk); in l2fwd_all()
1782 int fd = xsk_socket__fd(xsks[i]->xsk); in enter_xsks_into_map()
[all …]
Dxsk_fwd.c543 .fd = xsk_socket__fd(p->xsk), in port_rx_burst()
570 .fd = xsk_socket__fd(p->xsk), in port_rx_burst()
615 sendto(xsk_socket__fd(p->xsk), NULL, 0, MSG_DONTWAIT, in port_tx_burst()
626 sendto(xsk_socket__fd(p->xsk), NULL, 0, MSG_DONTWAIT, NULL, 0); in port_tx_burst()
/linux-5.19.10/tools/testing/selftests/bpf/
Dxdpxceiver.c282 if (setsockopt(xsk_socket__fd(xsk->xsk), SOL_SOCKET, SO_PREFER_BUSY_POLL, in enable_busy_poll()
287 if (setsockopt(xsk_socket__fd(xsk->xsk), SOL_SOCKET, SO_BUSY_POLL, in enable_busy_poll()
292 if (setsockopt(xsk_socket__fd(xsk->xsk), SOL_SOCKET, SO_BUSY_POLL_BUDGET, in enable_busy_poll()
776 ret = sendto(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, 0); in kick_tx()
790 ret = recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, NULL); in kick_rx()
954 fds.fd = xsk_socket__fd(ifobject->xsk->xsk); in send_pkts()
982 int fd = xsk_socket__fd(xsk), err; in get_xsk_stats()
1062 int fd = xsk_socket__fd(xsk); in validate_tx_invalid_descs()
1216 fds.fd = xsk_socket__fd(ifobject->xsk->xsk); in worker_testapp_validate_rx()
/linux-5.19.10/tools/lib/bpf/
Dlibbpf.map155 xsk_socket__fd;
Dxsk.h257 int xsk_socket__fd(const struct xsk_socket *xsk);
Dxsk.c122 int xsk_socket__fd(const struct xsk_socket *xsk) in xsk_socket__fd() function
/linux-5.19.10/Documentation/networking/
Daf_xdp.rst382 sendto(xsk_socket__fd(xsk_handle), NULL, 0, MSG_DONTWAIT, NULL, 0);