40 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3====================4Seg6 Sysfs variables5====================6 7 8/proc/sys/net/conf/<iface>/seg6_* variables:9============================================10 11seg6_enabled - BOOL12 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 - enabled18 19seg6_require_hmac - INTEGER20 Define HMAC policy for ingress SR-enabled packets on this interface.21 22 * -1 - Ignore HMAC field23 * 0 - Accept SR packets without HMAC, validate SR packets with HMAC24 * 1 - Drop SR packets without HMAC, validate SR packets with HMAC25 26 Default is 0.27 28seg6_flowlabel - INTEGER29 Controls the behaviour of computing the flowlabel of outer30 IPv6 header in case of SR T.encaps31 32 == =======================================================33 -1 set flowlabel to zero.34 0 copy flowlabel from Inner packet in case of Inner IPv635 (Set flowlabel to 0 in case IPv4/L2)36 1 Compute the flowlabel using seg6_make_flowlabel()37 == =======================================================38 39 Default is 0.40