Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/bpf/
Dxsk.c35 #ifndef SOL_XDP
36 #define SOL_XDP 283 macro
172 err = setsockopt(umem->fd, SOL_XDP, XDP_UMEM_REG, &mr, sizeof(mr)); in xsk_umem__create_v0_0_4()
177 err = setsockopt(umem->fd, SOL_XDP, XDP_UMEM_FILL_RING, in xsk_umem__create_v0_0_4()
184 err = setsockopt(umem->fd, SOL_XDP, XDP_UMEM_COMPLETION_RING, in xsk_umem__create_v0_0_4()
193 err = getsockopt(umem->fd, SOL_XDP, XDP_MMAP_OFFSETS, &off, &optlen); in xsk_umem__create_v0_0_4()
535 err = setsockopt(xsk->fd, SOL_XDP, XDP_RX_RING, in xsk_socket__create()
544 err = setsockopt(xsk->fd, SOL_XDP, XDP_TX_RING, in xsk_socket__create()
554 err = getsockopt(xsk->fd, SOL_XDP, XDP_MMAP_OFFSETS, &off, &optlen); in xsk_socket__create()
650 err = getsockopt(umem->fd, SOL_XDP, XDP_MMAP_OFFSETS, &off, &optlen); in xsk_umem__delete()
[all …]
/Linux-v5.4/samples/bpf/
Dxdpsock_user.c34 #ifndef SOL_XDP
35 #define SOL_XDP 283 macro
/Linux-v5.4/include/linux/
Dsocket.h348 #define SOL_XDP 283 macro
/Linux-v5.4/net/xdp/
Dxsk.c734 if (level != SOL_XDP) in xsk_setsockopt()
847 if (level != SOL_XDP) in xsk_getsockopt()