Commit da62baad authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by David S. Miller

docs: networking: convert xfrm_proc.txt to ReST

- add SPDX header;
- adjust title markup;
- adjust identation, whitespaces and blank lines where needed;
- add to networking/index.rst.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c4a0eb93
...@@ -118,6 +118,7 @@ Contents: ...@@ -118,6 +118,7 @@ Contents:
x25-iface x25-iface
x25 x25
xfrm_device xfrm_device
xfrm_proc
.. only:: subproject and html .. only:: subproject and html
......
.. SPDX-License-Identifier: GPL-2.0
==================================
XFRM proc - /proc/net/xfrm_* files XFRM proc - /proc/net/xfrm_* files
================================== ==================================
Masahide NAKAMURA <nakam@linux-ipv6.org> Masahide NAKAMURA <nakam@linux-ipv6.org>
...@@ -14,42 +18,58 @@ as part of the linux private MIB. These counters can be viewed in ...@@ -14,42 +18,58 @@ as part of the linux private MIB. These counters can be viewed in
Inbound errors Inbound errors
~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
XfrmInError: XfrmInError:
All errors which is not matched others All errors which is not matched others
XfrmInBufferError: XfrmInBufferError:
No buffer is left No buffer is left
XfrmInHdrError: XfrmInHdrError:
Header error Header error
XfrmInNoStates: XfrmInNoStates:
No state is found No state is found
i.e. Either inbound SPI, address, or IPsec protocol at SA is wrong i.e. Either inbound SPI, address, or IPsec protocol at SA is wrong
XfrmInStateProtoError: XfrmInStateProtoError:
Transformation protocol specific error Transformation protocol specific error
e.g. SA key is wrong e.g. SA key is wrong
XfrmInStateModeError: XfrmInStateModeError:
Transformation mode specific error Transformation mode specific error
XfrmInStateSeqError: XfrmInStateSeqError:
Sequence error Sequence error
i.e. Sequence number is out of window i.e. Sequence number is out of window
XfrmInStateExpired: XfrmInStateExpired:
State is expired State is expired
XfrmInStateMismatch: XfrmInStateMismatch:
State has mismatch option State has mismatch option
e.g. UDP encapsulation type is mismatch e.g. UDP encapsulation type is mismatch
XfrmInStateInvalid: XfrmInStateInvalid:
State is invalid State is invalid
XfrmInTmplMismatch: XfrmInTmplMismatch:
No matching template for states No matching template for states
e.g. Inbound SAs are correct but SP rule is wrong e.g. Inbound SAs are correct but SP rule is wrong
XfrmInNoPols: XfrmInNoPols:
No policy is found for states No policy is found for states
e.g. Inbound SAs are correct but no SP is found e.g. Inbound SAs are correct but no SP is found
XfrmInPolBlock: XfrmInPolBlock:
Policy discards Policy discards
XfrmInPolError: XfrmInPolError:
Policy error Policy error
XfrmAcquireError: XfrmAcquireError:
State hasn't been fully acquired before use State hasn't been fully acquired before use
XfrmFwdHdrError: XfrmFwdHdrError:
Forward routing of a packet is not allowed Forward routing of a packet is not allowed
...@@ -57,26 +77,37 @@ Outbound errors ...@@ -57,26 +77,37 @@ Outbound errors
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
XfrmOutError: XfrmOutError:
All errors which is not matched others All errors which is not matched others
XfrmOutBundleGenError: XfrmOutBundleGenError:
Bundle generation error Bundle generation error
XfrmOutBundleCheckError: XfrmOutBundleCheckError:
Bundle check error Bundle check error
XfrmOutNoStates: XfrmOutNoStates:
No state is found No state is found
XfrmOutStateProtoError: XfrmOutStateProtoError:
Transformation protocol specific error Transformation protocol specific error
XfrmOutStateModeError: XfrmOutStateModeError:
Transformation mode specific error Transformation mode specific error
XfrmOutStateSeqError: XfrmOutStateSeqError:
Sequence error Sequence error
i.e. Sequence number overflow i.e. Sequence number overflow
XfrmOutStateExpired: XfrmOutStateExpired:
State is expired State is expired
XfrmOutPolBlock: XfrmOutPolBlock:
Policy discards Policy discards
XfrmOutPolDead: XfrmOutPolDead:
Policy is dead Policy is dead
XfrmOutPolError: XfrmOutPolError:
Policy error Policy error
XfrmOutStateInvalid: XfrmOutStateInvalid:
State is invalid, perhaps expired State is invalid, perhaps expired
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment