snmpIoLib

NAME

snmpIoLib - default transport routines for SNMP

SYNOPSIS

snmpIoInit( ) - initialization routine for SNMP transport endpoint

snmpIoWrite( ) - write a packet to the transport

snmpIoClose( ) - close the transport endpoint

snmpIoMain( ) - main SNMP I/O routine

snmpIoTrapSend( ) - send a standard SNMP or MIB-II trap

snmpIoCommunityValidate( ) - sample community validation routine

snmpdMemoryAlloc( ) - allocate memory for the SNMP agent

snmpdMemoryFree( ) - free memory allocated by the SNMP agent

STATUS snmpIoInit  
(void) 
void snmpIoWrite (void * pSocket, char * pBuf, int bufSize, void * remote, void * local)
void snmpIoClose (void)
void snmpIoMain (void)
void snmpIoTrapSend (int trapType, int trapSpecific)
int snmpIoCommunityValidate (SNMP_PKT_T * pPkt, SNMPADDR_T * pRemoteAddr, SNMPADDR_T * pLocalAddr)
void * snmpdMemoryAlloc (size_t size)
void snmpdMemoryFree (void * pBuf)

DESCRIPTION

This module implements the SNMP v1/v2c transport transport-dependent routines.

INCLUDE FILES

snmpdIoLib.h