hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/include/net/snmp.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 *
34 * SNMP MIB entries for the IP subsystem.
....@@ -8,12 +9,6 @@
89 * be silly as SNMP is a pain in the backside in places). We do
910 * however need to collect the MIB statistics and export them
1011 * out of /proc (eventually)
11
- *
12
- * This program is free software; you can redistribute it and/or
13
- * modify it under the terms of the GNU General Public License
14
- * as published by the Free Software Foundation; either version
15
- * 2 of the License, or (at your option) any later version.
16
- *
1712 */
1813
1914 #ifndef _SNMP_H
....@@ -116,6 +111,12 @@
116111 unsigned long mibs[LINUX_MIB_XFRMMAX];
117112 };
118113
114
+/* Linux TLS */
115
+#define LINUX_MIB_TLSMAX __LINUX_MIB_TLSMAX
116
+struct linux_tls_mib {
117
+ unsigned long mibs[LINUX_MIB_TLSMAX];
118
+};
119
+
119120 #define DEFINE_SNMP_STAT(type, name) \
120121 __typeof__(type) __percpu *name
121122 #define DEFINE_SNMP_STAT_ATOMIC(type, name) \