GNU Linux-libre 6.6.15-gnu
[releases.git] / 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
5 struct 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