Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
0002 /*
0003  *  mpls tunnel api
0004  *
0005  *  Authors:
0006  *      Roopa Prabhu <roopa@cumulusnetworks.com>
0007  *
0008  *  This program is free software; you can redistribute it and/or
0009  *  modify it under the terms of the GNU General Public License
0010  *  as published by the Free Software Foundation; either version
0011  *  2 of the License, or (at your option) any later version.
0012  */
0013 
0014 #ifndef _UAPI_LINUX_MPLS_IPTUNNEL_H
0015 #define _UAPI_LINUX_MPLS_IPTUNNEL_H
0016 
0017 /* MPLS tunnel attributes
0018  * [RTA_ENCAP] = {
0019  *     [MPLS_IPTUNNEL_DST]
0020  *     [MPLS_IPTUNNEL_TTL]
0021  * }
0022  */
0023 enum {
0024     MPLS_IPTUNNEL_UNSPEC,
0025     MPLS_IPTUNNEL_DST,
0026     MPLS_IPTUNNEL_TTL,
0027     __MPLS_IPTUNNEL_MAX,
0028 };
0029 #define MPLS_IPTUNNEL_MAX (__MPLS_IPTUNNEL_MAX - 1)
0030 
0031 #endif /* _UAPI_LINUX_MPLS_IPTUNNEL_H */