0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _UAPI_LINUX_SEG6_LOCAL_H
0015 #define _UAPI_LINUX_SEG6_LOCAL_H
0016
0017 #include <linux/seg6.h>
0018
0019 enum {
0020 SEG6_LOCAL_UNSPEC,
0021 SEG6_LOCAL_ACTION,
0022 SEG6_LOCAL_SRH,
0023 SEG6_LOCAL_TABLE,
0024 SEG6_LOCAL_NH4,
0025 SEG6_LOCAL_NH6,
0026 SEG6_LOCAL_IIF,
0027 SEG6_LOCAL_OIF,
0028 SEG6_LOCAL_BPF,
0029 __SEG6_LOCAL_MAX,
0030 };
0031 #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1)
0032
0033 enum {
0034 SEG6_LOCAL_ACTION_UNSPEC = 0,
0035
0036 SEG6_LOCAL_ACTION_END = 1,
0037
0038 SEG6_LOCAL_ACTION_END_X = 2,
0039
0040 SEG6_LOCAL_ACTION_END_T = 3,
0041
0042 SEG6_LOCAL_ACTION_END_DX2 = 4,
0043
0044 SEG6_LOCAL_ACTION_END_DX6 = 5,
0045
0046 SEG6_LOCAL_ACTION_END_DX4 = 6,
0047
0048 SEG6_LOCAL_ACTION_END_DT6 = 7,
0049
0050 SEG6_LOCAL_ACTION_END_DT4 = 8,
0051
0052 SEG6_LOCAL_ACTION_END_B6 = 9,
0053
0054 SEG6_LOCAL_ACTION_END_B6_ENCAP = 10,
0055
0056 SEG6_LOCAL_ACTION_END_BM = 11,
0057
0058 SEG6_LOCAL_ACTION_END_S = 12,
0059
0060 SEG6_LOCAL_ACTION_END_AS = 13,
0061
0062 SEG6_LOCAL_ACTION_END_AM = 14,
0063
0064 SEG6_LOCAL_ACTION_END_BPF = 15,
0065
0066 __SEG6_LOCAL_ACTION_MAX,
0067 };
0068
0069 #define SEG6_LOCAL_ACTION_MAX (__SEG6_LOCAL_ACTION_MAX - 1)
0070
0071 enum {
0072 SEG6_LOCAL_BPF_PROG_UNSPEC,
0073 SEG6_LOCAL_BPF_PROG,
0074 SEG6_LOCAL_BPF_PROG_NAME,
0075 __SEG6_LOCAL_BPF_PROG_MAX,
0076 };
0077
0078 #define SEG6_LOCAL_BPF_PROG_MAX (__SEG6_LOCAL_BPF_PROG_MAX - 1)
0079
0080 #endif