Searched refs:SOL_XDP (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/tools/testing/selftests/bpf/ |
D | xdpxceiver.h | 8 #ifndef SOL_XDP 9 #define SOL_XDP 283 macro
|
D | xdpxceiver.c | 986 err = getsockopt(fd, SOL_XDP, XDP_STATISTICS, stats, &optlen); in get_xsk_stats() 1068 err = getsockopt(fd, SOL_XDP, XDP_STATISTICS, &stats, &optlen); in validate_tx_invalid_descs()
|
/linux-5.19.10/tools/lib/bpf/ |
D | xsk.c | 43 #ifndef SOL_XDP 44 #define SOL_XDP 283 macro 214 err = getsockopt(fd, SOL_XDP, XDP_MMAP_OFFSETS, off, &optlen); in xsk_get_mmap_offsets() 237 err = setsockopt(fd, SOL_XDP, XDP_UMEM_FILL_RING, in xsk_create_umem_rings() 243 err = setsockopt(fd, SOL_XDP, XDP_UMEM_COMPLETION_RING, in xsk_create_umem_rings() 325 err = setsockopt(umem->fd, SOL_XDP, XDP_UMEM_REG, &mr, sizeof(mr)); in xsk_umem__create_v0_0_4() 1061 err = setsockopt(xsk->fd, SOL_XDP, XDP_RX_RING, in xsk_socket__create_shared() 1072 err = setsockopt(xsk->fd, SOL_XDP, XDP_TX_RING, in xsk_socket__create_shared()
|
/linux-5.19.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 370 #define SOL_XDP 283 macro
|
/linux-5.19.10/include/linux/ |
D | socket.h | 370 #define SOL_XDP 283 macro
|
/linux-5.19.10/samples/bpf/ |
D | xdpsock_user.c | 43 #ifndef SOL_XDP 44 #define SOL_XDP 283 macro 300 err = getsockopt(fd, SOL_XDP, XDP_STATISTICS, &stats, &optlen); in xsk_get_xdp_stats()
|
/linux-5.19.10/net/xdp/ |
D | xsk.c | 1049 if (level != SOL_XDP) in xsk_setsockopt() 1164 if (level != SOL_XDP) in xsk_getsockopt()
|