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
28seg6_flowlabel - INTEGER
29	Controls the behaviour of computing the flowlabel of outer
30	IPv6 header in case of SR T.encaps
31
32	 == =======================================================
33	 -1  set flowlabel to zero.
34	  0  copy flowlabel from Inner packet in case of Inner IPv6
35	     (Set flowlabel to 0 in case IPv4/L2)
36	  1  Compute the flowlabel using seg6_make_flowlabel()
37	 == =======================================================
38
39	Default is 0.
40