ProcessVariables Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
ProcessVariables Function
C
static BOOL ProcessVariables(
    PDU_INFO* pduDbPtr, 
    char* community, 
    BYTE len
);
Description

Once the received pdu is validated as Snmp pdu, it is forwarded for processing to this routine. This rotuine handles Get, Get_Next, Get_Bulk, Set request and creates appropriate response as Get_Response. This routine will decide on whether the request pdu should be processed or be discarded.

Preconditions

The received udp packet is varified as SNMP request. ProcessHeader() and ProcessGetSetHeader() returns but FALSE.

Parameters
Parameters 
Description 
pduDbPtr 
Pointer to received pdu information database 
community 
Pointer to var, storing community string in rxed pdu 
len 
Pointer to var, storing community string length rxed in pdu 
Return Values
Return Values 
Description 
TRUE 
If the snmp request processing is successful. 
FALSE 
If the processing failed else the processing is not completed. 
Remarks

None

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