• 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_TUNNEL_KEY_H
20 #define __LINUX_TC_TUNNEL_KEY_H
21 #include <linux/pkt_cls.h>
22 #define TCA_ACT_TUNNEL_KEY 17
23 #define TCA_TUNNEL_KEY_ACT_SET 1
24 #define TCA_TUNNEL_KEY_ACT_RELEASE 2
25 struct tc_tunnel_key {
26   tc_gen;
27   int t_action;
28 };
29 enum {
30   TCA_TUNNEL_KEY_UNSPEC,
31   TCA_TUNNEL_KEY_TM,
32   TCA_TUNNEL_KEY_PARMS,
33   TCA_TUNNEL_KEY_ENC_IPV4_SRC,
34   TCA_TUNNEL_KEY_ENC_IPV4_DST,
35   TCA_TUNNEL_KEY_ENC_IPV6_SRC,
36   TCA_TUNNEL_KEY_ENC_IPV6_DST,
37   TCA_TUNNEL_KEY_ENC_KEY_ID,
38   TCA_TUNNEL_KEY_PAD,
39   TCA_TUNNEL_KEY_ENC_DST_PORT,
40   TCA_TUNNEL_KEY_NO_CSUM,
41   TCA_TUNNEL_KEY_ENC_OPTS,
42   TCA_TUNNEL_KEY_ENC_TOS,
43   TCA_TUNNEL_KEY_ENC_TTL,
44   __TCA_TUNNEL_KEY_MAX,
45 };
46 #define TCA_TUNNEL_KEY_MAX (__TCA_TUNNEL_KEY_MAX - 1)
47 enum {
48   TCA_TUNNEL_KEY_ENC_OPTS_UNSPEC,
49   TCA_TUNNEL_KEY_ENC_OPTS_GENEVE,
50   __TCA_TUNNEL_KEY_ENC_OPTS_MAX,
51 };
52 #define TCA_TUNNEL_KEY_ENC_OPTS_MAX (__TCA_TUNNEL_KEY_ENC_OPTS_MAX - 1)
53 enum {
54   TCA_TUNNEL_KEY_ENC_OPT_GENEVE_UNSPEC,
55   TCA_TUNNEL_KEY_ENC_OPT_GENEVE_CLASS,
56   TCA_TUNNEL_KEY_ENC_OPT_GENEVE_TYPE,
57   TCA_TUNNEL_KEY_ENC_OPT_GENEVE_DATA,
58   __TCA_TUNNEL_KEY_ENC_OPT_GENEVE_MAX,
59 };
60 #define TCA_TUNNEL_KEY_ENC_OPT_GENEVE_MAX (__TCA_TUNNEL_KEY_ENC_OPT_GENEVE_MAX - 1)
61 #endif
62