Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
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()
Dxdpsock_user.c381 if (!xsk_get_xdp_stats(xsk_socket__fd(xsks[i]->xsk), xsks[i])) { in dump_stats()
1094 ret = sendto(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, 0); in kick_tx()
1224 fds[i].fd = xsk_socket__fd(xsks[i]->xsk); in rx_drop_all()
1304 fds[0].fd = xsk_socket__fd(xsks[i]->xsk); in tx_only_all()
1392 fds[i].fd = xsk_socket__fd(xsks[i]->xsk); in l2fwd_all()
1452 int fd = xsk_socket__fd(xsks[i]->xsk); in enter_xsks_into_map()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf.map155 xsk_socket__fd;
Dxsk.h187 LIBBPF_API int xsk_socket__fd(const struct xsk_socket *xsk);
Dxsk.c107 int xsk_socket__fd(const struct xsk_socket *xsk) in xsk_socket__fd() function
/Linux-v5.10/Documentation/networking/
Daf_xdp.rst382 sendto(xsk_socket__fd(xsk_handle), NULL, 0, MSG_DONTWAIT, NULL, 0);