blob: 4d062e82cb1e7035e75f9f77a6a74131a2cbc582 [file] [log] [blame]
Christopher Ferris1308ad32017-11-14 17:32:13 -08001/****************************************************************************
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 _UAPI_LINUX_SEG6_LOCAL_H
20#define _UAPI_LINUX_SEG6_LOCAL_H
21#include <linux/seg6.h>
22enum {
23 SEG6_LOCAL_UNSPEC,
24 SEG6_LOCAL_ACTION,
25 SEG6_LOCAL_SRH,
26 SEG6_LOCAL_TABLE,
27 SEG6_LOCAL_NH4,
28 SEG6_LOCAL_NH6,
29 SEG6_LOCAL_IIF,
30 SEG6_LOCAL_OIF,
Christopher Ferris9ce28842018-10-25 12:11:39 -070031 SEG6_LOCAL_BPF,
Christopher Ferris05667cd2021-02-16 16:01:34 -080032 SEG6_LOCAL_VRFTABLE,
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +000033 SEG6_LOCAL_COUNTERS,
Christopher Ferris6cd53a52022-12-12 23:39:16 +000034 SEG6_LOCAL_FLAVORS,
Christopher Ferris1308ad32017-11-14 17:32:13 -080035 __SEG6_LOCAL_MAX,
36};
37#define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1)
38enum {
39 SEG6_LOCAL_ACTION_UNSPEC = 0,
40 SEG6_LOCAL_ACTION_END = 1,
41 SEG6_LOCAL_ACTION_END_X = 2,
42 SEG6_LOCAL_ACTION_END_T = 3,
43 SEG6_LOCAL_ACTION_END_DX2 = 4,
44 SEG6_LOCAL_ACTION_END_DX6 = 5,
45 SEG6_LOCAL_ACTION_END_DX4 = 6,
46 SEG6_LOCAL_ACTION_END_DT6 = 7,
47 SEG6_LOCAL_ACTION_END_DT4 = 8,
48 SEG6_LOCAL_ACTION_END_B6 = 9,
49 SEG6_LOCAL_ACTION_END_B6_ENCAP = 10,
50 SEG6_LOCAL_ACTION_END_BM = 11,
51 SEG6_LOCAL_ACTION_END_S = 12,
52 SEG6_LOCAL_ACTION_END_AS = 13,
53 SEG6_LOCAL_ACTION_END_AM = 14,
Christopher Ferris9ce28842018-10-25 12:11:39 -070054 SEG6_LOCAL_ACTION_END_BPF = 15,
Christopher Ferris3a39c0b2021-09-02 00:03:38 +000055 SEG6_LOCAL_ACTION_END_DT46 = 16,
Christopher Ferris1308ad32017-11-14 17:32:13 -080056 __SEG6_LOCAL_ACTION_MAX,
57};
58#define SEG6_LOCAL_ACTION_MAX (__SEG6_LOCAL_ACTION_MAX - 1)
Christopher Ferris9ce28842018-10-25 12:11:39 -070059enum {
60 SEG6_LOCAL_BPF_PROG_UNSPEC,
61 SEG6_LOCAL_BPF_PROG,
62 SEG6_LOCAL_BPF_PROG_NAME,
63 __SEG6_LOCAL_BPF_PROG_MAX,
64};
65#define SEG6_LOCAL_BPF_PROG_MAX (__SEG6_LOCAL_BPF_PROG_MAX - 1)
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +000066enum {
67 SEG6_LOCAL_CNT_UNSPEC,
68 SEG6_LOCAL_CNT_PAD,
69 SEG6_LOCAL_CNT_PACKETS,
70 SEG6_LOCAL_CNT_BYTES,
71 SEG6_LOCAL_CNT_ERRORS,
72 __SEG6_LOCAL_CNT_MAX,
73};
74#define SEG6_LOCAL_CNT_MAX (__SEG6_LOCAL_CNT_MAX - 1)
Christopher Ferris6cd53a52022-12-12 23:39:16 +000075enum {
76 SEG6_LOCAL_FLV_UNSPEC,
77 SEG6_LOCAL_FLV_OPERATION,
78 SEG6_LOCAL_FLV_LCBLOCK_BITS,
79 SEG6_LOCAL_FLV_LCNODE_FN_BITS,
80 __SEG6_LOCAL_FLV_MAX,
81};
82#define SEG6_LOCAL_FLV_MAX (__SEG6_LOCAL_FLV_MAX - 1)
83enum {
84 SEG6_LOCAL_FLV_OP_UNSPEC,
85 SEG6_LOCAL_FLV_OP_PSP,
86 SEG6_LOCAL_FLV_OP_USP,
87 SEG6_LOCAL_FLV_OP_USD,
88 SEG6_LOCAL_FLV_OP_NEXT_CSID,
89 __SEG6_LOCAL_FLV_OP_MAX
90};
91#define SEG6_LOCAL_FLV_OP_MAX (__SEG6_LOCAL_FLV_OP_MAX - 1)
Christopher Ferris1308ad32017-11-14 17:32:13 -080092#endif