xfrm_proc.txt 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. XfrmInSeqOutOfWindow:
  27. Sequence out of window
  28. XfrmInStateExpired:
  29. State is expired
  30. XfrmInStateMismatch:
  31. State has mismatch option
  32. e.g. UDP encapsulation type is mismatch
  33. XfrmInStateInvalid:
  34. State is invalid
  35. XfrmInTmplMismatch:
  36. No matching template for states
  37. e.g. Inbound SAs are correct but SP rule is wrong
  38. XfrmInNoPols:
  39. No policy is found for states
  40. e.g. Inbound SAs are correct but no SP is found
  41. XfrmInPolBlock:
  42. Policy discards
  43. XfrmInPolError:
  44. Policy error
  45. Outbound errors
  46. ~~~~~~~~~~~~~~~
  47. XfrmOutError:
  48. All errors which is not matched others
  49. XfrmOutBundleGenError:
  50. Bundle generation error
  51. XfrmOutBundleCheckError:
  52. Bundle check error
  53. XfrmOutNoStates:
  54. No state is found
  55. XfrmOutStateProtoError:
  56. Transformation protocol specific error
  57. XfrmOutStateModeError:
  58. Transformation mode specific error
  59. e.g. Outer header space is not enough
  60. XfrmOutStateExpired:
  61. State is expired
  62. XfrmOutPolBlock:
  63. Policy discards
  64. XfrmOutPolDead:
  65. Policy is dead
  66. XfrmOutPolError:
  67. Policy error