Files
xdp-project-bpf-examples/headers/xdp/xdp_helpers.h

13 lines
300 B
C
Raw Normal View History

/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-clause) */
#ifndef __XDP_HELPERS_H
#define __XDP_HELPERS_H
#define _CONCAT(x,y) x ## y
#define XDP_RUN_CONFIG(f) _CONCAT(_,f) SEC(".xdp_run_config")
#define XDP_DEFAULT_RUN_PRIO 50
#define XDP_DEFAULT_CHAIN_CALL_ACTIONS (1<<XDP_PASS)
#endif