Contiki-NG
|
This group contains the MIB implementation. More...
Data Structures | |
struct | snmp_mib_resource_s |
The MIB Resource struct. More... | |
Typedefs | |
typedef void(* | snmp_mib_resource_handler_t) (snmp_varbind_t *varbind, snmp_oid_t *oid) |
The MIB resource handler typedef. More... | |
typedef struct snmp_mib_resource_s | snmp_mib_resource_t |
The MIB Resource struct. | |
Functions | |
snmp_mib_resource_t * | snmp_mib_find (snmp_oid_t *oid) |
Finds the MIB Resource for this OID. More... | |
snmp_mib_resource_t * | snmp_mib_find_next (snmp_oid_t *oid) |
Finds the next MIB Resource after this OID. More... | |
void | snmp_mib_add (snmp_mib_resource_t *resource) |
Adds a resource into the linked list. More... | |
void | snmp_mib_init (void) |
Initialize the MIB resources list. | |
This group contains the MIB implementation.
typedef void(* snmp_mib_resource_handler_t) (snmp_varbind_t *varbind, snmp_oid_t *oid) |
The MIB resource handler typedef.
varbind | The varbind that is being changed |
oid | The oid from the resource |
Definition at line 70 of file snmp-mib.h.
void snmp_mib_add | ( | snmp_mib_resource_t * | resource | ) |
Adds a resource into the linked list.
resource | The resource |
Definition at line 123 of file snmp-mib.c.
Referenced by snmp_api_add_resource().
snmp_mib_resource_t* snmp_mib_find | ( | snmp_oid_t * | oid | ) |
Finds the MIB Resource for this OID.
oid | The OID |
Definition at line 89 of file snmp-mib.c.
snmp_mib_resource_t* snmp_mib_find_next | ( | snmp_oid_t * | oid | ) |
Finds the next MIB Resource after this OID.
oid | The OID |
Definition at line 106 of file snmp-mib.c.