#include "snmp_vars.h"
Go to the source code of this file.
Classes | |
struct | enum_list |
struct | snmp_mib_tree |
Macros | |
#define | TYPE_OTHER 0 |
#define | TYPE_OBJID 1 |
#define | TYPE_OCTETSTR 2 |
#define | TYPE_INTEGER 3 |
#define | TYPE_NETADDR 4 |
#define | TYPE_IPADDR 5 |
#define | TYPE_COUNTER 6 |
#define | TYPE_GAUGE 7 |
#define | TYPE_TIMETICKS 8 |
#define | TYPE_OPAQUE 9 |
#define | TYPE_NULL 10 |
Functions | |
void | init_mib (char *) |
int | read_objid (char *, oid *, int *) |
void | print_objid (oid *, int) |
void | sprint_objid (char *, oid *, int) |
void | print_variable (oid *, int, struct variable_list *) |
void | sprint_variable (char *, oid *, int, struct variable_list *) |
void | sprint_value (char *, oid *, int, struct variable_list *) |
void | print_value (oid *, int, struct variable_list *) |
void | print_oid_nums (oid *, int) |
struct snmp_mib_tree * | read_mib (char *) |
Macro Definition Documentation
◆ TYPE_COUNTER
◆ TYPE_GAUGE
◆ TYPE_INTEGER
◆ TYPE_IPADDR
◆ TYPE_NETADDR
◆ TYPE_NULL
◆ TYPE_OBJID
◆ TYPE_OCTETSTR
◆ TYPE_OPAQUE
◆ TYPE_OTHER
◆ TYPE_TIMETICKS
Function Documentation
◆ init_mib()
void init_mib | ( | char * | file | ) |
Definition at line 97 of file mib.c.
References Mib, NULL, and read_mib().
◆ print_objid()
- Parameters
-
objidlen number of subidentifiers
Definition at line 263 of file mib.c.
References get_symbol(), Mib, and snmplib_debug().
◆ print_oid_nums()
◆ print_value()
void print_value | ( | oid * | , |
int | , | ||
struct variable_list * | |||
) |
◆ print_variable()
void print_variable | ( | oid * | , |
int | , | ||
struct variable_list * | |||
) |
◆ read_mib()
struct snmp_mib_tree * read_mib | ( | char * | filename | ) |
Definition at line 1038 of file parse.c.
References build_tree(), NULL, parse(), snmplib_debug(), and xstrerr().
Referenced by init_mib().
◆ read_objid()
- Parameters
-
out_len number of subid's in "output"
Definition at line 230 of file mib.c.
References find_rfc1066_mib(), Mib, NULL, parse_subtree(), RFC1066_MIB, and snmplib_debug().
◆ sprint_objid()
- Parameters
-
objidlen number of subidentifiers
Definition at line 276 of file mib.c.
References get_symbol(), and Mib.
◆ sprint_value()
void sprint_value | ( | char * | , |
oid * | , | ||
int | , | ||
struct variable_list * | |||
) |
◆ sprint_variable()
void sprint_variable | ( | char * | , |
oid * | , | ||
int | , | ||
struct variable_list * | |||
) |