xfrm_proc.txt 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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