diff options
author | Masahide NAKAMURA <nakam@linux-ipv6.org> | 2007-12-20 23:42:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:59:38 -0500 |
commit | 558f82ef6e0d25e87f7468c07b6db1fbbf95a855 (patch) | |
tree | b2fe20926ca4e500b6e5c0232a5bf3b2e3ba898e /Documentation | |
parent | 9473e1f631de339c50bde1e3bd09e1045fe90fd5 (diff) |
[XFRM]: Define packet dropping statistics.
This statistics is shown factor dropped by transformation
at /proc/net/xfrm_stat for developer.
It is a counter designed from current transformation source code
and defined as linux private MIB.
See Documentation/networking/xfrm_proc.txt for the detail.
Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/xfrm_proc.txt | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/Documentation/networking/xfrm_proc.txt b/Documentation/networking/xfrm_proc.txt new file mode 100644 index 000000000000..ec9045b5c34a --- /dev/null +++ b/Documentation/networking/xfrm_proc.txt | |||
@@ -0,0 +1,71 @@ | |||
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 | ||