Contiki-NG
Functions
snmp-ber.h File Reference

 An implementation of the Simple Network Management Protocol (RFC 3411-3418)
More...

Go to the source code of this file.

Functions

unsigned char * snmp_ber_encode_type (unsigned char *out, uint32_t *out_len, uint8_t type)
 Encodes a type. More...
 
unsigned char * snmp_ber_encode_length (unsigned char *out, uint32_t *out_len, uint8_t length)
 Encodes the length. More...
 
unsigned char * snmp_ber_encode_integer (unsigned char *out, uint32_t *out_len, uint32_t integer)
 Encodes an integer. More...
 
unsigned char * snmp_ber_encode_unsigned_integer (unsigned char *out, uint32_t *out_len, uint8_t type, uint32_t number)
 Encodes an unsigned integer. More...
 
unsigned char * snmp_ber_encode_string_len (unsigned char *out, uint32_t *out_len, const char *str, uint32_t length)
 Encodes a string. More...
 
unsigned char * snmp_ber_encode_null (unsigned char *out, uint32_t *out_len, uint8_t type)
 Encodes a null. More...
 
unsigned char * snmp_ber_decode_type (unsigned char *buff, uint32_t *buff_len, uint8_t *type)
 Decodes a type. More...
 
unsigned char * snmp_ber_decode_length (unsigned char *buff, uint32_t *buff_len, uint8_t *length)
 Decodes a length. More...
 
unsigned char * snmp_ber_decode_integer (unsigned char *buff, uint32_t *buff_len, uint32_t *integer)
 Decodes an integer. More...
 
unsigned char * snmp_ber_decode_unsigned_integer (unsigned char *buff, uint32_t *buff_len, uint8_t expected_type, uint32_t *number)
 Decodes an unsigned number. More...
 
unsigned char * snmp_ber_decode_string_len_buffer (unsigned char *buff, uint32_t *buff_len, const char **str, uint32_t *length)
 Decodes a string. More...
 
unsigned char * snmp_ber_decode_null (unsigned char *buff, uint32_t *buff_len)
 Decodes a null. More...
 

Detailed Description

 An implementation of the Simple Network Management Protocol (RFC 3411-3418)
Author
Yago Fontoura do Rosario <yago..nosp@m.rosa.nosp@m.rio@h.nosp@m.otma.nosp@m.il.co.nosp@m.m.br

Definition in file snmp-ber.h.