Searched refs:SOL_XDP (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/bpf/ |
A D | xdpxceiver.h | 8 #ifndef SOL_XDP 9 #define SOL_XDP 283 macro
|
A D | xdpxceiver.c | 889 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 D | xsk.c | 38 #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 D | socket.h | 366 #define SOL_XDP 283 macro
|
/linux/include/linux/ |
A D | socket.h | 366 #define SOL_XDP 283 macro
|
/linux/samples/bpf/ |
A D | xdpsock_user.c | 39 #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 D | xsk.c | 1005 if (level != SOL_XDP) in xsk_setsockopt() 1120 if (level != SOL_XDP) in xsk_getsockopt()
|
Completed in 23 milliseconds