Searched refs:SOL_XDP (Results 1 – 2 of 2) sorted by relevance
/tools/lib/bpf/ |
D | xsk.c | 37 #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()
|
/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 362 #define SOL_XDP 283 macro
|