FILE
xsk_xdp_common.h
File preview with syntax highlighting.
linux-6.19.14/tools/testing/selftests/bpf/xsk_xdp_common.h
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 9struct xdp_info { 10 __u64 count; 11} __attribute__((aligned(32))); 12 13#endif /* XSK_XDP_COMMON_H_ */
~/
Read-only file preview.