snmp_msg.h File Reference
#include "snmp_pdu.h"
Include dependency graph for snmp_msg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SNMP_VERSION_1   0 /* RFC 1157 */
 
#define SNMP_VERSION_2   1 /* RFC 1901 */
 

Functions

u_char * snmp_msg_Encode (u_char *, int *, u_char *, int, int, struct snmp_pdu *)
 
u_char * snmp_msg_Decode (u_char *, int *, u_char *, int *, int *, struct snmp_pdu *)
 

Macro Definition Documentation

◆ SNMP_VERSION_1

#define SNMP_VERSION_1   0 /* RFC 1157 */

Definition at line 40 of file snmp_msg.h.

◆ SNMP_VERSION_2

#define SNMP_VERSION_2   1 /* RFC 1901 */

Definition at line 41 of file snmp_msg.h.

Function Documentation

◆ snmp_msg_Decode()

u_char * snmp_msg_Decode ( u_char *  Packet,
int PacketLenP,
u_char *  Community,
int CommLenP,
int Version,
struct snmp_pdu PDU 
)

◆ snmp_msg_Encode()

u_char * snmp_msg_Encode ( u_char *  Buffer,
int BufLenP,
u_char *  Community,
int  CommLen,
int  Version,
struct snmp_pdu PDU 
)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors