Commit e14fd64d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by David S. Miller

docs: networking: convert mpls-sysctl.txt to ReST

- add SPDX header;
- add a document title;
- mark lists as such;
- adjust identation, whitespaces and blank lines;
- add to networking/index.rst.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 429ff87b
...@@ -78,6 +78,7 @@ Contents: ...@@ -78,6 +78,7 @@ Contents:
lapb-module lapb-module
ltpc ltpc
mac80211-injection mac80211-injection
mpls-sysctl
.. only:: subproject and html .. only:: subproject and html
......
.. SPDX-License-Identifier: GPL-2.0
====================
MPLS Sysfs variables
====================
/proc/sys/net/mpls/* Variables: /proc/sys/net/mpls/* Variables:
===============================
platform_labels - INTEGER platform_labels - INTEGER
Number of entries in the platform label table. It is not Number of entries in the platform label table. It is not
...@@ -17,6 +24,7 @@ platform_labels - INTEGER ...@@ -17,6 +24,7 @@ platform_labels - INTEGER
no longer fit in the table. no longer fit in the table.
Possible values: 0 - 1048575 Possible values: 0 - 1048575
Default: 0 Default: 0
ip_ttl_propagate - BOOL ip_ttl_propagate - BOOL
...@@ -27,8 +35,8 @@ ip_ttl_propagate - BOOL ...@@ -27,8 +35,8 @@ ip_ttl_propagate - BOOL
If disabled, the MPLS transport network will appear as a If disabled, the MPLS transport network will appear as a
single hop to transit traffic. single hop to transit traffic.
0 - disabled / RFC 3443 [Short] Pipe Model * 0 - disabled / RFC 3443 [Short] Pipe Model
1 - enabled / RFC 3443 Uniform Model (default) * 1 - enabled / RFC 3443 Uniform Model (default)
default_ttl - INTEGER default_ttl - INTEGER
Default TTL value to use for MPLS packets where it cannot be Default TTL value to use for MPLS packets where it cannot be
...@@ -36,6 +44,7 @@ default_ttl - INTEGER ...@@ -36,6 +44,7 @@ default_ttl - INTEGER
or ip_ttl_propagate has been disabled. or ip_ttl_propagate has been disabled.
Possible values: 1 - 255 Possible values: 1 - 255
Default: 255 Default: 255
conf/<interface>/input - BOOL conf/<interface>/input - BOOL
...@@ -44,5 +53,5 @@ conf/<interface>/input - BOOL ...@@ -44,5 +53,5 @@ conf/<interface>/input - BOOL
If disabled, packets will be discarded without further If disabled, packets will be discarded without further
processing. processing.
0 - disabled (default) * 0 - disabled (default)
not 0 - enabled * not 0 - enabled
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment