Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 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 Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 7 | #ifndef _UAPI_LINUX_SEG6_LOCAL_H |
| 8 | #define _UAPI_LINUX_SEG6_LOCAL_H |
| 9 | #include <linux/seg6.h> |
| 10 | enum { |
| 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 Ferris | 9ce2884 | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 19 | SEG6_LOCAL_BPF, |
Christopher Ferris | 05667cd | 2021-02-16 16:01:34 -0800 | [diff] [blame] | 20 | SEG6_LOCAL_VRFTABLE, |
Christopher Ferris | fcc3b4f | 2021-07-01 01:30:21 +0000 | [diff] [blame] | 21 | SEG6_LOCAL_COUNTERS, |
Christopher Ferris | 6cd53a5 | 2022-12-12 23:39:16 +0000 | [diff] [blame] | 22 | SEG6_LOCAL_FLAVORS, |
Christopher Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 23 | __SEG6_LOCAL_MAX, |
| 24 | }; |
| 25 | #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1) |
| 26 | enum { |
| 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 Ferris | 9ce2884 | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 42 | SEG6_LOCAL_ACTION_END_BPF = 15, |
Christopher Ferris | 3a39c0b | 2021-09-02 00:03:38 +0000 | [diff] [blame] | 43 | SEG6_LOCAL_ACTION_END_DT46 = 16, |
Christopher Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 44 | __SEG6_LOCAL_ACTION_MAX, |
| 45 | }; |
| 46 | #define SEG6_LOCAL_ACTION_MAX (__SEG6_LOCAL_ACTION_MAX - 1) |
Christopher Ferris | 9ce2884 | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 47 | enum { |
| 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 Ferris | fcc3b4f | 2021-07-01 01:30:21 +0000 | [diff] [blame] | 54 | enum { |
| 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 Ferris | 6cd53a5 | 2022-12-12 23:39:16 +0000 | [diff] [blame] | 63 | enum { |
| 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) |
| 71 | enum { |
| 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 Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 80 | #endif |