• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #define SKBEDIT_F_TXQ_SKBHASH 0x40
29 struct tc_skbedit {
30   tc_gen;
31 };
32 enum {
33   TCA_SKBEDIT_UNSPEC,
34   TCA_SKBEDIT_TM,
35   TCA_SKBEDIT_PARMS,
36   TCA_SKBEDIT_PRIORITY,
37   TCA_SKBEDIT_QUEUE_MAPPING,
38   TCA_SKBEDIT_MARK,
39   TCA_SKBEDIT_PAD,
40   TCA_SKBEDIT_PTYPE,
41   TCA_SKBEDIT_MASK,
42   TCA_SKBEDIT_FLAGS,
43   TCA_SKBEDIT_QUEUE_MAPPING_MAX,
44   __TCA_SKBEDIT_MAX
45 };
46 #define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1)
47 #endif
48