• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. SPDX-License-Identifier: GPL-2.0
2
3====================
4Seg6 Sysfs variables
5====================
6
7
8/proc/sys/net/conf/<iface>/seg6_* variables:
9============================================
10
11seg6_enabled - BOOL
12	Accept or drop SR-enabled IPv6 packets on this interface.
13
14	Relevant packets are those with SRH present and DA = local.
15
16	* 0 - disabled (default)
17	* not 0 - enabled
18
19seg6_require_hmac - INTEGER
20	Define HMAC policy for ingress SR-enabled packets on this interface.
21
22	* -1 - Ignore HMAC field
23	* 0 - Accept SR packets without HMAC, validate SR packets with HMAC
24	* 1 - Drop SR packets without HMAC, validate SR packets with HMAC
25
26	Default is 0.
27