accel/ivpu: Enable HWS by default on all platforms
[drm/drm-misc.git] / include / net / mpls_iptunnel.h
blob0c71c27979fb396af556eca228b7bff563807aae
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (c) 2015 Cumulus Networks, Inc.
4 */
6 #ifndef _NET_MPLS_IPTUNNEL_H
7 #define _NET_MPLS_IPTUNNEL_H 1
9 #include <linux/types.h>
10 #include <net/lwtunnel.h>
12 struct mpls_iptunnel_encap {
13 u8 labels;
14 u8 ttl_propagate;
15 u8 default_ttl;
16 u8 reserved1;
17 u32 label[];
20 static inline struct mpls_iptunnel_encap *mpls_lwtunnel_encap(struct lwtunnel_state *lwtstate)
22 return (struct mpls_iptunnel_encap *)lwtstate->data;
25 #endif