aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/networking/seg6-sysctl.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-30 18:04:24 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-30 12:56:38 -0700
commitd6c48bc6f8da38590946d23a27138d5258aca261 (patch)
tree8f9c34fd95baceb4ad3d069aac631065fc9204d0 /Documentation/networking/seg6-sysctl.rst
parentdocs: networking: convert secid.txt to ReST (diff)
downloadwireguard-linux-d6c48bc6f8da38590946d23a27138d5258aca261.tar.xz
wireguard-linux-d6c48bc6f8da38590946d23a27138d5258aca261.zip
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>
Diffstat (limited to 'Documentation/networking/seg6-sysctl.rst')
-rw-r--r--Documentation/networking/seg6-sysctl.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/networking/seg6-sysctl.rst b/Documentation/networking/seg6-sysctl.rst
new file mode 100644
index 000000000000..ec73e1445030
--- /dev/null
+++ b/Documentation/networking/seg6-sysctl.rst
@@ -0,0 +1,26 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+====================
+Seg6 Sysfs variables
+====================
+
+
+/proc/sys/net/conf/<iface>/seg6_* variables:
+============================================
+
+seg6_enabled - BOOL
+ Accept or drop SR-enabled IPv6 packets on this interface.
+
+ Relevant packets are those with SRH present and DA = local.
+
+ * 0 - disabled (default)
+ * not 0 - enabled
+
+seg6_require_hmac - INTEGER
+ Define HMAC policy for ingress SR-enabled packets on this interface.
+
+ * -1 - Ignore HMAC field
+ * 0 - Accept SR packets without HMAC, validate SR packets with HMAC
+ * 1 - Drop SR packets without HMAC, validate SR packets with HMAC
+
+ Default is 0.