summaryrefslogtreecommitdiff
path: root/Documentation/networking/seg6-sysctl.rst
blob: ec73e144503075b7fa25f6f9d25351d8c4749884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.