~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/snmp.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/linux/snmp.h (Version linux-6.12-rc7) and /include/uapi/linux/snmp.h (Version linux-2.6.32.71)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 
  2 /*                                                
  3  * Definitions for MIBs                           
  4  *                                                
  5  * Author: Hideaki YOSHIFUJI <yoshfuji@linux-i    
  6  */                                               
  7                                                   
  8 #ifndef _LINUX_SNMP_H                             
  9 #define _LINUX_SNMP_H                             
 10                                                   
 11 /* ipstats mib definitions */                     
 12 /*                                                
 13  * RFC 1213:  MIB-II                              
 14  * RFC 2011 (updates 1213):  SNMPv2-MIB-IP        
 15  * RFC 2863:  Interfaces Group MIB                
 16  * RFC 2465:  IPv6 MIB: General Group             
 17  * draft-ietf-ipv6-rfc2011-update-10.txt: MIB     
 18  */                                               
 19 enum                                              
 20 {                                                 
 21         IPSTATS_MIB_NUM = 0,                      
 22 /* frequently written fields in fast path, kep    
 23         IPSTATS_MIB_INPKTS,                       
 24         IPSTATS_MIB_INOCTETS,                     
 25         IPSTATS_MIB_INDELIVERS,                   
 26         IPSTATS_MIB_OUTFORWDATAGRAMS,             
 27         IPSTATS_MIB_OUTREQUESTS,                  
 28         IPSTATS_MIB_OUTOCTETS,                    
 29 /* other fields */                                
 30         IPSTATS_MIB_INHDRERRORS,                  
 31         IPSTATS_MIB_INTOOBIGERRORS,               
 32         IPSTATS_MIB_INNOROUTES,                   
 33         IPSTATS_MIB_INADDRERRORS,                 
 34         IPSTATS_MIB_INUNKNOWNPROTOS,              
 35         IPSTATS_MIB_INTRUNCATEDPKTS,              
 36         IPSTATS_MIB_INDISCARDS,                   
 37         IPSTATS_MIB_OUTDISCARDS,                  
 38         IPSTATS_MIB_OUTNOROUTES,                  
 39         IPSTATS_MIB_REASMTIMEOUT,                 
 40         IPSTATS_MIB_REASMREQDS,                   
 41         IPSTATS_MIB_REASMOKS,                     
 42         IPSTATS_MIB_REASMFAILS,                   
 43         IPSTATS_MIB_FRAGOKS,                      
 44         IPSTATS_MIB_FRAGFAILS,                    
 45         IPSTATS_MIB_FRAGCREATES,                  
 46         IPSTATS_MIB_INMCASTPKTS,                  
 47         IPSTATS_MIB_OUTMCASTPKTS,                 
 48         IPSTATS_MIB_INBCASTPKTS,                  
 49         IPSTATS_MIB_OUTBCASTPKTS,                 
 50         IPSTATS_MIB_INMCASTOCTETS,                
 51         IPSTATS_MIB_OUTMCASTOCTETS,               
 52         IPSTATS_MIB_INBCASTOCTETS,                
 53         IPSTATS_MIB_OUTBCASTOCTETS,               
 54         IPSTATS_MIB_CSUMERRORS,                   
 55         IPSTATS_MIB_NOECTPKTS,                    
 56         IPSTATS_MIB_ECT1PKTS,                     
 57         IPSTATS_MIB_ECT0PKTS,                     
 58         IPSTATS_MIB_CEPKTS,                       
 59         IPSTATS_MIB_REASM_OVERLAPS,               
 60         IPSTATS_MIB_OUTPKTS,                      
 61         __IPSTATS_MIB_MAX                         
 62 };                                                
 63                                                   
 64 /* icmp mib definitions */                        
 65 /*                                                
 66  * RFC 1213:  MIB-II ICMP Group                   
 67  * RFC 2011 (updates 1213):  SNMPv2 MIB for IP    
 68  */                                               
 69 enum                                              
 70 {                                                 
 71         ICMP_MIB_NUM = 0,                         
 72         ICMP_MIB_INMSGS,                          
 73         ICMP_MIB_INERRORS,                        
 74         ICMP_MIB_INDESTUNREACHS,                  
 75         ICMP_MIB_INTIMEEXCDS,                     
 76         ICMP_MIB_INPARMPROBS,                     
 77         ICMP_MIB_INSRCQUENCHS,                    
 78         ICMP_MIB_INREDIRECTS,                     
 79         ICMP_MIB_INECHOS,                         
 80         ICMP_MIB_INECHOREPS,                      
 81         ICMP_MIB_INTIMESTAMPS,                    
 82         ICMP_MIB_INTIMESTAMPREPS,                 
 83         ICMP_MIB_INADDRMASKS,                     
 84         ICMP_MIB_INADDRMASKREPS,                  
 85         ICMP_MIB_OUTMSGS,                         
 86         ICMP_MIB_OUTERRORS,                       
 87         ICMP_MIB_OUTDESTUNREACHS,                 
 88         ICMP_MIB_OUTTIMEEXCDS,                    
 89         ICMP_MIB_OUTPARMPROBS,                    
 90         ICMP_MIB_OUTSRCQUENCHS,                   
 91         ICMP_MIB_OUTREDIRECTS,                    
 92         ICMP_MIB_OUTECHOS,                        
 93         ICMP_MIB_OUTECHOREPS,                     
 94         ICMP_MIB_OUTTIMESTAMPS,                   
 95         ICMP_MIB_OUTTIMESTAMPREPS,                
 96         ICMP_MIB_OUTADDRMASKS,                    
 97         ICMP_MIB_OUTADDRMASKREPS,                 
 98         ICMP_MIB_CSUMERRORS,                      
 99         ICMP_MIB_RATELIMITGLOBAL,                 
100         ICMP_MIB_RATELIMITHOST,                   
101         __ICMP_MIB_MAX                            
102 };                                                
103                                                   
104 #define __ICMPMSG_MIB_MAX 512   /* Out+In for     
105                                                   
106 /* icmp6 mib definitions */                       
107 /*                                                
108  * RFC 2466:  ICMPv6-MIB                          
109  */                                               
110 enum                                              
111 {                                                 
112         ICMP6_MIB_NUM = 0,                        
113         ICMP6_MIB_INMSGS,                         
114         ICMP6_MIB_INERRORS,                       
115         ICMP6_MIB_OUTMSGS,                        
116         ICMP6_MIB_OUTERRORS,                      
117         ICMP6_MIB_CSUMERRORS,                     
118         ICMP6_MIB_RATELIMITHOST,                  
119         __ICMP6_MIB_MAX                           
120 };                                                
121                                                   
122 #define __ICMP6MSG_MIB_MAX 512 /* Out+In for a    
123                                                   
124 /* tcp mib definitions */                         
125 /*                                                
126  * RFC 1213:  MIB-II TCP group                    
127  * RFC 2012 (updates 1213):  SNMPv2-MIB-TCP       
128  */                                               
129 enum                                              
130 {                                                 
131         TCP_MIB_NUM = 0,                          
132         TCP_MIB_RTOALGORITHM,                     
133         TCP_MIB_RTOMIN,                           
134         TCP_MIB_RTOMAX,                           
135         TCP_MIB_MAXCONN,                          
136         TCP_MIB_ACTIVEOPENS,                      
137         TCP_MIB_PASSIVEOPENS,                     
138         TCP_MIB_ATTEMPTFAILS,                     
139         TCP_MIB_ESTABRESETS,                      
140         TCP_MIB_CURRESTAB,                        
141         TCP_MIB_INSEGS,                           
142         TCP_MIB_OUTSEGS,                          
143         TCP_MIB_RETRANSSEGS,                      
144         TCP_MIB_INERRS,                           
145         TCP_MIB_OUTRSTS,                          
146         TCP_MIB_CSUMERRORS,                       
147         __TCP_MIB_MAX                             
148 };                                                
149                                                   
150 /* udp mib definitions */                         
151 /*                                                
152  * RFC 1213:  MIB-II UDP group                    
153  * RFC 2013 (updates 1213):  SNMPv2-MIB-UDP       
154  */                                               
155 enum                                              
156 {                                                 
157         UDP_MIB_NUM = 0,                          
158         UDP_MIB_INDATAGRAMS,                      
159         UDP_MIB_NOPORTS,                          
160         UDP_MIB_INERRORS,                         
161         UDP_MIB_OUTDATAGRAMS,                     
162         UDP_MIB_RCVBUFERRORS,                     
163         UDP_MIB_SNDBUFERRORS,                     
164         UDP_MIB_CSUMERRORS,                       
165         UDP_MIB_IGNOREDMULTI,                     
166         UDP_MIB_MEMERRORS,                        
167         __UDP_MIB_MAX                             
168 };                                                
169                                                   
170 /* linux mib definitions */                       
171 enum                                              
172 {                                                 
173         LINUX_MIB_NUM = 0,                        
174         LINUX_MIB_SYNCOOKIESSENT,                 
175         LINUX_MIB_SYNCOOKIESRECV,                 
176         LINUX_MIB_SYNCOOKIESFAILED,               
177         LINUX_MIB_EMBRYONICRSTS,                  
178         LINUX_MIB_PRUNECALLED,                    
179         LINUX_MIB_RCVPRUNED,                      
180         LINUX_MIB_OFOPRUNED,                      
181         LINUX_MIB_OUTOFWINDOWICMPS,               
182         LINUX_MIB_LOCKDROPPEDICMPS,               
183         LINUX_MIB_ARPFILTER,                      
184         LINUX_MIB_TIMEWAITED,                     
185         LINUX_MIB_TIMEWAITRECYCLED,               
186         LINUX_MIB_TIMEWAITKILLED,                 
187         LINUX_MIB_PAWSACTIVEREJECTED,             
188         LINUX_MIB_PAWSESTABREJECTED,              
189         LINUX_MIB_DELAYEDACKS,                    
190         LINUX_MIB_DELAYEDACKLOCKED,               
191         LINUX_MIB_DELAYEDACKLOST,                 
192         LINUX_MIB_LISTENOVERFLOWS,                
193         LINUX_MIB_LISTENDROPS,                    
194         LINUX_MIB_TCPHPHITS,                      
195         LINUX_MIB_TCPPUREACKS,                    
196         LINUX_MIB_TCPHPACKS,                      
197         LINUX_MIB_TCPRENORECOVERY,                
198         LINUX_MIB_TCPSACKRECOVERY,                
199         LINUX_MIB_TCPSACKRENEGING,                
200         LINUX_MIB_TCPSACKREORDER,                 
201         LINUX_MIB_TCPRENOREORDER,                 
202         LINUX_MIB_TCPTSREORDER,                   
203         LINUX_MIB_TCPFULLUNDO,                    
204         LINUX_MIB_TCPPARTIALUNDO,                 
205         LINUX_MIB_TCPDSACKUNDO,                   
206         LINUX_MIB_TCPLOSSUNDO,                    
207         LINUX_MIB_TCPLOSTRETRANSMIT,              
208         LINUX_MIB_TCPRENOFAILURES,                
209         LINUX_MIB_TCPSACKFAILURES,                
210         LINUX_MIB_TCPLOSSFAILURES,                
211         LINUX_MIB_TCPFASTRETRANS,                 
212         LINUX_MIB_TCPSLOWSTARTRETRANS,            
213         LINUX_MIB_TCPTIMEOUTS,                    
214         LINUX_MIB_TCPLOSSPROBES,                  
215         LINUX_MIB_TCPLOSSPROBERECOVERY,           
216         LINUX_MIB_TCPRENORECOVERYFAIL,            
217         LINUX_MIB_TCPSACKRECOVERYFAIL,            
218         LINUX_MIB_TCPRCVCOLLAPSED,                
219         LINUX_MIB_TCPDSACKOLDSENT,                
220         LINUX_MIB_TCPDSACKOFOSENT,                
221         LINUX_MIB_TCPDSACKRECV,                   
222         LINUX_MIB_TCPDSACKOFORECV,                
223         LINUX_MIB_TCPABORTONDATA,                 
224         LINUX_MIB_TCPABORTONCLOSE,                
225         LINUX_MIB_TCPABORTONMEMORY,               
226         LINUX_MIB_TCPABORTONTIMEOUT,              
227         LINUX_MIB_TCPABORTONLINGER,               
228         LINUX_MIB_TCPABORTFAILED,                 
229         LINUX_MIB_TCPMEMORYPRESSURES,             
230         LINUX_MIB_TCPMEMORYPRESSURESCHRONO,       
231         LINUX_MIB_TCPSACKDISCARD,                 
232         LINUX_MIB_TCPDSACKIGNOREDOLD,             
233         LINUX_MIB_TCPDSACKIGNOREDNOUNDO,          
234         LINUX_MIB_TCPSPURIOUSRTOS,                
235         LINUX_MIB_TCPMD5NOTFOUND,                 
236         LINUX_MIB_TCPMD5UNEXPECTED,               
237         LINUX_MIB_TCPMD5FAILURE,                  
238         LINUX_MIB_SACKSHIFTED,                    
239         LINUX_MIB_SACKMERGED,                     
240         LINUX_MIB_SACKSHIFTFALLBACK,              
241         LINUX_MIB_TCPBACKLOGDROP,                 
242         LINUX_MIB_PFMEMALLOCDROP,                 
243         LINUX_MIB_TCPMINTTLDROP, /* RFC 5082 *    
244         LINUX_MIB_TCPDEFERACCEPTDROP,             
245         LINUX_MIB_IPRPFILTER, /* IP Reverse Pa    
246         LINUX_MIB_TCPTIMEWAITOVERFLOW,            
247         LINUX_MIB_TCPREQQFULLDOCOOKIES,           
248         LINUX_MIB_TCPREQQFULLDROP,                
249         LINUX_MIB_TCPRETRANSFAIL,                 
250         LINUX_MIB_TCPRCVCOALESCE,                 
251         LINUX_MIB_TCPBACKLOGCOALESCE,             
252         LINUX_MIB_TCPOFOQUEUE,                    
253         LINUX_MIB_TCPOFODROP,                     
254         LINUX_MIB_TCPOFOMERGE,                    
255         LINUX_MIB_TCPCHALLENGEACK,                
256         LINUX_MIB_TCPSYNCHALLENGE,                
257         LINUX_MIB_TCPFASTOPENACTIVE,              
258         LINUX_MIB_TCPFASTOPENACTIVEFAIL,          
259         LINUX_MIB_TCPFASTOPENPASSIVE,             
260         LINUX_MIB_TCPFASTOPENPASSIVEFAIL,         
261         LINUX_MIB_TCPFASTOPENLISTENOVERFLOW,      
262         LINUX_MIB_TCPFASTOPENCOOKIEREQD,          
263         LINUX_MIB_TCPFASTOPENBLACKHOLE,           
264         LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES,     
265         LINUX_MIB_BUSYPOLLRXPACKETS,              
266         LINUX_MIB_TCPAUTOCORKING,                 
267         LINUX_MIB_TCPFROMZEROWINDOWADV,           
268         LINUX_MIB_TCPTOZEROWINDOWADV,             
269         LINUX_MIB_TCPWANTZEROWINDOWADV,           
270         LINUX_MIB_TCPSYNRETRANS,                  
271         LINUX_MIB_TCPORIGDATASENT,                
272         LINUX_MIB_TCPHYSTARTTRAINDETECT,          
273         LINUX_MIB_TCPHYSTARTTRAINCWND,            
274         LINUX_MIB_TCPHYSTARTDELAYDETECT,          
275         LINUX_MIB_TCPHYSTARTDELAYCWND,            
276         LINUX_MIB_TCPACKSKIPPEDSYNRECV,           
277         LINUX_MIB_TCPACKSKIPPEDPAWS,              
278         LINUX_MIB_TCPACKSKIPPEDSEQ,               
279         LINUX_MIB_TCPACKSKIPPEDFINWAIT2,          
280         LINUX_MIB_TCPACKSKIPPEDTIMEWAIT,          
281         LINUX_MIB_TCPACKSKIPPEDCHALLENGE,         
282         LINUX_MIB_TCPWINPROBE,                    
283         LINUX_MIB_TCPKEEPALIVE,                   
284         LINUX_MIB_TCPMTUPFAIL,                    
285         LINUX_MIB_TCPMTUPSUCCESS,                 
286         LINUX_MIB_TCPDELIVERED,                   
287         LINUX_MIB_TCPDELIVEREDCE,                 
288         LINUX_MIB_TCPACKCOMPRESSED,               
289         LINUX_MIB_TCPZEROWINDOWDROP,              
290         LINUX_MIB_TCPRCVQDROP,                    
291         LINUX_MIB_TCPWQUEUETOOBIG,                
292         LINUX_MIB_TCPFASTOPENPASSIVEALTKEY,       
293         LINUX_MIB_TCPTIMEOUTREHASH,               
294         LINUX_MIB_TCPDUPLICATEDATAREHASH,         
295         LINUX_MIB_TCPDSACKRECVSEGS,               
296         LINUX_MIB_TCPDSACKIGNOREDDUBIOUS,         
297         LINUX_MIB_TCPMIGRATEREQSUCCESS,           
298         LINUX_MIB_TCPMIGRATEREQFAILURE,           
299         LINUX_MIB_TCPPLBREHASH,                   
300         LINUX_MIB_TCPAOREQUIRED,                  
301         LINUX_MIB_TCPAOBAD,                       
302         LINUX_MIB_TCPAOKEYNOTFOUND,               
303         LINUX_MIB_TCPAOGOOD,                      
304         LINUX_MIB_TCPAODROPPEDICMPS,              
305         __LINUX_MIB_MAX                           
306 };                                                
307                                                   
308 /* linux Xfrm mib definitions */                  
309 enum                                              
310 {                                                 
311         LINUX_MIB_XFRMNUM = 0,                    
312         LINUX_MIB_XFRMINERROR,                    
313         LINUX_MIB_XFRMINBUFFERERROR,              
314         LINUX_MIB_XFRMINHDRERROR,                 
315         LINUX_MIB_XFRMINNOSTATES,                 
316         LINUX_MIB_XFRMINSTATEPROTOERROR,          
317         LINUX_MIB_XFRMINSTATEMODEERROR,           
318         LINUX_MIB_XFRMINSTATESEQERROR,            
319         LINUX_MIB_XFRMINSTATEEXPIRED,             
320         LINUX_MIB_XFRMINSTATEMISMATCH,            
321         LINUX_MIB_XFRMINSTATEINVALID,             
322         LINUX_MIB_XFRMINTMPLMISMATCH,             
323         LINUX_MIB_XFRMINNOPOLS,                   
324         LINUX_MIB_XFRMINPOLBLOCK,                 
325         LINUX_MIB_XFRMINPOLERROR,                 
326         LINUX_MIB_XFRMOUTERROR,                   
327         LINUX_MIB_XFRMOUTBUNDLEGENERROR,          
328         LINUX_MIB_XFRMOUTBUNDLECHECKERROR,        
329         LINUX_MIB_XFRMOUTNOSTATES,                
330         LINUX_MIB_XFRMOUTSTATEPROTOERROR,         
331         LINUX_MIB_XFRMOUTSTATEMODEERROR,          
332         LINUX_MIB_XFRMOUTSTATESEQERROR,           
333         LINUX_MIB_XFRMOUTSTATEEXPIRED,            
334         LINUX_MIB_XFRMOUTPOLBLOCK,                
335         LINUX_MIB_XFRMOUTPOLDEAD,                 
336         LINUX_MIB_XFRMOUTPOLERROR,                
337         LINUX_MIB_XFRMFWDHDRERROR,                
338         LINUX_MIB_XFRMOUTSTATEINVALID,            
339         LINUX_MIB_XFRMACQUIREERROR,               
340         LINUX_MIB_XFRMOUTSTATEDIRERROR,           
341         LINUX_MIB_XFRMINSTATEDIRERROR,            
342         __LINUX_MIB_XFRMMAX                       
343 };                                                
344                                                   
345 /* linux TLS mib definitions */                   
346 enum                                              
347 {                                                 
348         LINUX_MIB_TLSNUM = 0,                     
349         LINUX_MIB_TLSCURRTXSW,                    
350         LINUX_MIB_TLSCURRRXSW,                    
351         LINUX_MIB_TLSCURRTXDEVICE,                
352         LINUX_MIB_TLSCURRRXDEVICE,                
353         LINUX_MIB_TLSTXSW,                        
354         LINUX_MIB_TLSRXSW,                        
355         LINUX_MIB_TLSTXDEVICE,                    
356         LINUX_MIB_TLSRXDEVICE,                    
357         LINUX_MIB_TLSDECRYPTERROR,                
358         LINUX_MIB_TLSRXDEVICERESYNC,              
359         LINUX_MIB_TLSDECRYPTRETRY,                
360         LINUX_MIB_TLSRXNOPADVIOL,                 
361         __LINUX_MIB_TLSMAX                        
362 };                                                
363                                                   
364 #endif  /* _LINUX_SNMP_H */                       
365                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php