Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/bpf/
Dxsk.c37 #ifndef SOL_XDP
38 #define SOL_XDP 283 macro
201 err = getsockopt(fd, SOL_XDP, XDP_MMAP_OFFSETS, off, &optlen); in xsk_get_mmap_offsets()
224 err = setsockopt(fd, SOL_XDP, XDP_UMEM_FILL_RING, in xsk_create_umem_rings()
230 err = setsockopt(fd, SOL_XDP, XDP_UMEM_COMPLETION_RING, in xsk_create_umem_rings()
311 err = setsockopt(umem->fd, SOL_XDP, XDP_UMEM_REG, &mr, sizeof(mr)); in xsk_umem__create_v0_0_4()
763 err = setsockopt(xsk->fd, SOL_XDP, XDP_RX_RING, in xsk_socket__create_shared()
774 err = setsockopt(xsk->fd, SOL_XDP, XDP_TX_RING, in xsk_socket__create_shared()
/kernel/linux/linux-5.10/include/linux/
Dsocket.h363 #define SOL_XDP 283 macro
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/
Dsocket.h362 #define SOL_XDP 283 macro
/kernel/linux/linux-5.10/samples/bpf/
Dxdpsock_user.c39 #ifndef SOL_XDP
40 #define SOL_XDP 283 macro
200 err = getsockopt(fd, SOL_XDP, XDP_STATISTICS, &stats, &optlen); in xsk_get_xdp_stats()
/kernel/linux/linux-5.10/net/xdp/
Dxsk.c827 if (level != SOL_XDP) in xsk_setsockopt()
942 if (level != SOL_XDP) in xsk_getsockopt()