Contiki-NG
Data Fields

The MIB Resource struct. More...

#include <os/net/app-layer/snmp/snmp-mib.h>

Data Fields

struct snmp_mib_resource_snext
 A pointer to the next element in the linked list. More...
 
uint32_t * oid
 A array that represents the OID. More...
 
snmp_mib_resource_handler_t handler
 The function handler that is called for this resource.
 

Detailed Description

The MIB Resource struct.

Definition at line 61 of file snmp-mib.h.

Field Documentation

◆ next

struct snmp_mib_resource_s* snmp_mib_resource_s::next

A pointer to the next element in the linked list.

Remarks
This MUST be the first element in the struct

Definition at line 67 of file snmp-mib.h.

Referenced by snmp_mib_add().

◆ oid

uint32_t* snmp_mib_resource_s::oid

A array that represents the OID.

Remarks
This array is "null" terminated. In this case the -1 is used.

Definition at line 73 of file snmp-mib.h.

Referenced by snmp_mib_add().