blob: ec73e144503075b7fa25f6f9d25351d8c4749884 [file] [log] [blame]
Mauro Carvalho Chehabd6c48bc2020-04-30 18:04:24 +02001.. 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.