C
SNMP_ERR_STATUS Snmpv3UserSecurityModelProcessPDU( BYTE inOutPdu );
Description
The recievd SNMPv3 PDU or the transmit PDU header has message security data bytes infomration. This routine retrievs the messgae security parameters infomration from the stored incoming pdu or write the appropriate security model info to the repsonse msg buffer.
Preconditions
Valid SNMPv3 request msg is received.
Parameters
Parameters |
Description |
inOutPdu |
indicates whether the incomig PDU is to be read for user security model 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 security model processing information format in the received PDU or failure in constructing the response PDU. |
SNMP_NO_ERR |
The user security model retrieval or response PDU fomration is successful |
Remarks
The user security parameter constitute the vital information for the message authentication and privacy of the message. The user security model parameters header structure MsgAuthEngnID+MsgAuthEngnBoots+MsgAuthEngnTime +MsgUserName+MsgAuthParam+MsgPrivParam