ProcessGetSetHeader Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
ProcessGetSetHeader Function
C
static BOOL ProcessGetSetHeader(
    PDU_INFO* pduDbPtr
);
Description

All the variables of snmp pdu request header are validated for their data types. Collects request_id for the snmp request pdu. Fetch,validates error status,error index and discard as they are need not to be processed as received in request pdu. Collects non repeaters and max repeaters values in case of Get_Bulk request.

Preconditions

ProcessHeader() is called and returns pdu type and do not returns SNMP_ACTION_UNKNOWN

Parameters
Parameters 
Description 
pduDbPtr 
Pointer to received pdu information database. 
Return Values
Return Values 
Description 
TRUE 
If the received request header is validated and passed. 
FALSE 
If rxed request header is not valid. 
Remarks

The request pdu will be processed only if this routine returns TRUE

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