diff options
author | Masahide NAKAMURA <nakam@linux-ipv6.org> | 2007-12-20 20:42:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:59:38 -0800 |
commit | 558f82ef6e0d25e87f7468c07b6db1fbbf95a855 (patch) | |
tree | b2fe20926ca4e500b6e5c0232a5bf3b2e3ba898e /include/net/snmp.h | |
parent | 9473e1f631de339c50bde1e3bd09e1045fe90fd5 (diff) | |
download | kernel_samsung_espresso10-558f82ef6e0d25e87f7468c07b6db1fbbf95a855.zip kernel_samsung_espresso10-558f82ef6e0d25e87f7468c07b6db1fbbf95a855.tar.gz kernel_samsung_espresso10-558f82ef6e0d25e87f7468c07b6db1fbbf95a855.tar.bz2 |
[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 'include/net/snmp.h')
-rw-r--r-- | include/net/snmp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/snmp.h b/include/net/snmp.h index fbb6666..ce2f485 100644 --- a/include/net/snmp.h +++ b/include/net/snmp.h @@ -118,6 +118,11 @@ struct linux_mib { unsigned long mibs[LINUX_MIB_MAX]; }; +/* Linux Xfrm */ +#define LINUX_MIB_XFRMMAX __LINUX_MIB_XFRMMAX +struct linux_xfrm_mib { + unsigned long mibs[LINUX_MIB_XFRMMAX]; +}; /* * FIXME: On x86 and some other CPUs the split into user and softirq parts |