Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/*
2 * mpls tunnel api
3 *
4 * Authors:
5 * Roopa Prabhu <roopa@cumulusnetworks.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
11 */
12
13#ifndef _UAPI_LINUX_MPLS_IPTUNNEL_H
14#define _UAPI_LINUX_MPLS_IPTUNNEL_H
15
16/* MPLS tunnel attributes
17 * [RTA_ENCAP] = {
18 * [MPLS_IPTUNNEL_DST]
19 * [MPLS_IPTUNNEL_TTL]
20 * }
21 */
22enum {
23 MPLS_IPTUNNEL_UNSPEC,
24 MPLS_IPTUNNEL_DST,
25 MPLS_IPTUNNEL_TTL,
26 __MPLS_IPTUNNEL_MAX,
27};
28#define MPLS_IPTUNNEL_MAX (__MPLS_IPTUNNEL_MAX - 1)
29
30#endif /* _UAPI_LINUX_MPLS_IPTUNNEL_H */