tc_skbedit.h revision 48af7cb2e205dcc2f09a1a1b8a1a37c93e1943f0
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 TCA_ACT_SKBEDIT 11
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define SKBEDIT_F_PRIORITY 0x1
25#define SKBEDIT_F_QUEUE_MAPPING 0x2
26#define SKBEDIT_F_MARK 0x4
27#define SKBEDIT_F_PTYPE 0x8
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define SKBEDIT_F_MASK 0x10
30struct tc_skbedit {
31  tc_gen;
32};
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34enum {
35  TCA_SKBEDIT_UNSPEC,
36  TCA_SKBEDIT_TM,
37  TCA_SKBEDIT_PARMS,
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  TCA_SKBEDIT_PRIORITY,
40  TCA_SKBEDIT_QUEUE_MAPPING,
41  TCA_SKBEDIT_MARK,
42  TCA_SKBEDIT_PAD,
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  TCA_SKBEDIT_PTYPE,
45  TCA_SKBEDIT_MASK,
46  __TCA_SKBEDIT_MAX
47};
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1)
50#endif
51