Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 #ifndef _XDP_SAMPLE_SHARED_H
0003 #define _XDP_SAMPLE_SHARED_H
0004 
0005 struct datarec {
0006     size_t processed;
0007     size_t dropped;
0008     size_t issue;
0009     union {
0010         size_t xdp_pass;
0011         size_t info;
0012     };
0013     size_t xdp_drop;
0014     size_t xdp_redirect;
0015 } __attribute__((aligned(64)));
0016 
0017 #endif