Christopher Ferris | 2598113 | 2017-11-14 16:53:49 -0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ |
Christopher Ferris | 12e1f28 | 2016-02-04 12:35:07 -0800 | [diff] [blame] | 2 | /* |
| 3 | * mpls tunnel api |
| 4 | * |
| 5 | * Authors: |
| 6 | * Roopa Prabhu <roopa@cumulusnetworks.com> |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU General Public License |
| 10 | * as published by the Free Software Foundation; either version |
| 11 | * 2 of the License, or (at your option) any later version. |
| 12 | */ |
| 13 | |
| 14 | #ifndef _UAPI_LINUX_MPLS_IPTUNNEL_H |
| 15 | #define _UAPI_LINUX_MPLS_IPTUNNEL_H |
| 16 | |
| 17 | /* MPLS tunnel attributes |
| 18 | * [RTA_ENCAP] = { |
| 19 | * [MPLS_IPTUNNEL_DST] |
Christopher Ferris | 0543f74 | 2017-07-26 13:09:46 -0700 | [diff] [blame] | 20 | * [MPLS_IPTUNNEL_TTL] |
Christopher Ferris | 12e1f28 | 2016-02-04 12:35:07 -0800 | [diff] [blame] | 21 | * } |
| 22 | */ |
| 23 | enum { |
| 24 | MPLS_IPTUNNEL_UNSPEC, |
| 25 | MPLS_IPTUNNEL_DST, |
Christopher Ferris | 0543f74 | 2017-07-26 13:09:46 -0700 | [diff] [blame] | 26 | MPLS_IPTUNNEL_TTL, |
Christopher Ferris | 12e1f28 | 2016-02-04 12:35:07 -0800 | [diff] [blame] | 27 | __MPLS_IPTUNNEL_MAX, |
| 28 | }; |
| 29 | #define MPLS_IPTUNNEL_MAX (__MPLS_IPTUNNEL_MAX - 1) |
| 30 | |
| 31 | #endif /* _UAPI_LINUX_MPLS_IPTUNNEL_H */ |