1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef __LINUX_TC_SKBEDIT_H
20 #define __LINUX_TC_SKBEDIT_H
21 #include <linux/pkt_cls.h>
22 #define SKBEDIT_F_PRIORITY 0x1
23 #define SKBEDIT_F_QUEUE_MAPPING 0x2
24 #define SKBEDIT_F_MARK 0x4
25 #define SKBEDIT_F_PTYPE 0x8
26 #define SKBEDIT_F_MASK 0x10
27 #define SKBEDIT_F_INHERITDSFIELD 0x20
28 struct tc_skbedit {
29   tc_gen;
30 };
31 enum {
32   TCA_SKBEDIT_UNSPEC,
33   TCA_SKBEDIT_TM,
34   TCA_SKBEDIT_PARMS,
35   TCA_SKBEDIT_PRIORITY,
36   TCA_SKBEDIT_QUEUE_MAPPING,
37   TCA_SKBEDIT_MARK,
38   TCA_SKBEDIT_PAD,
39   TCA_SKBEDIT_PTYPE,
40   TCA_SKBEDIT_MASK,
41   TCA_SKBEDIT_FLAGS,
42   __TCA_SKBEDIT_MAX
43 };
44 #define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1)
45 #endif
46