浏览代码

[XFRM]: Add packet processing statistics option.

Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Masahide NAKAMURA 17 年之前
父节点
当前提交
8ea843495d
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      net/xfrm/Kconfig

+ 10 - 0
net/xfrm/Kconfig

@@ -35,6 +35,16 @@ config XFRM_MIGRATE
 
 
 	  If unsure, say N.
 	  If unsure, say N.
 
 
+config XFRM_STATISTICS
+	bool "Transformation statistics (EXPERIMENTAL)"
+	depends on XFRM && PROC_FS && EXPERIMENTAL
+	---help---
+	  This statistics is not a SNMP/MIB specification but shows
+	  statistics about transformation error (or almost error) factor
+	  at packet processing for developer.
+
+	  If unsure, say N.
+
 config NET_KEY
 config NET_KEY
 	tristate "PF_KEY sockets"
 	tristate "PF_KEY sockets"
 	select XFRM
 	select XFRM