[go: up one dir, main page]

File: snmp-mpd-mib.h

package info (click to toggle)
scli 0.3.1-3.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,872 kB
  • ctags: 8,627
  • sloc: ansic: 32,657; sh: 7,388; makefile: 321
file content (57 lines) | stat: -rw-r--r-- 1,569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*							-- DO NOT EDIT --
 * Generated by smidump version 0.4.3:
 *   smidump -f scli SNMP-MPD-MIB
 *
 * Derived from SNMP-MPD-MIB:
 *   The MIB for Message Processing and Dispatching
 *   
 *   Copyright (C) The Internet Society (2002). This
 *   version of this MIB module is part of RFC 3412;
 *   see the RFC itself for full legal notices.
 *
 * Revision 2002-10-14 00:00:
 *   Updated addresses, published as RFC 3412.
 *
 * Revision 1999-05-04 16:36:
 *   Updated addresses, published as RFC 2572.
 *
 * Revision 1997-09-30 00:00:
 *   Original version, published as RFC 2272.
 *
 * $Id: snmp-mpd-mib.h 1787 2006-02-21 20:45:55Z schoenw $
 */

#ifndef _SNMP_MPD_MIB_H_
#define _SNMP_MPD_MIB_H_

#include "gsnmp.h"

G_BEGIN_DECLS

/*
 * C type definitions for SNMP-MPD-MIB::snmpMPDStats.
 */

#define SNMP_MPD_MIB_SNMPUNKNOWNSECURITYMODELS (1 << 0) 
#define SNMP_MPD_MIB_SNMPINVALIDMSGS           (1 << 1) 
#define SNMP_MPD_MIB_SNMPUNKNOWNPDUHANDLERS    (1 << 2) 

typedef struct {
    guint32  *snmpUnknownSecurityModels;     /* ro SNMPv2-SMI::Counter32 */
    guint32  *snmpInvalidMsgs;               /* ro SNMPv2-SMI::Counter32 */
    guint32  *snmpUnknownPDUHandlers;        /* ro SNMPv2-SMI::Counter32 */
} snmp_mpd_mib_snmpMPDStats_t;

extern snmp_mpd_mib_snmpMPDStats_t *
snmp_mpd_mib_new_snmpMPDStats(void);

extern void
snmp_mpd_mib_get_snmpMPDStats(GNetSnmp *s, snmp_mpd_mib_snmpMPDStats_t **snmpMPDStats, gint64 mask);

extern void
snmp_mpd_mib_free_snmpMPDStats(snmp_mpd_mib_snmpMPDStats_t *snmpMPDStats);


G_END_DECLS

#endif /* _SNMP_MPD_MIB_H_ */