Searched refs:xsk_socket__fd (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/samples/bpf/ |
D | xsk_fwd.c | 543 .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()
|
D | xdpsock_user.c | 381 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/ |
D | libbpf.map | 155 xsk_socket__fd;
|
D | xsk.h | 187 LIBBPF_API int xsk_socket__fd(const struct xsk_socket *xsk);
|
D | xsk.c | 107 int xsk_socket__fd(const struct xsk_socket *xsk) in xsk_socket__fd() function
|
/Linux-v5.10/Documentation/networking/ |
D | af_xdp.rst | 382 sendto(xsk_socket__fd(xsk_handle), NULL, 0, MSG_DONTWAIT, NULL, 0);
|