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