snmpdPktProcess( )

NAME

snmpdPktProcess( ) - process a packet returned by the transport

SYNOPSIS

void snmpdPktProcess 
    ( 
    int     pktSize,       /* packe length             */ 
    char *  pBuf,          /* packet buffer            */ 
    void *  pRemoteAddr,   /* remote transport address */ 
    void *  pLocalAddr,    /* local transport address  */ 
    void *  pSnmpEndpoint  /* snmp transport end point */ 
    )

DESCRIPTION

This routine is invoked by the user-IO layer to process a received packet. The buffer pBuf (provided by the agent designer) must contain a packet of size pktSize. The source address of the sending machine is indicated by pRemoteAddr, and the address of the receiver by pLocalAddr. These three parameters, pRemoteAddr, pLocalAddr, and pSnmpEndpoint, are passed down to user-provided transport routines. The transport endpoint is passed in pSnmpEndpoint

SEE ALSO

snmpdLib