Contiki-NG
Data Structures | Macros | Typedefs | Functions
snmp.h File Reference

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

#include "contiki.h"
#include "contiki-net.h"
#include "sys/log.h"
#include "snmp-conf.h"
#include <stdlib.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  snmp_header_s
 The SNMP header struct. More...
 
struct  snmp_header_s::snmp_msg_community
 Struct to wrap the community. More...
 
union  snmp_header_s::error_status_non_repeaters_u
 Union to hold the error status or the non repeaters. More...
 
union  snmp_header_s::error_index_max_repetitions_u
 Union to hold the error index or the max repetitions. More...
 
struct  snmp_varbind_s
 The varbind struct. More...
 
union  snmp_varbind_s::snmp_varbind_val_u
 A union to represent the value in this varbind. More...
 
struct  snmp_varbind_s::snmp_varbind_val_u::snmp_varbind_string_s
 A struct that contains the string. More...
 

Macros

#define SNMP_VERSION_1   0
 SNMP Version 1 code.
 
#define SNMP_VERSION_2C   1
 SNMP Version 2c code.
 
#define SNMP_STATUS_NO_SUCH_NAME   2
 SNMP No Such Name error code.
 

Typedefs

typedef struct snmp_header_s snmp_header_t
 The SNMP header struct.
 
typedef struct snmp_varbind_s snmp_varbind_t
 The varbind struct.
 

Functions

void snmp_init ()
 Initializes the SNMP engine.
 

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.h.