diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-10-05 02:19:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-06 02:29:00 +0300 |
commit | d26b698dd3cd52f5a3277446a87e5e0198c99cd0 (patch) | |
tree | 5b89974daf6db33cbfc10bdbbae357bb60e79524 /include/net/netns | |
parent | 9ec1c6ac27640f6a65378f11e433baa4ece12a28 (diff) | |
download | linux-d26b698dd3cd52f5a3277446a87e5e0198c99cd0.tar.xz |
net/tls: add skeleton of MIB statistics
Add a skeleton structure for adding TLS statistics.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/mib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netns/mib.h b/include/net/netns/mib.h index 830bdf345b17..b5fdb108d602 100644 --- a/include/net/netns/mib.h +++ b/include/net/netns/mib.h @@ -24,6 +24,9 @@ struct netns_mib { #ifdef CONFIG_XFRM_STATISTICS DEFINE_SNMP_STAT(struct linux_xfrm_mib, xfrm_statistics); #endif +#if IS_ENABLED(CONFIG_TLS) + DEFINE_SNMP_STAT(struct linux_tls_mib, tls_statistics); +#endif }; #endif |