1
2
3
4
5
6
7
8
9
10
11
12
13
14 #ifndef _UAPI_LINUX_SEG6_LOCAL_H
15 #define _UAPI_LINUX_SEG6_LOCAL_H
16
17 #include <linux/seg6.h>
18
19 enum {
20 SEG6_LOCAL_UNSPEC,
21 SEG6_LOCAL_ACTION,
22 SEG6_LOCAL_SRH,
23 SEG6_LOCAL_TABLE,
24 SEG6_LOCAL_NH4,
25 SEG6_LOCAL_NH6,
26 SEG6_LOCAL_IIF,
27 SEG6_LOCAL_OIF,
28 SEG6_LOCAL_BPF,
29 __SEG6_LOCAL_MAX,
30 };
31 #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1)
32
33 enum {
34 SEG6_LOCAL_ACTION_UNSPEC = 0,
35
36 SEG6_LOCAL_ACTION_END = 1,
37
38 SEG6_LOCAL_ACTION_END_X = 2,
39
40 SEG6_LOCAL_ACTION_END_T = 3,
41
42 SEG6_LOCAL_ACTION_END_DX2 = 4,
43
44 SEG6_LOCAL_ACTION_END_DX6 = 5,
45
46 SEG6_LOCAL_ACTION_END_DX4 = 6,
47
48 SEG6_LOCAL_ACTION_END_DT6 = 7,
49
50 SEG6_LOCAL_ACTION_END_DT4 = 8,
51
52 SEG6_LOCAL_ACTION_END_B6 = 9,
53
54 SEG6_LOCAL_ACTION_END_B6_ENCAP = 10,
55
56 SEG6_LOCAL_ACTION_END_BM = 11,
57
58 SEG6_LOCAL_ACTION_END_S = 12,
59
60 SEG6_LOCAL_ACTION_END_AS = 13,
61
62 SEG6_LOCAL_ACTION_END_AM = 14,
63
64 SEG6_LOCAL_ACTION_END_BPF = 15,
65
66 __SEG6_LOCAL_ACTION_MAX,
67 };
68
69 #define SEG6_LOCAL_ACTION_MAX (__SEG6_LOCAL_ACTION_MAX - 1)
70
71 enum {
72 SEG6_LOCAL_BPF_PROG_UNSPEC,
73 SEG6_LOCAL_BPF_PROG,
74 SEG6_LOCAL_BPF_PROG_NAME,
75 __SEG6_LOCAL_BPF_PROG_MAX,
76 };
77
78 #define SEG6_LOCAL_BPF_PROG_MAX (__SEG6_LOCAL_BPF_PROG_MAX - 1)
79
80 #endif