162306a36Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci==================== 462306a36Sopenharmony_ciSeg6 Sysfs variables 562306a36Sopenharmony_ci==================== 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci/proc/sys/net/conf/<iface>/seg6_* variables: 962306a36Sopenharmony_ci============================================ 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciseg6_enabled - BOOL 1262306a36Sopenharmony_ci Accept or drop SR-enabled IPv6 packets on this interface. 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci Relevant packets are those with SRH present and DA = local. 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci * 0 - disabled (default) 1762306a36Sopenharmony_ci * not 0 - enabled 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciseg6_require_hmac - INTEGER 2062306a36Sopenharmony_ci Define HMAC policy for ingress SR-enabled packets on this interface. 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci * -1 - Ignore HMAC field 2362306a36Sopenharmony_ci * 0 - Accept SR packets without HMAC, validate SR packets with HMAC 2462306a36Sopenharmony_ci * 1 - Drop SR packets without HMAC, validate SR packets with HMAC 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci Default is 0. 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ciseg6_flowlabel - INTEGER 2962306a36Sopenharmony_ci Controls the behaviour of computing the flowlabel of outer 3062306a36Sopenharmony_ci IPv6 header in case of SR T.encaps 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci == ======================================================= 3362306a36Sopenharmony_ci -1 set flowlabel to zero. 3462306a36Sopenharmony_ci 0 copy flowlabel from Inner packet in case of Inner IPv6 3562306a36Sopenharmony_ci (Set flowlabel to 0 in case IPv4/L2) 3662306a36Sopenharmony_ci 1 Compute the flowlabel using seg6_make_flowlabel() 3762306a36Sopenharmony_ci == ======================================================= 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ci Default is 0. 40