• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _UAPI_LINUX_SEG6_LOCAL_H
7 #define _UAPI_LINUX_SEG6_LOCAL_H
8 #include <linux/seg6.h>
9 enum {
10 	SEG6_LOCAL_UNSPEC,
11 	SEG6_LOCAL_ACTION,
12 	SEG6_LOCAL_SRH,
13 	SEG6_LOCAL_TABLE,
14 	SEG6_LOCAL_NH4,
15 	SEG6_LOCAL_NH6,
16 	SEG6_LOCAL_IIF,
17 	SEG6_LOCAL_OIF,
18 	SEG6_LOCAL_BPF,
19 	__SEG6_LOCAL_MAX,
20 };
21 #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1)
22 enum {
23 	SEG6_LOCAL_ACTION_UNSPEC	= 0,
24 
25 	SEG6_LOCAL_ACTION_END		= 1,
26 
27 	SEG6_LOCAL_ACTION_END_X		= 2,
28 
29 	SEG6_LOCAL_ACTION_END_T		= 3,
30 
31 	SEG6_LOCAL_ACTION_END_DX2	= 4,
32 
33 	SEG6_LOCAL_ACTION_END_DX6	= 5,
34 
35 	SEG6_LOCAL_ACTION_END_DX4	= 6,
36 
37 	SEG6_LOCAL_ACTION_END_DT6	= 7,
38 
39 	SEG6_LOCAL_ACTION_END_DT4	= 8,
40 
41 	SEG6_LOCAL_ACTION_END_B6	= 9,
42 
43 	SEG6_LOCAL_ACTION_END_B6_ENCAP	= 10,
44 
45 	SEG6_LOCAL_ACTION_END_BM	= 11,
46 
47 	SEG6_LOCAL_ACTION_END_S		= 12,
48 
49 	SEG6_LOCAL_ACTION_END_AS	= 13,
50 
51 	SEG6_LOCAL_ACTION_END_AM	= 14,
52 
53 	SEG6_LOCAL_ACTION_END_BPF	= 15,
54 	__SEG6_LOCAL_ACTION_MAX,
55 };
56 #define SEG6_LOCAL_ACTION_MAX (__SEG6_LOCAL_ACTION_MAX - 1)
57 enum {
58 	SEG6_LOCAL_BPF_PROG_UNSPEC,
59 	SEG6_LOCAL_BPF_PROG,
60 	SEG6_LOCAL_BPF_PROG_NAME,
61 	__SEG6_LOCAL_BPF_PROG_MAX,
62 };
63 #define SEG6_LOCAL_BPF_PROG_MAX (__SEG6_LOCAL_BPF_PROG_MAX - 1)
64 #endif
65