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>
This commit is contained in:

committed by
David S. Miller

parent
9ec1c6ac27
commit
d26b698dd3
@@ -111,6 +111,12 @@ struct linux_xfrm_mib {
|
||||
unsigned long mibs[LINUX_MIB_XFRMMAX];
|
||||
};
|
||||
|
||||
/* Linux TLS */
|
||||
#define LINUX_MIB_TLSMAX __LINUX_MIB_TLSMAX
|
||||
struct linux_tls_mib {
|
||||
unsigned long mibs[LINUX_MIB_TLSMAX];
|
||||
};
|
||||
|
||||
#define DEFINE_SNMP_STAT(type, name) \
|
||||
__typeof__(type) __percpu *name
|
||||
#define DEFINE_SNMP_STAT_ATOMIC(type, name) \
|
||||
|
Reference in New Issue
Block a user