snmp_msg.c File Reference
#include "squid.h"
#include "asn1.h"
#include "snmp.h"
#include "snmp_msg.h"
#include "snmp_pdu.h"
#include "snmp_vars.h"
Include dependency graph for snmp_msg.c:

Go to the source code of this file.

Macros

#define ASN_PARSE_ERROR(x)   { return(x); }
 

Functions

u_char * snmp_msg_Encode (u_char *Buffer, int *BufLenP, u_char *Community, int CommLen, int Version, struct snmp_pdu *PDU)
 
u_char * snmp_msg_Decode (u_char *Packet, int *PacketLenP, u_char *Community, int *CommLenP, int *Version, struct snmp_pdu *PDU)
 

Macro Definition Documentation

◆ ASN_PARSE_ERROR

#define ASN_PARSE_ERROR (   x)    { return(x); }

Definition at line 122 of file snmp_msg.c.

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