ProcessGetBulkVar Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
ProcessGetBulkVar Function
C
BYTE ProcessGetBulkVar(
    OID_INFO* rec, 
    BYTE* oidValuePtr, 
    BYTE* oidLenPtr, 
    BYTE* successor, 
    PDU_INFO* pduDbPtr
);
Description

ProcessVariables() processes the received snmp request pdu for each of the variable binding in the variable binding list to produce a response pdu. Depending on the number of the Max_repetitions for every variable in the list for which Bulk information is expected, ProcessGetBulkVar() is executed. It searches for the next lexicographically ordered successor for of the OID received in the request. For each of the iterations upto max-repetitions, the next leaf node is searched in the MIB to that of the leaf node found in the last iteration, for the corresponding variable binding.

Preconditions

ProcessVariables() is called.

Parameters
Parameters 
Description 
rec 
Pointer to SNMP MIB variable object information OID 
oidValuePtr 
Pointer to new node OID found in MIB 
oidLenPtr 
Oid length 
successor 
'I'th lexicographic successor to be found value 
Return Values
Return Values 
Description 
FALSE 
If no lexicographic successor found 
temp.v[0] 
Total number of bytes copied to response packet 
Remarks

None.

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