Skip to content

Commit

Permalink
ipv6: sr: add documentation file for per-interface sysctls
Browse files Browse the repository at this point in the history
This patch adds documentation for some SR-related per-interface
sysctls.

Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David Lebrun authored and David S. Miller committed Nov 10, 2016
1 parent a149e7c commit 8bc66a4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Documentation/networking/seg6-sysctl.txt
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 8bc66a4

Please sign in to comment.