netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Lebrun <david.lebrun@uclouvain.be>
To: <netdev@vger.kernel.org>
Cc: David Lebrun <david.lebrun@uclouvain.be>
Subject: [PATCH v2 9/9] ipv6: sr: add documentation file for per-interface sysctls
Date: Wed, 26 Oct 2016 17:56:17 +0200	[thread overview]
Message-ID: <1477497377-22372-5-git-send-email-david.lebrun@uclouvain.be> (raw)
In-Reply-To: <1477497292-22155-1-git-send-email-david.lebrun@uclouvain.be>

This patch adds documentation for some SR-related per-interface
sysctls.

Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
---
 Documentation/networking/seg6-sysctl.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 Documentation/networking/seg6-sysctl.txt

diff --git a/Documentation/networking/seg6-sysctl.txt b/Documentation/networking/seg6-sysctl.txt
new file mode 100644
index 0000000..bdbde23
--- /dev/null
+++ b/Documentation/networking/seg6-sysctl.txt
@@ -0,0 +1,18 @@
+/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.
-- 
2.7.3

  parent reply	other threads:[~2016-10-26 15:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26 15:54 [PATCH v2 0/9] net: add support for IPv6 Segment Routing David Lebrun
2016-10-26 15:54 ` [PATCH v2 1/9] ipv6: implement dataplane support for rthdr type 4 (Segment Routing Header) David Lebrun
2016-10-28  2:50   ` Tom Herbert
2016-10-26 15:54 ` [PATCH v2 2/9] ipv6: sr: add code base for control plane support of SR-IPv6 David Lebrun
2016-10-28  2:52   ` Tom Herbert
2016-10-26 15:54 ` [PATCH v2 3/9] ipv6: sr: add support for SRH encapsulation and injection with lwtunnels David Lebrun
2016-10-28  2:56   ` Tom Herbert
2016-10-26 15:54 ` [PATCH v2 4/9] ipv6: sr: add core files for SR HMAC support David Lebrun
2016-10-28  3:05   ` Tom Herbert
2016-10-26 15:56 ` [PATCH v2 5/9] ipv6: sr: implement API to control SR HMAC structure David Lebrun
2016-10-26 15:56 ` [PATCH v2 6/9] ipv6: sr: add calls to verify and insert HMAC signatures David Lebrun
2016-10-26 15:56 ` [PATCH v2 7/9] ipv6: add source address argument for ipv6_push_nfrag_opts David Lebrun
2016-10-26 15:56 ` [PATCH v2 8/9] ipv6: sr: add support for SRH injection through setsockopt David Lebrun
2016-10-26 15:56 ` David Lebrun [this message]
2016-10-26 16:03 ` [PATCH v2 0/9] net: add support for IPv6 Segment Routing David Lebrun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1477497377-22372-5-git-send-email-david.lebrun@uclouvain.be \
    --to=david.lebrun@uclouvain.be \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).