seg6-sysctl.rst 658 B

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