aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/xfrm_proc.txt
blob: ec9045b5c34a96c67dc8431dd4a2357893823150 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
XFRM proc - /proc/net/xfrm_* files
==================================
Masahide NAKAMURA <nakam@linux-ipv6.org>


Transformation Statistics
-------------------------
xfrm_proc is a statistics shown factor dropped by transformation
for developer.
It is a counter designed from current transformation source code
and defined like linux private MIB.

Inbound statistics
~~~~~~~~~~~~~~~~~~
XfrmInError:
	All errors which is not matched others
XfrmInBufferError:
	No buffer is left
XfrmInHdrError:
	Header error
XfrmInNoStates:
	No state is found
	i.e. Either inbound SPI, address, or IPsec protocol at SA is wrong
XfrmInStateProtoError:
	Transformation protocol specific error
	e.g. SA key is wrong
XfrmInStateModeError:
	Transformation mode specific error
XfrmInSeqOutOfWindow:
	Sequence out of window
XfrmInStateExpired:
	State is expired
XfrmInStateMismatch:
	State has mismatch option
	e.g. UDP encapsulation type is mismatch
XfrmInStateInvalid:
	State is invalid
XfrmInTmplMismatch:
	No matching template for states
	e.g. Inbound SAs are correct but SP rule is wrong
XfrmInNoPols:
	No policy is found for states
	e.g. Inbound SAs are correct but no SP is found
XfrmInPolBlock:
	Policy discards
XfrmInPolError:
	Policy error

Outbound errors
~~~~~~~~~~~~~~~
XfrmOutError:
	All errors which is not matched others
XfrmOutBundleGenError:
	Bundle generation error
XfrmOutBundleCheckError:
	Bundle check error
XfrmOutNoStates:
	No state is found
XfrmOutStateProtoError:
	Transformation protocol specific error
XfrmOutStateModeError:
	Transformation mode specific error
	e.g. Outer header space is not enough
XfrmOutStateExpired:
	State is expired
XfrmOutPolBlock:
	Policy discards
XfrmOutPolDead:
	Policy is dead
XfrmOutPolError:
	Policy error