Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
A Dxdpxceiver.h8 #ifndef SOL_XDP
9 #define SOL_XDP 283 macro
A Dxdpxceiver.c889 err = getsockopt(fd, SOL_XDP, XDP_STATISTICS, &stats, &optlen); in rx_stats_are_valid()
930 err = getsockopt(fd, SOL_XDP, XDP_STATISTICS, &stats, &optlen); in tx_stats_validate()
/linux/tools/lib/bpf/
A Dxsk.c38 #ifndef SOL_XDP
39 #define SOL_XDP 283 macro
209 err = getsockopt(fd, SOL_XDP, XDP_MMAP_OFFSETS, off, &optlen); in xsk_get_mmap_offsets()
232 err = setsockopt(fd, SOL_XDP, XDP_UMEM_FILL_RING, in xsk_create_umem_rings()
238 err = setsockopt(fd, SOL_XDP, XDP_UMEM_COMPLETION_RING, in xsk_create_umem_rings()
320 err = setsockopt(umem->fd, SOL_XDP, XDP_UMEM_REG, &mr, sizeof(mr)); in xsk_umem__create_v0_0_4()
1078 err = setsockopt(xsk->fd, SOL_XDP, XDP_RX_RING, in xsk_socket__create_shared()
1089 err = setsockopt(xsk->fd, SOL_XDP, XDP_TX_RING, in xsk_socket__create_shared()
/linux/tools/perf/trace/beauty/include/linux/
A Dsocket.h366 #define SOL_XDP 283 macro
/linux/include/linux/
A Dsocket.h366 #define SOL_XDP 283 macro
/linux/samples/bpf/
A Dxdpsock_user.c39 #ifndef SOL_XDP
40 #define SOL_XDP 283 macro
203 err = getsockopt(fd, SOL_XDP, XDP_STATISTICS, &stats, &optlen); in xsk_get_xdp_stats()
/linux/net/xdp/
A Dxsk.c1005 if (level != SOL_XDP) in xsk_setsockopt()
1120 if (level != SOL_XDP) in xsk_getsockopt()

Completed in 23 milliseconds