1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linu 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 2 /* 2 /* 3 * mpls tunnel api 3 * mpls tunnel api 4 * 4 * 5 * Authors: 5 * Authors: 6 * Roopa Prabhu <roopa@cumulusnet 6 * Roopa Prabhu <roopa@cumulusnetworks.com> 7 * 7 * 8 * This program is free software; you can 8 * This program is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU G 9 * modify it under the terms of the GNU General Public License 10 * as published by the Free Software Foun 10 * as published by the Free Software Foundation; either version 11 * 2 of the License, or (at your option) 11 * 2 of the License, or (at your option) any later version. 12 */ 12 */ 13 13 14 #ifndef _UAPI_LINUX_MPLS_IPTUNNEL_H 14 #ifndef _UAPI_LINUX_MPLS_IPTUNNEL_H 15 #define _UAPI_LINUX_MPLS_IPTUNNEL_H 15 #define _UAPI_LINUX_MPLS_IPTUNNEL_H 16 16 17 /* MPLS tunnel attributes 17 /* MPLS tunnel attributes 18 * [RTA_ENCAP] = { 18 * [RTA_ENCAP] = { 19 * [MPLS_IPTUNNEL_DST] 19 * [MPLS_IPTUNNEL_DST] 20 * [MPLS_IPTUNNEL_TTL] 20 * [MPLS_IPTUNNEL_TTL] 21 * } 21 * } 22 */ 22 */ 23 enum { 23 enum { 24 MPLS_IPTUNNEL_UNSPEC, 24 MPLS_IPTUNNEL_UNSPEC, 25 MPLS_IPTUNNEL_DST, 25 MPLS_IPTUNNEL_DST, 26 MPLS_IPTUNNEL_TTL, 26 MPLS_IPTUNNEL_TTL, 27 __MPLS_IPTUNNEL_MAX, 27 __MPLS_IPTUNNEL_MAX, 28 }; 28 }; 29 #define MPLS_IPTUNNEL_MAX (__MPLS_IPTUNNEL_MAX 29 #define MPLS_IPTUNNEL_MAX (__MPLS_IPTUNNEL_MAX - 1) 30 30 31 #endif /* _UAPI_LINUX_MPLS_IPTUNNEL_H */ 31 #endif /* _UAPI_LINUX_MPLS_IPTUNNEL_H */ 32 32
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.