1 /* SPDX-License-Identifier: GPL-2.0 */ 2 3 #ifndef XSK_XDP_COMMON_H_ 4 #define XSK_XDP_COMMON_H_ 5 6 #define MAX_SOCKETS 2 7 #define PKT_HDR_ALIGN (sizeof(struct ethhdr) + 2) /* Just to align the data in the packet */ 8 9 struct xdp_info { 10 __u64 count; 11 } __attribute__((aligned(32))); 12 13 #endif /* XSK_XDP_COMMON_H_ */ 14