![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * Copyright (c) 2015 Cumulus Networks, Inc. 0004 */ 0005 0006 #ifndef _NET_MPLS_IPTUNNEL_H 0007 #define _NET_MPLS_IPTUNNEL_H 1 0008 0009 #include <linux/types.h> 0010 #include <net/lwtunnel.h> 0011 0012 struct mpls_iptunnel_encap { 0013 u8 labels; 0014 u8 ttl_propagate; 0015 u8 default_ttl; 0016 u8 reserved1; 0017 u32 label[]; 0018 }; 0019 0020 static inline struct mpls_iptunnel_encap *mpls_lwtunnel_encap(struct lwtunnel_state *lwtstate) 0021 { 0022 return (struct mpls_iptunnel_encap *)lwtstate->data; 0023 } 0024 0025 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |