1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /*
3  * Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us>
4  */
5 
6 #ifndef __LINUX_TC_BPF_H
7 #define __LINUX_TC_BPF_H
8 
9 #include <linux/pkt_cls.h>
10 
11 struct tc_act_bpf {
12 	tc_gen;
13 };
14 
15 enum {
16 	TCA_ACT_BPF_UNSPEC,
17 	TCA_ACT_BPF_TM,
18 	TCA_ACT_BPF_PARMS,
19 	TCA_ACT_BPF_OPS_LEN,
20 	TCA_ACT_BPF_OPS,
21 	TCA_ACT_BPF_FD,
22 	TCA_ACT_BPF_NAME,
23 	TCA_ACT_BPF_PAD,
24 	TCA_ACT_BPF_TAG,
25 	TCA_ACT_BPF_ID,
26 	__TCA_ACT_BPF_MAX,
27 };
28 #define TCA_ACT_BPF_MAX (__TCA_ACT_BPF_MAX - 1)
29 
30 #endif
31