.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * |
---|
3 | 4 | * SNMP MIB entries for the IP subsystem. |
---|
.. | .. |
---|
8 | 9 | * be silly as SNMP is a pain in the backside in places). We do |
---|
9 | 10 | * however need to collect the MIB statistics and export them |
---|
10 | 11 | * 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 | | - * |
---|
17 | 12 | */ |
---|
18 | 13 | |
---|
19 | 14 | #ifndef _SNMP_H |
---|
.. | .. |
---|
116 | 111 | unsigned long mibs[LINUX_MIB_XFRMMAX]; |
---|
117 | 112 | }; |
---|
118 | 113 | |
---|
| 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 | + |
---|
119 | 120 | #define DEFINE_SNMP_STAT(type, name) \ |
---|
120 | 121 | __typeof__(type) __percpu *name |
---|
121 | 122 | #define DEFINE_SNMP_STAT_ATOMIC(type, name) \ |
---|