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