1 /**************************************************************************** 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> 22 enum { 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, 31 SEG6_LOCAL_BPF, 32 __SEG6_LOCAL_MAX, 33 }; 34 #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1) 35 enum { 36 SEG6_LOCAL_ACTION_UNSPEC = 0, 37 SEG6_LOCAL_ACTION_END = 1, 38 SEG6_LOCAL_ACTION_END_X = 2, 39 SEG6_LOCAL_ACTION_END_T = 3, 40 SEG6_LOCAL_ACTION_END_DX2 = 4, 41 SEG6_LOCAL_ACTION_END_DX6 = 5, 42 SEG6_LOCAL_ACTION_END_DX4 = 6, 43 SEG6_LOCAL_ACTION_END_DT6 = 7, 44 SEG6_LOCAL_ACTION_END_DT4 = 8, 45 SEG6_LOCAL_ACTION_END_B6 = 9, 46 SEG6_LOCAL_ACTION_END_B6_ENCAP = 10, 47 SEG6_LOCAL_ACTION_END_BM = 11, 48 SEG6_LOCAL_ACTION_END_S = 12, 49 SEG6_LOCAL_ACTION_END_AS = 13, 50 SEG6_LOCAL_ACTION_END_AM = 14, 51 SEG6_LOCAL_ACTION_END_BPF = 15, 52 __SEG6_LOCAL_ACTION_MAX, 53 }; 54 #define SEG6_LOCAL_ACTION_MAX (__SEG6_LOCAL_ACTION_MAX - 1) 55 enum { 56 SEG6_LOCAL_BPF_PROG_UNSPEC, 57 SEG6_LOCAL_BPF_PROG, 58 SEG6_LOCAL_BPF_PROG_NAME, 59 __SEG6_LOCAL_BPF_PROG_MAX, 60 }; 61 #define SEG6_LOCAL_BPF_PROG_MAX (__SEG6_LOCAL_BPF_PROG_MAX - 1) 62 #endif 63