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

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

- add SPDX header;
- mark code blocks and literals as such;
- add a document title;
- adjust chapters, adding proper markups;
- mark lists as such;
- add to networking/index.rst.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Mauro Carvalho Chehab and committed by
David S. Miller
d6c48bc6 de1fd4a7

+27 -18
+1
Documentation/networking/index.rst
··· 102 102 rxrpc 103 103 sctp 104 104 secid 105 + seg6-sysctl 105 106 106 107 .. only:: subproject and html 107 108
+26
Documentation/networking/seg6-sysctl.rst
··· 1 + .. SPDX-License-Identifier: GPL-2.0 2 + 3 + ==================== 4 + Seg6 Sysfs variables 5 + ==================== 6 + 7 + 8 + /proc/sys/net/conf/<iface>/seg6_* variables: 9 + ============================================ 10 + 11 + seg6_enabled - BOOL 12 + Accept or drop SR-enabled IPv6 packets on this interface. 13 + 14 + Relevant packets are those with SRH present and DA = local. 15 + 16 + * 0 - disabled (default) 17 + * not 0 - enabled 18 + 19 + seg6_require_hmac - INTEGER 20 + Define HMAC policy for ingress SR-enabled packets on this interface. 21 + 22 + * -1 - Ignore HMAC field 23 + * 0 - Accept SR packets without HMAC, validate SR packets with HMAC 24 + * 1 - Drop SR packets without HMAC, validate SR packets with HMAC 25 + 26 + Default is 0.
-18
Documentation/networking/seg6-sysctl.txt
··· 1 - /proc/sys/net/conf/<iface>/seg6_* variables: 2 - 3 - seg6_enabled - BOOL 4 - Accept or drop SR-enabled IPv6 packets on this interface. 5 - 6 - Relevant packets are those with SRH present and DA = local. 7 - 8 - 0 - disabled (default) 9 - not 0 - enabled 10 - 11 - seg6_require_hmac - INTEGER 12 - Define HMAC policy for ingress SR-enabled packets on this interface. 13 - 14 - -1 - Ignore HMAC field 15 - 0 - Accept SR packets without HMAC, validate SR packets with HMAC 16 - 1 - Drop SR packets without HMAC, validate SR packets with HMAC 17 - 18 - Default is 0.