ReactOS 0.4.15-dev-7093-g01a8288
snmp.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2001, 2002 Leon Woestenberg <leon.woestenberg@axon.tv>
3 * Copyright (c) 2001, 2002 Axon Digital Design B.V., The Netherlands.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without modification,
7 * are permitted provided that the following conditions are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright notice,
10 * this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright notice,
12 * this list of conditions and the following disclaimer in the documentation
13 * and/or other materials provided with the distribution.
14 * 3. The name of the author may not be used to endorse or promote products
15 * derived from this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
18 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
20 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
22 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
25 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
26 * OF SUCH DAMAGE.
27 *
28 * This file is part of the lwIP TCP/IP stack.
29 *
30 * Author: Leon Woestenberg <leon.woestenberg@axon.tv>
31 *
32 */
33#ifndef __LWIP_SNMP_H__
34#define __LWIP_SNMP_H__
35
36#include "lwip/opt.h"
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42#include "lwip/ip_addr.h"
43
44struct udp_pcb;
45struct netif;
46
51 snmp_ifType_other=1, /* none of the following */
68 snmp_ifType_ds1, /* T-1 */
69 snmp_ifType_e1, /* european equiv. of T-1 */
71 snmp_ifType_primaryISDN, /* proprietary serial */
75 snmp_ifType_eon, /* CLNP over IP [11] */
77 snmp_ifType_nsip, /* XNS over IP */
78 snmp_ifType_slip, /* generic SLIP */
79 snmp_ifType_ultra, /* ULTRA technologies */
80 snmp_ifType_ds3, /* T-3 */
81 snmp_ifType_sip, /* SMDS */
83};
84
85#if LWIP_SNMP /* don't build if not configured for use in lwipopts.h */
86
88#define SNMP_SYSUPTIME_INTERVAL 10
89
91#define LWIP_SNMP_OBJ_ID_LEN 32
92
94struct snmp_obj_id
95{
96 u8_t len;
97 s32_t id[LWIP_SNMP_OBJ_ID_LEN];
98};
99
100/* system */
102void snmp_set_sysobjid(struct snmp_obj_id *oid);
103void snmp_get_sysobjid_ptr(struct snmp_obj_id **oid);
104void snmp_inc_sysuptime(void);
107void snmp_set_syscontact(u8_t *ocstr, u8_t *ocstrlen);
108void snmp_set_sysname(u8_t *ocstr, u8_t *ocstrlen);
109void snmp_set_syslocation(u8_t *ocstr, u8_t *ocstrlen);
110
111/* network interface */
112void snmp_add_ifinoctets(struct netif *ni, u32_t value);
113void snmp_inc_ifinucastpkts(struct netif *ni);
114void snmp_inc_ifinnucastpkts(struct netif *ni);
115void snmp_inc_ifindiscards(struct netif *ni);
117void snmp_inc_ifoutucastpkts(struct netif *ni);
118void snmp_inc_ifoutnucastpkts(struct netif *ni);
119void snmp_inc_ifoutdiscards(struct netif *ni);
120void snmp_inc_iflist(void);
121void snmp_dec_iflist(void);
122
123/* ARP (for atTable and ipNetToMediaTable) */
126
127/* IP */
128void snmp_inc_ipinreceives(void);
129void snmp_inc_ipinhdrerrors(void);
130void snmp_inc_ipinaddrerrors(void);
131void snmp_inc_ipforwdatagrams(void);
133void snmp_inc_ipindiscards(void);
134void snmp_inc_ipindelivers(void);
135void snmp_inc_ipoutrequests(void);
136void snmp_inc_ipoutdiscards(void);
137void snmp_inc_ipoutnoroutes(void);
138void snmp_inc_ipreasmreqds(void);
139void snmp_inc_ipreasmoks(void);
140void snmp_inc_ipreasmfails(void);
141void snmp_inc_ipfragoks(void);
142void snmp_inc_ipfragfails(void);
143void snmp_inc_ipfragcreates(void);
147void snmp_insert_iprteidx_tree(u8_t dflt, struct netif *ni);
148void snmp_delete_iprteidx_tree(u8_t dflt, struct netif *ni);
149
150/* ICMP */
151void snmp_inc_icmpinmsgs(void);
152void snmp_inc_icmpinerrors(void);
154void snmp_inc_icmpintimeexcds(void);
155void snmp_inc_icmpinparmprobs(void);
157void snmp_inc_icmpinredirects(void);
158void snmp_inc_icmpinechos(void);
159void snmp_inc_icmpinechoreps(void);
162void snmp_inc_icmpinaddrmasks(void);
164void snmp_inc_icmpoutmsgs(void);
165void snmp_inc_icmpouterrors(void);
171void snmp_inc_icmpoutechos(void);
172void snmp_inc_icmpoutechoreps(void);
177
178/* TCP */
179void snmp_inc_tcpactiveopens(void);
180void snmp_inc_tcppassiveopens(void);
181void snmp_inc_tcpattemptfails(void);
182void snmp_inc_tcpestabresets(void);
183void snmp_inc_tcpinsegs(void);
184void snmp_inc_tcpoutsegs(void);
185void snmp_inc_tcpretranssegs(void);
186void snmp_inc_tcpinerrs(void);
187void snmp_inc_tcpoutrsts(void);
188
189/* UDP */
190void snmp_inc_udpindatagrams(void);
191void snmp_inc_udpnoports(void);
192void snmp_inc_udpinerrors(void);
193void snmp_inc_udpoutdatagrams(void);
194void snmp_insert_udpidx_tree(struct udp_pcb *pcb);
195void snmp_delete_udpidx_tree(struct udp_pcb *pcb);
196
197/* SNMP */
198void snmp_inc_snmpinpkts(void);
199void snmp_inc_snmpoutpkts(void);
204void snmp_inc_snmpintoobigs(void);
206void snmp_inc_snmpinbadvalues(void);
207void snmp_inc_snmpinreadonlys(void);
208void snmp_inc_snmpingenerrs(void);
212void snmp_inc_snmpingetnexts(void);
215void snmp_inc_snmpintraps(void);
216void snmp_inc_snmpouttoobigs(void);
219void snmp_inc_snmpoutgenerrs(void);
221void snmp_inc_snmpoutgetnexts(void);
224void snmp_inc_snmpouttraps(void);
225void snmp_get_snmpgrpid_ptr(struct snmp_obj_id **oid);
228
229/* LWIP_SNMP support not available */
230/* define everything to be empty */
231#else
232
233/* system */
234#define snmp_set_sysdesr(str, len)
235#define snmp_set_sysobjid(oid);
236#define snmp_get_sysobjid_ptr(oid)
237#define snmp_inc_sysuptime()
238#define snmp_add_sysuptime(value)
239#define snmp_get_sysuptime(value)
240#define snmp_set_syscontact(ocstr, ocstrlen);
241#define snmp_set_sysname(ocstr, ocstrlen);
242#define snmp_set_syslocation(ocstr, ocstrlen);
243
244/* network interface */
245#define snmp_add_ifinoctets(ni,value)
246#define snmp_inc_ifinucastpkts(ni)
247#define snmp_inc_ifinnucastpkts(ni)
248#define snmp_inc_ifindiscards(ni)
249#define snmp_add_ifoutoctets(ni,value)
250#define snmp_inc_ifoutucastpkts(ni)
251#define snmp_inc_ifoutnucastpkts(ni)
252#define snmp_inc_ifoutdiscards(ni)
253#define snmp_inc_iflist()
254#define snmp_dec_iflist()
255
256/* ARP */
257#define snmp_insert_arpidx_tree(ni,ip)
258#define snmp_delete_arpidx_tree(ni,ip)
259
260/* IP */
261#define snmp_inc_ipinreceives()
262#define snmp_inc_ipinhdrerrors()
263#define snmp_inc_ipinaddrerrors()
264#define snmp_inc_ipforwdatagrams()
265#define snmp_inc_ipinunknownprotos()
266#define snmp_inc_ipindiscards()
267#define snmp_inc_ipindelivers()
268#define snmp_inc_ipoutrequests()
269#define snmp_inc_ipoutdiscards()
270#define snmp_inc_ipoutnoroutes()
271#define snmp_inc_ipreasmreqds()
272#define snmp_inc_ipreasmoks()
273#define snmp_inc_ipreasmfails()
274#define snmp_inc_ipfragoks()
275#define snmp_inc_ipfragfails()
276#define snmp_inc_ipfragcreates()
277#define snmp_inc_iproutingdiscards()
278#define snmp_insert_ipaddridx_tree(ni)
279#define snmp_delete_ipaddridx_tree(ni)
280#define snmp_insert_iprteidx_tree(dflt, ni)
281#define snmp_delete_iprteidx_tree(dflt, ni)
282
283/* ICMP */
284#define snmp_inc_icmpinmsgs()
285#define snmp_inc_icmpinerrors()
286#define snmp_inc_icmpindestunreachs()
287#define snmp_inc_icmpintimeexcds()
288#define snmp_inc_icmpinparmprobs()
289#define snmp_inc_icmpinsrcquenchs()
290#define snmp_inc_icmpinredirects()
291#define snmp_inc_icmpinechos()
292#define snmp_inc_icmpinechoreps()
293#define snmp_inc_icmpintimestamps()
294#define snmp_inc_icmpintimestampreps()
295#define snmp_inc_icmpinaddrmasks()
296#define snmp_inc_icmpinaddrmaskreps()
297#define snmp_inc_icmpoutmsgs()
298#define snmp_inc_icmpouterrors()
299#define snmp_inc_icmpoutdestunreachs()
300#define snmp_inc_icmpouttimeexcds()
301#define snmp_inc_icmpoutparmprobs()
302#define snmp_inc_icmpoutsrcquenchs()
303#define snmp_inc_icmpoutredirects()
304#define snmp_inc_icmpoutechos()
305#define snmp_inc_icmpoutechoreps()
306#define snmp_inc_icmpouttimestamps()
307#define snmp_inc_icmpouttimestampreps()
308#define snmp_inc_icmpoutaddrmasks()
309#define snmp_inc_icmpoutaddrmaskreps()
310/* TCP */
311#define snmp_inc_tcpactiveopens()
312#define snmp_inc_tcppassiveopens()
313#define snmp_inc_tcpattemptfails()
314#define snmp_inc_tcpestabresets()
315#define snmp_inc_tcpinsegs()
316#define snmp_inc_tcpoutsegs()
317#define snmp_inc_tcpretranssegs()
318#define snmp_inc_tcpinerrs()
319#define snmp_inc_tcpoutrsts()
320
321/* UDP */
322#define snmp_inc_udpindatagrams()
323#define snmp_inc_udpnoports()
324#define snmp_inc_udpinerrors()
325#define snmp_inc_udpoutdatagrams()
326#define snmp_insert_udpidx_tree(pcb)
327#define snmp_delete_udpidx_tree(pcb)
328
329/* SNMP */
330#define snmp_inc_snmpinpkts()
331#define snmp_inc_snmpoutpkts()
332#define snmp_inc_snmpinbadversions()
333#define snmp_inc_snmpinbadcommunitynames()
334#define snmp_inc_snmpinbadcommunityuses()
335#define snmp_inc_snmpinasnparseerrs()
336#define snmp_inc_snmpintoobigs()
337#define snmp_inc_snmpinnosuchnames()
338#define snmp_inc_snmpinbadvalues()
339#define snmp_inc_snmpinreadonlys()
340#define snmp_inc_snmpingenerrs()
341#define snmp_add_snmpintotalreqvars(value)
342#define snmp_add_snmpintotalsetvars(value)
343#define snmp_inc_snmpingetrequests()
344#define snmp_inc_snmpingetnexts()
345#define snmp_inc_snmpinsetrequests()
346#define snmp_inc_snmpingetresponses()
347#define snmp_inc_snmpintraps()
348#define snmp_inc_snmpouttoobigs()
349#define snmp_inc_snmpoutnosuchnames()
350#define snmp_inc_snmpoutbadvalues()
351#define snmp_inc_snmpoutgenerrs()
352#define snmp_inc_snmpoutgetrequests()
353#define snmp_inc_snmpoutgetnexts()
354#define snmp_inc_snmpoutsetrequests()
355#define snmp_inc_snmpoutgetresponses()
356#define snmp_inc_snmpouttraps()
357#define snmp_get_snmpgrpid_ptr(oid)
358#define snmp_set_snmpenableauthentraps(value)
359#define snmp_get_snmpenableauthentraps(value)
360
361#endif /* LWIP_SNMP */
362
363#ifdef __cplusplus
364}
365#endif
366
367#endif /* __LWIP_SNMP_H__ */
signed long s32_t
Definition: cc.h:30
unsigned long u32_t
Definition: cc.h:25
unsigned char u8_t
Definition: cc.h:23
#define snmp_inc_snmpouttoobigs()
Definition: snmp.h:348
#define snmp_inc_snmpinbadcommunitynames()
Definition: snmp.h:333
#define snmp_inc_tcppassiveopens()
Definition: snmp.h:312
#define snmp_inc_icmpoutechoreps()
Definition: snmp.h:305
#define snmp_inc_snmpoutpkts()
Definition: snmp.h:331
#define snmp_inc_iflist()
Definition: snmp.h:253
#define snmp_inc_ipfragcreates()
Definition: snmp.h:276
#define snmp_inc_snmpinbadcommunityuses()
Definition: snmp.h:334
snmp_ifType
Definition: snmp.h:50
@ snmp_ifType_proteon_80Mbit
Definition: snmp.h:63
@ snmp_ifType_other
Definition: snmp.h:51
@ snmp_ifType_iso88023_csmacd
Definition: snmp.h:57
@ snmp_ifType_starLan
Definition: snmp.h:61
@ snmp_ifType_lapb
Definition: snmp.h:66
@ snmp_ifType_softwareLoopback
Definition: snmp.h:74
@ snmp_ifType_ds3
Definition: snmp.h:80
@ snmp_ifType_frame_relay
Definition: snmp.h:82
@ snmp_ifType_e1
Definition: snmp.h:69
@ snmp_ifType_ultra
Definition: snmp.h:79
@ snmp_ifType_slip
Definition: snmp.h:78
@ snmp_ifType_eon
Definition: snmp.h:75
@ snmp_ifType_iso88026_man
Definition: snmp.h:60
@ snmp_ifType_iso88025_tokenRing
Definition: snmp.h:59
@ snmp_ifType_nsip
Definition: snmp.h:77
@ snmp_ifType_fddi
Definition: snmp.h:65
@ snmp_ifType_sip
Definition: snmp.h:81
@ snmp_ifType_propPointToPointSerial
Definition: snmp.h:72
@ snmp_ifType_iso88024_tokenBus
Definition: snmp.h:58
@ snmp_ifType_basicISDN
Definition: snmp.h:70
@ snmp_ifType_sdlc
Definition: snmp.h:67
@ snmp_ifType_proteon_10Mbit
Definition: snmp.h:62
@ snmp_ifType_primaryISDN
Definition: snmp.h:71
@ snmp_ifType_ppp
Definition: snmp.h:73
@ snmp_ifType_ddn_x25
Definition: snmp.h:54
@ snmp_ifType_hyperchannel
Definition: snmp.h:64
@ snmp_ifType_regular1822
Definition: snmp.h:52
@ snmp_ifType_rfc877_x25
Definition: snmp.h:55
@ snmp_ifType_hdh1822
Definition: snmp.h:53
@ snmp_ifType_ds1
Definition: snmp.h:68
@ snmp_ifType_ethernet_csmacd
Definition: snmp.h:56
@ snmp_ifType_ethernet_3Mbit
Definition: snmp.h:76
#define snmp_inc_snmpinnosuchnames()
Definition: snmp.h:337
#define snmp_inc_snmpingetnexts()
Definition: snmp.h:344
#define snmp_inc_icmpinsrcquenchs()
Definition: snmp.h:289
#define snmp_inc_icmpoutdestunreachs()
Definition: snmp.h:299
#define snmp_insert_udpidx_tree(pcb)
Definition: snmp.h:326
#define snmp_inc_ipinhdrerrors()
Definition: snmp.h:262
#define snmp_get_sysuptime(value)
Definition: snmp.h:239
#define snmp_inc_ipoutnoroutes()
Definition: snmp.h:270
#define snmp_inc_snmpoutgetnexts()
Definition: snmp.h:353
#define snmp_delete_arpidx_tree(ni, ip)
Definition: snmp.h:258
#define snmp_inc_icmpinerrors()
Definition: snmp.h:285
#define snmp_inc_ipreasmreqds()
Definition: snmp.h:271
#define snmp_inc_ipindelivers()
Definition: snmp.h:267
#define snmp_inc_icmpouterrors()
Definition: snmp.h:298
#define snmp_inc_tcpattemptfails()
Definition: snmp.h:313
#define snmp_inc_ifoutucastpkts(ni)
Definition: snmp.h:250
#define snmp_get_snmpenableauthentraps(value)
Definition: snmp.h:359
#define snmp_set_sysobjid(oid)
Definition: snmp.h:235
#define snmp_inc_udpnoports()
Definition: snmp.h:323
#define snmp_inc_ipfragoks()
Definition: snmp.h:274
#define snmp_set_sysdesr(str, len)
Definition: snmp.h:234
#define snmp_inc_icmpintimeexcds()
Definition: snmp.h:287
#define snmp_inc_snmpinasnparseerrs()
Definition: snmp.h:335
#define snmp_inc_iproutingdiscards()
Definition: snmp.h:277
#define snmp_inc_ipindiscards()
Definition: snmp.h:266
#define snmp_inc_ipoutrequests()
Definition: snmp.h:268
#define snmp_inc_snmpouttraps()
Definition: snmp.h:356
#define snmp_inc_snmpingetrequests()
Definition: snmp.h:343
#define snmp_inc_snmpinbadvalues()
Definition: snmp.h:338
#define snmp_inc_snmpintraps()
Definition: snmp.h:347
#define snmp_inc_snmpoutgetrequests()
Definition: snmp.h:352
#define snmp_add_sysuptime(value)
Definition: snmp.h:238
#define snmp_inc_sysuptime()
Definition: snmp.h:237
#define snmp_dec_iflist()
Definition: snmp.h:254
#define snmp_inc_icmpinparmprobs()
Definition: snmp.h:288
#define snmp_inc_icmpoutsrcquenchs()
Definition: snmp.h:302
#define snmp_inc_icmpoutparmprobs()
Definition: snmp.h:301
#define snmp_insert_arpidx_tree(ni, ip)
Definition: snmp.h:257
#define snmp_inc_ifinnucastpkts(ni)
Definition: snmp.h:247
#define snmp_inc_ipinaddrerrors()
Definition: snmp.h:263
#define snmp_inc_udpindatagrams()
Definition: snmp.h:322
#define snmp_inc_ipforwdatagrams()
Definition: snmp.h:264
#define snmp_inc_icmpinmsgs()
Definition: snmp.h:284
#define snmp_insert_ipaddridx_tree(ni)
Definition: snmp.h:278
#define snmp_inc_icmpinechoreps()
Definition: snmp.h:292
#define snmp_delete_iprteidx_tree(dflt, ni)
Definition: snmp.h:281
#define snmp_inc_tcpinerrs()
Definition: snmp.h:318
#define snmp_delete_udpidx_tree(pcb)
Definition: snmp.h:327
#define snmp_set_syslocation(ocstr, ocstrlen)
Definition: snmp.h:242
#define snmp_inc_ipinunknownprotos()
Definition: snmp.h:265
#define snmp_inc_ifindiscards(ni)
Definition: snmp.h:248
#define snmp_inc_snmpoutbadvalues()
Definition: snmp.h:350
#define snmp_set_snmpenableauthentraps(value)
Definition: snmp.h:358
#define snmp_inc_snmpintoobigs()
Definition: snmp.h:336
#define snmp_inc_icmpoutredirects()
Definition: snmp.h:303
#define snmp_inc_tcpoutsegs()
Definition: snmp.h:316
#define snmp_inc_tcpestabresets()
Definition: snmp.h:314
#define snmp_inc_snmpinbadversions()
Definition: snmp.h:332
#define snmp_inc_icmpouttimestamps()
Definition: snmp.h:306
#define snmp_inc_snmpoutgetresponses()
Definition: snmp.h:355
#define snmp_inc_udpinerrors()
Definition: snmp.h:324
#define snmp_inc_snmpoutgenerrs()
Definition: snmp.h:351
#define snmp_inc_udpoutdatagrams()
Definition: snmp.h:325
#define snmp_inc_ifinucastpkts(ni)
Definition: snmp.h:246
#define snmp_get_sysobjid_ptr(oid)
Definition: snmp.h:236
#define snmp_inc_snmpinreadonlys()
Definition: snmp.h:339
#define snmp_inc_snmpinpkts()
Definition: snmp.h:330
#define snmp_inc_ifoutnucastpkts(ni)
Definition: snmp.h:251
#define snmp_add_snmpintotalreqvars(value)
Definition: snmp.h:341
#define snmp_inc_icmpouttimestampreps()
Definition: snmp.h:307
#define snmp_inc_icmpouttimeexcds()
Definition: snmp.h:300
#define snmp_inc_icmpinredirects()
Definition: snmp.h:290
#define snmp_get_snmpgrpid_ptr(oid)
Definition: snmp.h:357
#define snmp_inc_icmpoutaddrmasks()
Definition: snmp.h:308
#define snmp_inc_tcpactiveopens()
Definition: snmp.h:311
#define snmp_inc_icmpinaddrmaskreps()
Definition: snmp.h:296
#define snmp_inc_icmpoutaddrmaskreps()
Definition: snmp.h:309
#define snmp_inc_snmpoutnosuchnames()
Definition: snmp.h:349
#define snmp_inc_snmpoutsetrequests()
Definition: snmp.h:354
#define snmp_inc_icmpinaddrmasks()
Definition: snmp.h:295
#define snmp_inc_snmpingetresponses()
Definition: snmp.h:346
#define snmp_inc_ipoutdiscards()
Definition: snmp.h:269
#define snmp_inc_tcpoutrsts()
Definition: snmp.h:319
#define snmp_inc_snmpingenerrs()
Definition: snmp.h:340
#define snmp_add_ifinoctets(ni, value)
Definition: snmp.h:245
#define snmp_inc_icmpintimestamps()
Definition: snmp.h:293
#define snmp_inc_ipreasmfails()
Definition: snmp.h:273
#define snmp_add_ifoutoctets(ni, value)
Definition: snmp.h:249
#define snmp_inc_ipinreceives()
Definition: snmp.h:261
#define snmp_inc_icmpoutechos()
Definition: snmp.h:304
#define snmp_inc_icmpinechos()
Definition: snmp.h:291
#define snmp_delete_ipaddridx_tree(ni)
Definition: snmp.h:279
#define snmp_insert_iprteidx_tree(dflt, ni)
Definition: snmp.h:280
#define snmp_inc_snmpinsetrequests()
Definition: snmp.h:345
#define snmp_inc_tcpinsegs()
Definition: snmp.h:315
#define snmp_set_sysname(ocstr, ocstrlen)
Definition: snmp.h:241
#define snmp_inc_tcpretranssegs()
Definition: snmp.h:317
#define snmp_inc_icmpoutmsgs()
Definition: snmp.h:297
#define snmp_set_syscontact(ocstr, ocstrlen)
Definition: snmp.h:240
#define snmp_inc_ipreasmoks()
Definition: snmp.h:272
#define snmp_inc_icmpindestunreachs()
Definition: snmp.h:286
#define snmp_inc_icmpintimestampreps()
Definition: snmp.h:294
#define snmp_inc_ifoutdiscards(ni)
Definition: snmp.h:252
#define snmp_add_snmpintotalsetvars(value)
Definition: snmp.h:342
#define snmp_inc_ipfragfails()
Definition: snmp.h:275
static struct netconfig_info ni
Definition: getnetconfig.c:158
GLenum GLsizei len
Definition: glext.h:6722
typedefPACK_STRUCT_END struct ip_addr ip_addr_t
Definition: ip_addr.h:64
const WCHAR * str
Definition: dhcpd.h:62
Definition: netif.h:136
Definition: pdh_main.c:94