IsSNMPv3ValidStructure Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
IsSNMPv3ValidStructure Function
C
BOOL IsSNMPv3ValidStructure(
    WORD* dataLen
);
Description

This routine is used to verify whether the received varbind is of type STRUCTURE and to find out the variable binding structure length. This rotuine only refers to the incoming snmpv3 request dynamically allocated memory buffer 'gSNMPv3ScopedPduRequestBuf' .

Preconditions

ProcessHeader() is called.

Parameters
Parameters 
Description 
datalen 
Pointer to memory to store OID structure length. 
Return Values
Return Values 
Description 
TRUE 
If valid Structure data type and value is received. 
FALSE 
If variable data structure is not type STRUCTURE
Remarks

None.

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