Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.16 22 lines 429 B view raw
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (c) 2015 Cumulus Networks, Inc. 4 */ 5 6#ifndef _NET_MPLS_IPTUNNEL_H 7#define _NET_MPLS_IPTUNNEL_H 1 8 9struct mpls_iptunnel_encap { 10 u8 labels; 11 u8 ttl_propagate; 12 u8 default_ttl; 13 u8 reserved1; 14 u32 label[]; 15}; 16 17static inline struct mpls_iptunnel_encap *mpls_lwtunnel_encap(struct lwtunnel_state *lwtstate) 18{ 19 return (struct mpls_iptunnel_encap *)lwtstate->data; 20} 21 22#endif