blob: 4ae2b2cffa2fc6083cc5a15f56237c3502e2befa [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Christopher Ferris1308ad32017-11-14 17:32:13 -08007#ifndef _UAPI_LINUX_SEG6_LOCAL_H
8#define _UAPI_LINUX_SEG6_LOCAL_H
9#include <linux/seg6.h>
10enum {
11 SEG6_LOCAL_UNSPEC,
12 SEG6_LOCAL_ACTION,
13 SEG6_LOCAL_SRH,
14 SEG6_LOCAL_TABLE,
15 SEG6_LOCAL_NH4,
16 SEG6_LOCAL_NH6,
17 SEG6_LOCAL_IIF,
18 SEG6_LOCAL_OIF,
Christopher Ferris9ce28842018-10-25 12:11:39 -070019 SEG6_LOCAL_BPF,
Christopher Ferris05667cd2021-02-16 16:01:34 -080020 SEG6_LOCAL_VRFTABLE,
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +000021 SEG6_LOCAL_COUNTERS,
Christopher Ferris6cd53a52022-12-12 23:39:16 +000022 SEG6_LOCAL_FLAVORS,
Christopher Ferris1308ad32017-11-14 17:32:13 -080023 __SEG6_LOCAL_MAX,
24};
25#define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1)
26enum {
27 SEG6_LOCAL_ACTION_UNSPEC = 0,
28 SEG6_LOCAL_ACTION_END = 1,
29 SEG6_LOCAL_ACTION_END_X = 2,
30 SEG6_LOCAL_ACTION_END_T = 3,
31 SEG6_LOCAL_ACTION_END_DX2 = 4,
32 SEG6_LOCAL_ACTION_END_DX6 = 5,
33 SEG6_LOCAL_ACTION_END_DX4 = 6,
34 SEG6_LOCAL_ACTION_END_DT6 = 7,
35 SEG6_LOCAL_ACTION_END_DT4 = 8,
36 SEG6_LOCAL_ACTION_END_B6 = 9,
37 SEG6_LOCAL_ACTION_END_B6_ENCAP = 10,
38 SEG6_LOCAL_ACTION_END_BM = 11,
39 SEG6_LOCAL_ACTION_END_S = 12,
40 SEG6_LOCAL_ACTION_END_AS = 13,
41 SEG6_LOCAL_ACTION_END_AM = 14,
Christopher Ferris9ce28842018-10-25 12:11:39 -070042 SEG6_LOCAL_ACTION_END_BPF = 15,
Christopher Ferris3a39c0b2021-09-02 00:03:38 +000043 SEG6_LOCAL_ACTION_END_DT46 = 16,
Christopher Ferris1308ad32017-11-14 17:32:13 -080044 __SEG6_LOCAL_ACTION_MAX,
45};
46#define SEG6_LOCAL_ACTION_MAX (__SEG6_LOCAL_ACTION_MAX - 1)
Christopher Ferris9ce28842018-10-25 12:11:39 -070047enum {
48 SEG6_LOCAL_BPF_PROG_UNSPEC,
49 SEG6_LOCAL_BPF_PROG,
50 SEG6_LOCAL_BPF_PROG_NAME,
51 __SEG6_LOCAL_BPF_PROG_MAX,
52};
53#define SEG6_LOCAL_BPF_PROG_MAX (__SEG6_LOCAL_BPF_PROG_MAX - 1)
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +000054enum {
55 SEG6_LOCAL_CNT_UNSPEC,
56 SEG6_LOCAL_CNT_PAD,
57 SEG6_LOCAL_CNT_PACKETS,
58 SEG6_LOCAL_CNT_BYTES,
59 SEG6_LOCAL_CNT_ERRORS,
60 __SEG6_LOCAL_CNT_MAX,
61};
62#define SEG6_LOCAL_CNT_MAX (__SEG6_LOCAL_CNT_MAX - 1)
Christopher Ferris6cd53a52022-12-12 23:39:16 +000063enum {
64 SEG6_LOCAL_FLV_UNSPEC,
65 SEG6_LOCAL_FLV_OPERATION,
66 SEG6_LOCAL_FLV_LCBLOCK_BITS,
67 SEG6_LOCAL_FLV_LCNODE_FN_BITS,
68 __SEG6_LOCAL_FLV_MAX,
69};
70#define SEG6_LOCAL_FLV_MAX (__SEG6_LOCAL_FLV_MAX - 1)
71enum {
72 SEG6_LOCAL_FLV_OP_UNSPEC,
73 SEG6_LOCAL_FLV_OP_PSP,
74 SEG6_LOCAL_FLV_OP_USP,
75 SEG6_LOCAL_FLV_OP_USD,
76 SEG6_LOCAL_FLV_OP_NEXT_CSID,
77 __SEG6_LOCAL_FLV_OP_MAX
78};
79#define SEG6_LOCAL_FLV_OP_MAX (__SEG6_LOCAL_FLV_OP_MAX - 1)
Christopher Ferris1308ad32017-11-14 17:32:13 -080080#endif