snmpIoTrapSend( )

NAME

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

SYNOPSIS

void snmpIoTrapSend 
    ( 
    int  trapType, 
    int  trapSpecific 
    )

DESCRIPTION

This routine sends a standard SNMP or MIB-II trap message to the network. It is called by the SNMP agent at startup (to indicate a cold start) and when interface states change. It takes two arguments: trapType, the trap type, and trapSpecifc, the user-defined specifics on this trap.

The agent designer must rewrite this according to specific transport needs.

RETURNS

N/A

SEE ALSO

snmpIoLib, snmpdTrapSend( )