Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
e569c5c0
Commit
e569c5c0
authored
Oct 16, 2015
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tunnel header files from net-next uapi
Files needed for new lwtunnel code.
parent
c6646c1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
0 deletions
+71
-0
include/linux/lwtunnel.h
include/linux/lwtunnel.h
+43
-0
include/linux/mpls_iptunnel.h
include/linux/mpls_iptunnel.h
+28
-0
No files found.
include/linux/lwtunnel.h
0 → 100644
View file @
e569c5c0
#ifndef _LWTUNNEL_H_
#define _LWTUNNEL_H_
#include <linux/types.h>
enum
lwtunnel_encap_types
{
LWTUNNEL_ENCAP_NONE
,
LWTUNNEL_ENCAP_MPLS
,
LWTUNNEL_ENCAP_IP
,
LWTUNNEL_ENCAP_ILA
,
LWTUNNEL_ENCAP_IP6
,
__LWTUNNEL_ENCAP_MAX
,
};
#define LWTUNNEL_ENCAP_MAX (__LWTUNNEL_ENCAP_MAX - 1)
enum
lwtunnel_ip_t
{
LWTUNNEL_IP_UNSPEC
,
LWTUNNEL_IP_ID
,
LWTUNNEL_IP_DST
,
LWTUNNEL_IP_SRC
,
LWTUNNEL_IP_TTL
,
LWTUNNEL_IP_TOS
,
LWTUNNEL_IP_FLAGS
,
__LWTUNNEL_IP_MAX
,
};
#define LWTUNNEL_IP_MAX (__LWTUNNEL_IP_MAX - 1)
enum
lwtunnel_ip6_t
{
LWTUNNEL_IP6_UNSPEC
,
LWTUNNEL_IP6_ID
,
LWTUNNEL_IP6_DST
,
LWTUNNEL_IP6_SRC
,
LWTUNNEL_IP6_HOPLIMIT
,
LWTUNNEL_IP6_TC
,
LWTUNNEL_IP6_FLAGS
,
__LWTUNNEL_IP6_MAX
,
};
#define LWTUNNEL_IP6_MAX (__LWTUNNEL_IP6_MAX - 1)
#endif
/* _LWTUNNEL_H_ */
include/linux/mpls_iptunnel.h
0 → 100644
View file @
e569c5c0
/*
* mpls tunnel api
*
* Authors:
* Roopa Prabhu <roopa@cumulusnetworks.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#ifndef _LINUX_MPLS_IPTUNNEL_H
#define _LINUX_MPLS_IPTUNNEL_H
/* MPLS tunnel attributes
* [RTA_ENCAP] = {
* [MPLS_IPTUNNEL_DST]
* }
*/
enum
{
MPLS_IPTUNNEL_UNSPEC
,
MPLS_IPTUNNEL_DST
,
__MPLS_IPTUNNEL_MAX
,
};
#define MPLS_IPTUNNEL_MAX (__MPLS_IPTUNNEL_MAX - 1)
#endif
/* _LINUX_MPLS_IPTUNNEL_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment