Snmpv3ScopedPduProcessing Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Snmpv3ScopedPduProcessing Function
C
SNMP_ERR_STATUS Snmpv3ScopedPduProcessing(
    BYTE inOutPdu
);
Description

The recievd SNMPv3 PDU or the transmit PDU header has scoped pdu parameters like 'contextEngineID' 'context name' etc. This routine retrievs these parameters infomration from the stored incoming pdu or write the appropriate dynamically allocated memory for the transmit response PDU.

Preconditions

Valid SNMPv3 request msg is received.

Parameters
Parameters 
Description 
inOutPdu 
indicates whether the incomig PDU is to be read for scoped pdu paraemters to be retrieved or the response PDU to be populated with these values 
Return Values
Return Values 
Description 
SNMP_NO_CREATION 
Failure due to improper scoped pdu information format in the PDU or failure in constructing the response PDU. 
SNMP_NO_ERR 
The scoped parameters retrieval or response PDU fomration is successful 
Remarks

The scoped pDu parameters msg data : - [==

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