Skip to content

Commit 1a4bb1d

Browse files
Shannon Nelsonklassert
authored andcommitted
xfrm: update the stats documentation
Add a couple of stats that aren't in the documentation file and rework the top description to be a little more readable. Signed-off-by: Shannon Nelson <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
1 parent 9cb0d21 commit 1a4bb1d

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

Documentation/networking/xfrm_proc.txt

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ Masahide NAKAMURA <[email protected]>
55

66
Transformation Statistics
77
-------------------------
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.
128

13-
Inbound statistics
14-
~~~~~~~~~~~~~~~~~~
9+
The xfrm_proc code is a set of statistics showing numbers of packets
10+
dropped by the transformation code and why. These counters are defined
11+
as part of the linux private MIB. These counters can be viewed in
12+
/proc/net/xfrm_stat.
13+
14+
15+
Inbound errors
16+
~~~~~~~~~~~~~~
1517
XfrmInError:
1618
All errors which is not matched others
1719
XfrmInBufferError:
@@ -46,6 +48,10 @@ XfrmInPolBlock:
4648
Policy discards
4749
XfrmInPolError:
4850
Policy error
51+
XfrmAcquireError:
52+
State hasn't been fully acquired before use
53+
XfrmFwdHdrError:
54+
Forward routing of a packet is not allowed
4955

5056
Outbound errors
5157
~~~~~~~~~~~~~~~
@@ -72,3 +78,5 @@ XfrmOutPolDead:
7278
Policy is dead
7379
XfrmOutPolError:
7480
Policy error
81+
XfrmOutStateInvalid:
82+
State is invalid, perhaps expired

0 commit comments

Comments
 (0)