summaryrefslogtreecommitdiffstats
path: root/headers/xdp/xdp_helpers.h
blob: ec295367a8a08327dde0a5873962c19ef968809c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* 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