Snmpv3GetTrapSecurityLevel Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Snmpv3GetTrapSecurityLevel Function
C
BYTE Snmpv3GetTrapSecurityLevel(
    STD_BASED_SNMPV3_SECURITY_LEVEL securityLevel
);
Description

This routine to find the report, auth and privacy flags setting for the trap to be generated. The message flags octet's least significant three bits: Reportable, PrivFlag, AuthFlag forms different secuity level combinations.

Preconditions

None

Return Values
Return Values 
Description 
NO_REPORT_NO_PRIVACY_NO_AUTH 
No authentication, no encryption 
NO_REPORT_NO_PRIVACY_BUT_AUTH_PROVIDED 
authentication but no encryption 
NO_REPORT_PRIVACY_AND_AUTH_PROVIDED 
authentication and encryption 
INVALID_MSG 
if security level doesn't match any of the above 
Remarks

None.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.