swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04 authored by Linus Torvalds on 25 January 2021, 00:47:14 UTC
Linux 5.11-rc5
Tip revision: 6ee1d74
seg6-sysctl.rst
.. 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.
back to top