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

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: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent de1fd4a7
...@@ -102,6 +102,7 @@ Contents: ...@@ -102,6 +102,7 @@ Contents:
rxrpc rxrpc
sctp sctp
secid secid
seg6-sysctl
.. only:: subproject and html .. only:: subproject and html
......
.. SPDX-License-Identifier: GPL-2.0
====================
Seg6 Sysfs variables
====================
/proc/sys/net/conf/<iface>/seg6_* variables: /proc/sys/net/conf/<iface>/seg6_* variables:
============================================
seg6_enabled - BOOL seg6_enabled - BOOL
Accept or drop SR-enabled IPv6 packets on this interface. Accept or drop SR-enabled IPv6 packets on this interface.
Relevant packets are those with SRH present and DA = local. Relevant packets are those with SRH present and DA = local.
0 - disabled (default) * 0 - disabled (default)
not 0 - enabled * not 0 - enabled
seg6_require_hmac - INTEGER seg6_require_hmac - INTEGER
Define HMAC policy for ingress SR-enabled packets on this interface. Define HMAC policy for ingress SR-enabled packets on this interface.
-1 - Ignore HMAC field * -1 - Ignore HMAC field
0 - Accept SR packets without HMAC, validate SR packets with HMAC * 0 - Accept SR packets without HMAC, validate SR packets with HMAC
1 - Drop SR packets without HMAC, validate SR packets with HMAC * 1 - Drop SR packets without HMAC, validate SR packets with HMAC
Default is 0. Default is 0.
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