xfrm_proc.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. XFRM proc - /proc/net/xfrm_* files
  2. ==================================
  3. Masahide NAKAMURA <nakam@linux-ipv6.org>
  4. Transformation Statistics
  5. -------------------------
  6. xfrm_proc is a statistics shown factor dropped by transformation
  7. for developer.
  8. It is a counter designed from current transformation source code
  9. and defined like linux private MIB.
  10. Inbound statistics
  11. ~~~~~~~~~~~~~~~~~~
  12. XfrmInError:
  13. All errors which is not matched others
  14. XfrmInBufferError:
  15. No buffer is left
  16. XfrmInHdrError:
  17. Header error
  18. XfrmInNoStates:
  19. No state is found
  20. i.e. Either inbound SPI, address, or IPsec protocol at SA is wrong
  21. XfrmInStateProtoError:
  22. Transformation protocol specific error
  23. e.g. SA key is wrong
  24. XfrmInStateModeError:
  25. Transformation mode specific error
  26. XfrmInStateSeqError:
  27. Sequence error
  28. i.e. Sequence number is out of window
  29. XfrmInStateExpired:
  30. State is expired
  31. XfrmInStateMismatch:
  32. State has mismatch option
  33. e.g. UDP encapsulation type is mismatch
  34. XfrmInStateInvalid:
  35. State is invalid
  36. XfrmInTmplMismatch:
  37. No matching template for states
  38. e.g. Inbound SAs are correct but SP rule is wrong
  39. XfrmInNoPols:
  40. No policy is found for states
  41. e.g. Inbound SAs are correct but no SP is found
  42. XfrmInPolBlock:
  43. Policy discards
  44. XfrmInPolError:
  45. Policy error
  46. Outbound errors
  47. ~~~~~~~~~~~~~~~
  48. XfrmOutError:
  49. All errors which is not matched others
  50. XfrmOutBundleGenError:
  51. Bundle generation error
  52. XfrmOutBundleCheckError:
  53. Bundle check error
  54. XfrmOutNoStates:
  55. No state is found
  56. XfrmOutStateProtoError:
  57. Transformation protocol specific error
  58. XfrmOutStateModeError:
  59. Transformation mode specific error
  60. XfrmOutStateSeqError:
  61. Sequence error
  62. i.e. Sequence number overflow
  63. XfrmOutStateExpired:
  64. State is expired
  65. XfrmOutPolBlock:
  66. Policy discards
  67. XfrmOutPolDead:
  68. Policy is dead
  69. XfrmOutPolError:
  70. Policy error