Nut/OS  4.10.3
API Reference
snmp_pdu.c File Reference
#include <compiler.h>
#include <stdlib.h>
#include <string.h>
#include <pro/snmp_pdu.h>
Include dependency graph for snmp_pdu.c:

Go to the source code of this file.

Functions

SNMP_PDUSnmpPduCreate (int cmd, CONST OID *name, size_t nlen)
 Create PDU with a given type and object ID.
int SnmpPduAddVariable (SNMP_PDU *pdu, OID *name, size_t nlen, uint8_t type, uint8_t *value, size_t vlen)
 Add variable to PDU.
void SnmpPduDestroy (SNMP_PDU *pdu)
 Destroy PDU.