• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /*
3  * Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  */
10 
11 #ifndef __LINUX_TC_BPF_H
12 #define __LINUX_TC_BPF_H
13 
14 #include <linux/pkt_cls.h>
15 
16 #define TCA_ACT_BPF 13
17 
18 struct tc_act_bpf {
19 	tc_gen;
20 };
21 
22 enum {
23 	TCA_ACT_BPF_UNSPEC,
24 	TCA_ACT_BPF_TM,
25 	TCA_ACT_BPF_PARMS,
26 	TCA_ACT_BPF_OPS_LEN,
27 	TCA_ACT_BPF_OPS,
28 	TCA_ACT_BPF_FD,
29 	TCA_ACT_BPF_NAME,
30 	TCA_ACT_BPF_PAD,
31 	TCA_ACT_BPF_TAG,
32 	TCA_ACT_BPF_ID,
33 	__TCA_ACT_BPF_MAX,
34 };
35 #define TCA_ACT_BPF_MAX (__TCA_ACT_BPF_MAX - 1)
36 
37 #endif
38