~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/lwtunnel.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/linux/lwtunnel.h (Version linux-6.12-rc7) and /include/uapi/linux/lwtunnel.h (Version linux-5.17.15)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2 #ifndef _UAPI_LWTUNNEL_H_                           2 #ifndef _UAPI_LWTUNNEL_H_
  3 #define _UAPI_LWTUNNEL_H_                           3 #define _UAPI_LWTUNNEL_H_
  4                                                     4 
  5 #include <linux/types.h>                            5 #include <linux/types.h>
  6                                                     6 
  7 enum lwtunnel_encap_types {                         7 enum lwtunnel_encap_types {
  8         LWTUNNEL_ENCAP_NONE,                        8         LWTUNNEL_ENCAP_NONE,
  9         LWTUNNEL_ENCAP_MPLS,                        9         LWTUNNEL_ENCAP_MPLS,
 10         LWTUNNEL_ENCAP_IP,                         10         LWTUNNEL_ENCAP_IP,
 11         LWTUNNEL_ENCAP_ILA,                        11         LWTUNNEL_ENCAP_ILA,
 12         LWTUNNEL_ENCAP_IP6,                        12         LWTUNNEL_ENCAP_IP6,
 13         LWTUNNEL_ENCAP_SEG6,                       13         LWTUNNEL_ENCAP_SEG6,
 14         LWTUNNEL_ENCAP_BPF,                        14         LWTUNNEL_ENCAP_BPF,
 15         LWTUNNEL_ENCAP_SEG6_LOCAL,                 15         LWTUNNEL_ENCAP_SEG6_LOCAL,
 16         LWTUNNEL_ENCAP_RPL,                        16         LWTUNNEL_ENCAP_RPL,
 17         LWTUNNEL_ENCAP_IOAM6,                      17         LWTUNNEL_ENCAP_IOAM6,
 18         LWTUNNEL_ENCAP_XFRM,                   << 
 19         __LWTUNNEL_ENCAP_MAX,                      18         __LWTUNNEL_ENCAP_MAX,
 20 };                                                 19 };
 21                                                    20 
 22 #define LWTUNNEL_ENCAP_MAX (__LWTUNNEL_ENCAP_M     21 #define LWTUNNEL_ENCAP_MAX (__LWTUNNEL_ENCAP_MAX - 1)
 23                                                    22 
 24 enum lwtunnel_ip_t {                               23 enum lwtunnel_ip_t {
 25         LWTUNNEL_IP_UNSPEC,                        24         LWTUNNEL_IP_UNSPEC,
 26         LWTUNNEL_IP_ID,                            25         LWTUNNEL_IP_ID,
 27         LWTUNNEL_IP_DST,                           26         LWTUNNEL_IP_DST,
 28         LWTUNNEL_IP_SRC,                           27         LWTUNNEL_IP_SRC,
 29         LWTUNNEL_IP_TTL,                           28         LWTUNNEL_IP_TTL,
 30         LWTUNNEL_IP_TOS,                           29         LWTUNNEL_IP_TOS,
 31         LWTUNNEL_IP_FLAGS,                         30         LWTUNNEL_IP_FLAGS,
 32         LWTUNNEL_IP_PAD,                           31         LWTUNNEL_IP_PAD,
 33         LWTUNNEL_IP_OPTS,                          32         LWTUNNEL_IP_OPTS,
 34         __LWTUNNEL_IP_MAX,                         33         __LWTUNNEL_IP_MAX,
 35 };                                                 34 };
 36                                                    35 
 37 #define LWTUNNEL_IP_MAX (__LWTUNNEL_IP_MAX - 1     36 #define LWTUNNEL_IP_MAX (__LWTUNNEL_IP_MAX - 1)
 38                                                    37 
 39 enum lwtunnel_ip6_t {                              38 enum lwtunnel_ip6_t {
 40         LWTUNNEL_IP6_UNSPEC,                       39         LWTUNNEL_IP6_UNSPEC,
 41         LWTUNNEL_IP6_ID,                           40         LWTUNNEL_IP6_ID,
 42         LWTUNNEL_IP6_DST,                          41         LWTUNNEL_IP6_DST,
 43         LWTUNNEL_IP6_SRC,                          42         LWTUNNEL_IP6_SRC,
 44         LWTUNNEL_IP6_HOPLIMIT,                     43         LWTUNNEL_IP6_HOPLIMIT,
 45         LWTUNNEL_IP6_TC,                           44         LWTUNNEL_IP6_TC,
 46         LWTUNNEL_IP6_FLAGS,                        45         LWTUNNEL_IP6_FLAGS,
 47         LWTUNNEL_IP6_PAD,                          46         LWTUNNEL_IP6_PAD,
 48         LWTUNNEL_IP6_OPTS,                         47         LWTUNNEL_IP6_OPTS,
 49         __LWTUNNEL_IP6_MAX,                        48         __LWTUNNEL_IP6_MAX,
 50 };                                                 49 };
 51                                                    50 
 52 #define LWTUNNEL_IP6_MAX (__LWTUNNEL_IP6_MAX -     51 #define LWTUNNEL_IP6_MAX (__LWTUNNEL_IP6_MAX - 1)
 53                                                    52 
 54 enum {                                             53 enum {
 55         LWTUNNEL_IP_OPTS_UNSPEC,                   54         LWTUNNEL_IP_OPTS_UNSPEC,
 56         LWTUNNEL_IP_OPTS_GENEVE,                   55         LWTUNNEL_IP_OPTS_GENEVE,
 57         LWTUNNEL_IP_OPTS_VXLAN,                    56         LWTUNNEL_IP_OPTS_VXLAN,
 58         LWTUNNEL_IP_OPTS_ERSPAN,                   57         LWTUNNEL_IP_OPTS_ERSPAN,
 59         __LWTUNNEL_IP_OPTS_MAX,                    58         __LWTUNNEL_IP_OPTS_MAX,
 60 };                                                 59 };
 61                                                    60 
 62 #define LWTUNNEL_IP_OPTS_MAX (__LWTUNNEL_IP_OP     61 #define LWTUNNEL_IP_OPTS_MAX (__LWTUNNEL_IP_OPTS_MAX - 1)
 63                                                    62 
 64 enum {                                             63 enum {
 65         LWTUNNEL_IP_OPT_GENEVE_UNSPEC,             64         LWTUNNEL_IP_OPT_GENEVE_UNSPEC,
 66         LWTUNNEL_IP_OPT_GENEVE_CLASS,              65         LWTUNNEL_IP_OPT_GENEVE_CLASS,
 67         LWTUNNEL_IP_OPT_GENEVE_TYPE,               66         LWTUNNEL_IP_OPT_GENEVE_TYPE,
 68         LWTUNNEL_IP_OPT_GENEVE_DATA,               67         LWTUNNEL_IP_OPT_GENEVE_DATA,
 69         __LWTUNNEL_IP_OPT_GENEVE_MAX,              68         __LWTUNNEL_IP_OPT_GENEVE_MAX,
 70 };                                                 69 };
 71                                                    70 
 72 #define LWTUNNEL_IP_OPT_GENEVE_MAX (__LWTUNNEL     71 #define LWTUNNEL_IP_OPT_GENEVE_MAX (__LWTUNNEL_IP_OPT_GENEVE_MAX - 1)
 73                                                    72 
 74 enum {                                             73 enum {
 75         LWTUNNEL_IP_OPT_VXLAN_UNSPEC,              74         LWTUNNEL_IP_OPT_VXLAN_UNSPEC,
 76         LWTUNNEL_IP_OPT_VXLAN_GBP,                 75         LWTUNNEL_IP_OPT_VXLAN_GBP,
 77         __LWTUNNEL_IP_OPT_VXLAN_MAX,               76         __LWTUNNEL_IP_OPT_VXLAN_MAX,
 78 };                                                 77 };
 79                                                    78 
 80 #define LWTUNNEL_IP_OPT_VXLAN_MAX (__LWTUNNEL_     79 #define LWTUNNEL_IP_OPT_VXLAN_MAX (__LWTUNNEL_IP_OPT_VXLAN_MAX - 1)
 81                                                    80 
 82 enum {                                             81 enum {
 83         LWTUNNEL_IP_OPT_ERSPAN_UNSPEC,             82         LWTUNNEL_IP_OPT_ERSPAN_UNSPEC,
 84         LWTUNNEL_IP_OPT_ERSPAN_VER,                83         LWTUNNEL_IP_OPT_ERSPAN_VER,
 85         LWTUNNEL_IP_OPT_ERSPAN_INDEX,              84         LWTUNNEL_IP_OPT_ERSPAN_INDEX,
 86         LWTUNNEL_IP_OPT_ERSPAN_DIR,                85         LWTUNNEL_IP_OPT_ERSPAN_DIR,
 87         LWTUNNEL_IP_OPT_ERSPAN_HWID,               86         LWTUNNEL_IP_OPT_ERSPAN_HWID,
 88         __LWTUNNEL_IP_OPT_ERSPAN_MAX,              87         __LWTUNNEL_IP_OPT_ERSPAN_MAX,
 89 };                                                 88 };
 90                                                    89 
 91 #define LWTUNNEL_IP_OPT_ERSPAN_MAX (__LWTUNNEL     90 #define LWTUNNEL_IP_OPT_ERSPAN_MAX (__LWTUNNEL_IP_OPT_ERSPAN_MAX - 1)
 92                                                    91 
 93 enum {                                             92 enum {
 94         LWT_BPF_PROG_UNSPEC,                       93         LWT_BPF_PROG_UNSPEC,
 95         LWT_BPF_PROG_FD,                           94         LWT_BPF_PROG_FD,
 96         LWT_BPF_PROG_NAME,                         95         LWT_BPF_PROG_NAME,
 97         __LWT_BPF_PROG_MAX,                        96         __LWT_BPF_PROG_MAX,
 98 };                                                 97 };
 99                                                    98 
100 #define LWT_BPF_PROG_MAX (__LWT_BPF_PROG_MAX -     99 #define LWT_BPF_PROG_MAX (__LWT_BPF_PROG_MAX - 1)
101                                                   100 
102 enum {                                            101 enum {
103         LWT_BPF_UNSPEC,                           102         LWT_BPF_UNSPEC,
104         LWT_BPF_IN,                               103         LWT_BPF_IN,
105         LWT_BPF_OUT,                              104         LWT_BPF_OUT,
106         LWT_BPF_XMIT,                             105         LWT_BPF_XMIT,
107         LWT_BPF_XMIT_HEADROOM,                    106         LWT_BPF_XMIT_HEADROOM,
108         __LWT_BPF_MAX,                            107         __LWT_BPF_MAX,
109 };                                                108 };
110                                                   109 
111 #define LWT_BPF_MAX (__LWT_BPF_MAX - 1)           110 #define LWT_BPF_MAX (__LWT_BPF_MAX - 1)
112                                                   111 
113 #define LWT_BPF_MAX_HEADROOM 256                  112 #define LWT_BPF_MAX_HEADROOM 256
114                                                << 
115 enum {                                         << 
116         LWT_XFRM_UNSPEC,                       << 
117         LWT_XFRM_IF_ID,                        << 
118         LWT_XFRM_LINK,                         << 
119         __LWT_XFRM_MAX,                        << 
120 };                                             << 
121                                                << 
122 #define LWT_XFRM_MAX (__LWT_XFRM_MAX - 1)      << 
123                                                   113 
124 #endif /* _UAPI_LWTUNNEL_H_ */                    114 #endif /* _UAPI_LWTUNNEL_H_ */
125                                                   115 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php