SNMP Functions

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SNMP Functions
Functions
 
Name 
Description 
 
Decode variable length structure. 
 
Decode variable length structure. 
 
Verifies variable datatype as INT and retrieves its value. 
 
Finds number of varbinds in the varbind list received in a SNMPv3 pdu. 
 
Resolves generic trap code to generic trap OID. 
 
Verifies the value type as ASN_NULL
 
Populates OID type, length and oid string from the received pdu. 
 
Decode variable length structure. 
 
This routine process the SNMPv2c Get Bulk Request. 
 
Retrieves next node from the MIB database. 
 
Processes snmp Get request pdu. 
 
This routine processes the snmpv3 request and parallely creates the response pdu. 
 
To search for exact index node in case of a Sequence variable. 
 
Returns trap resolve get time. 
 
Used to Restrict the access dynamic and non dynamic OID string for A perticular SNMP Version. 
 
Validates the set variable data length to data type. 
 
Incoming SNMPv3 scoped PDU decryption using AES decryption protocol. 
 
outGoing SNMPv3 scoped PDU Encryption using AES encryption protocol. 
 
Authenticate an incoming SNMPV3 USM PDU using MD5 or SHA 
 
Authenticate to an outgoing SNMPV3 USM PDU using MD5 or SHA 
 
Pad zero to the authentication key localized buffer. 
 
Copies BYTE data to dynamically allocated memory buffer. 
 
Routine to find the index of the user name in the user data base table. 
 
Compute HMAC inner and outer pad for authorization localized key. 
 
Compute HMAC - MD5 authentication code 
 
Compute HMAC - SHA authentication code 
 
Compute HMAC - MD5 authentication code 
 
Compute HMAC - SHA authentication code 
 
Formulates the snmpEngineID for the SNMPV3 engine. 
 
Allocated dynamic memory freeing is done by this routine. 
 
Updates the snmp engine time variable 'snmpEngineTime' for the SNMPV3 engine. 
 
Reads BYTE data from dynamically allocated memory buffer. 
 
Get Security level from authentication and Privacy type. 
 
Routine to find the report, auth and privacy flags settings in the TRAP. 
 
SNMPv3 initialization. 
 
Intialize default SNMPv3 global user database. 
 
Decode variable length structure. 
 
Verifies variable datatype as INT and retrieves its value. 
 
This routine collects or populates the message processing model infomation from the received SNMPv3 request PDU or to the response PDU respectively. 
 
Creates and Sends SNMPv3 TRAP pdu. 
 
Convert MD5 Auth password to the localized Key using SNMPEngineID. 
 
Convert SHA Auth password to the localized Key using SNMPEngineID. 
 
Constructs the report pdu infomration for the Report Pdu. 
 
This routine collects the scoped pdu header information from the received SNMPv3 request PDU or populates to the response PDU respectively. 
 
Set snmpv3 error status in the response pdu. 
 
TRAP PDU scoped pdu header construction. 
 
This routine collects or populates the security model parametrs infomation from the received SNMPv3 request PDU or to the response PDU respectively. 
 
AES Encryption and decryption init vector.(RFC 3826 ) 
 
Both MD5 and SHA1 is used for the outgoing message authentication. 
 
SNMP USM out message uses Privacy protocol (RFC 3826 ) 
 
Convert Auth and Priv password to the localized Key using SNMPEngineID. 
 
Validate engine ID. 
 
Vaidate security name with Security level. 
 
Validate SNMPV3 user name or security name. 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.