Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / uapi / linux / tc_act / tc_gate.h
blobf214b3a6d44f7e34f7884bf68b7d1fd537b45d21
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /* Copyright 2020 NXP */
4 #ifndef __LINUX_TC_GATE_H
5 #define __LINUX_TC_GATE_H
7 #include <linux/pkt_cls.h>
9 struct tc_gate {
10 tc_gen;
13 enum {
14 TCA_GATE_ENTRY_UNSPEC,
15 TCA_GATE_ENTRY_INDEX,
16 TCA_GATE_ENTRY_GATE,
17 TCA_GATE_ENTRY_INTERVAL,
18 TCA_GATE_ENTRY_IPV,
19 TCA_GATE_ENTRY_MAX_OCTETS,
20 __TCA_GATE_ENTRY_MAX,
22 #define TCA_GATE_ENTRY_MAX (__TCA_GATE_ENTRY_MAX - 1)
24 enum {
25 TCA_GATE_ONE_ENTRY_UNSPEC,
26 TCA_GATE_ONE_ENTRY,
27 __TCA_GATE_ONE_ENTRY_MAX,
29 #define TCA_GATE_ONE_ENTRY_MAX (__TCA_GATE_ONE_ENTRY_MAX - 1)
31 enum {
32 TCA_GATE_UNSPEC,
33 TCA_GATE_TM,
34 TCA_GATE_PARMS,
35 TCA_GATE_PAD,
36 TCA_GATE_PRIORITY,
37 TCA_GATE_ENTRY_LIST,
38 TCA_GATE_BASE_TIME,
39 TCA_GATE_CYCLE_TIME,
40 TCA_GATE_CYCLE_TIME_EXT,
41 TCA_GATE_FLAGS,
42 TCA_GATE_CLOCKID,
43 __TCA_GATE_MAX,
45 #define TCA_GATE_MAX (__TCA_GATE_MAX - 1)
47 #endif