]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/uapi/linux/tc_act/tc_bpf.h
Merge remote-tracking branches 'asoc/topic/dwc', 'asoc/topic/fallthrough', 'asoc...
[mirror_ubuntu-bionic-kernel.git] / include / uapi / linux / tc_act / tc_bpf.h
CommitLineData
e2be04c7 1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
d23b8ad8
JP
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
18struct tc_act_bpf {
19 tc_gen;
20};
21
22enum {
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,
a8cb5f55
DB
28 TCA_ACT_BPF_FD,
29 TCA_ACT_BPF_NAME,
9854518e 30 TCA_ACT_BPF_PAD,
f1f7714e 31 TCA_ACT_BPF_TAG,
e8628307 32 TCA_ACT_BPF_ID,
d23b8ad8
JP
33 __TCA_ACT_BPF_MAX,
34};
35#define TCA_ACT_BPF_MAX (__TCA_ACT_BPF_MAX - 1)
36
37#endif