CNDP  22.08.0
examples/afxdp_user/main.c
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2021-2022 Intel Corporation.
*/
typedef unsigned long long u64;
typedef unsigned int u32;
typedef unsigned short u16;
typedef unsigned char u8;
typedef __signed__ int s32;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wcast-qual"
#ifdef __clang__
#pragma GCC diagnostic ignored "-Wincompatible-pointer-types-discards-qualifiers"
#else
#pragma GCC diagnostic ignored "-Wdiscarded-qualifiers"
#endif
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
#pragma GCC diagnostic ignored "-Wsign-compare"
/*
* This file is located in the /usr/src/linux-source-X.Y.Z/samples/bpf directory.
*
* The location is defined in the cndp/meson_options.txt file.
*/
#include "xdpsock_user.c"