FILE
xdp_sample_shared.h
File preview with syntax highlighting.
linux-6.19.14/samples/bpf/xdp_sample_shared.h
1// SPDX-License-Identifier: GPL-2.0-only 2#ifndef _XDP_SAMPLE_SHARED_H 3#define _XDP_SAMPLE_SHARED_H 4 5struct datarec { 6 size_t processed; 7 size_t dropped; 8 size_t issue; 9 union { 10 size_t xdp_pass; 11 size_t info; 12 }; 13 size_t xdp_drop; 14 size_t xdp_redirect; 15} __attribute__((aligned(64))); 16 17#endif
~/
Read-only file preview.