Merge tag 'xtensa-20180225' of git://github.com/jcmvbkbc/linux-xtensa
[cris-mirror.git] / include / uapi / linux / tc_act / tc_bpf.h
blob6e89a5df49a46a601cd5b4e82b0a4dcb6af7e23c
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /*
3 * Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us>
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 */
11 #ifndef __LINUX_TC_BPF_H
12 #define __LINUX_TC_BPF_H
14 #include <linux/pkt_cls.h>
16 #define TCA_ACT_BPF 13
18 struct tc_act_bpf {
19 tc_gen;
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,
35 #define TCA_ACT_BPF_MAX (__TCA_ACT_BPF_MAX - 1)
37 #endif