162306a36Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci====================
462306a36Sopenharmony_ciMPLS Sysfs variables
562306a36Sopenharmony_ci====================
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci/proc/sys/net/mpls/* Variables:
862306a36Sopenharmony_ci===============================
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciplatform_labels - INTEGER
1162306a36Sopenharmony_ci	Number of entries in the platform label table.  It is not
1262306a36Sopenharmony_ci	possible to configure forwarding for label values equal to or
1362306a36Sopenharmony_ci	greater than the number of platform labels.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci	A dense utilization of the entries in the platform label table
1662306a36Sopenharmony_ci	is possible and expected as the platform labels are locally
1762306a36Sopenharmony_ci	allocated.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci	If the number of platform label table entries is set to 0 no
2062306a36Sopenharmony_ci	label will be recognized by the kernel and mpls forwarding
2162306a36Sopenharmony_ci	will be disabled.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci	Reducing this value will remove all label routing entries that
2462306a36Sopenharmony_ci	no longer fit in the table.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ci	Possible values: 0 - 1048575
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci	Default: 0
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciip_ttl_propagate - BOOL
3162306a36Sopenharmony_ci	Control whether TTL is propagated from the IPv4/IPv6 header to
3262306a36Sopenharmony_ci	the MPLS header on imposing labels and propagated from the
3362306a36Sopenharmony_ci	MPLS header to the IPv4/IPv6 header on popping the last label.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci	If disabled, the MPLS transport network will appear as a
3662306a36Sopenharmony_ci	single hop to transit traffic.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci	* 0 - disabled / RFC 3443 [Short] Pipe Model
3962306a36Sopenharmony_ci	* 1 - enabled / RFC 3443 Uniform Model (default)
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_cidefault_ttl - INTEGER
4262306a36Sopenharmony_ci	Default TTL value to use for MPLS packets where it cannot be
4362306a36Sopenharmony_ci	propagated from an IP header, either because one isn't present
4462306a36Sopenharmony_ci	or ip_ttl_propagate has been disabled.
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ci	Possible values: 1 - 255
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci	Default: 255
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciconf/<interface>/input - BOOL
5162306a36Sopenharmony_ci	Control whether packets can be input on this interface.
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ci	If disabled, packets will be discarded without further
5462306a36Sopenharmony_ci	processing.
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ci	* 0 - disabled (default)
5762306a36Sopenharmony_ci	* not 0 - enabled
58