| Return Type | Method Summary |
| CHAR | CreateSnmpV3MsgErrorVarBind(U_CHAR *outPkt, INT32 *outPktLen, CHAR error, SnmpMsgFieldPtrs *ptrs)
It will create a error var bind depending upon the error like unknown engineId, time synch fail, etc. |
| CHAR | CreateSnmpV3MsgHeaders(U_CHAR *outPkt, INT32 *outPktLen, SnmpPdu *pdu, SnmpMsgFieldPtrs *ptrs)
This function will create SNMPV3 message headers for the outgoing response message. |
| CHAR | CreateSnmpV3MsgScopedPdu(U_CHAR *outPkt, INT32 *outPktLen, SnmpPdu *pdu, SnmpMsgFieldPtrs *ptrs)
This function will create SNMPV3 security parameters as part of the out going message. |
| CHAR | CreateSnmpV3MsgSecurityParams(U_CHAR *outPkt, INT32 *outPktLen, SnmpPdu *pdu, SecParamsReference *secParamsRef, SnmpMsgFieldPtrs *ptrs, CHAR error)
This function will create SNMPV3 security parameters for the out going response message or trap. |
| CHAR | CreateSnmpV3MsgVarBinds(U_CHAR *outPkt, INT32 *outPktLen, CHAR error, SnmpPdu *pdu, SnmpMsgFieldPtrs *ptrs)
If any error like discovery, time synch etc occured when processing the received message then corresponding counter will be incremented and error message will be returned. |
| U_CHAR* | CreateSnmpV3ResponseMsg(U_CHAR *outPkt, INT32 *outPktLen, CHAR error, SnmpPdu *pdu, SecParamsReference *secParamsRef, U_CHAR errMsgFlag, SnmpMsgFieldPtrs *ptrs)
Function will do necessary checking to confirm the received request for discovery. |
| void | FreeSnmpPduAndUsmSecParams(SnmpPdu *pdu, SecParamsReference *secParamsRef)
Free the allocated resource of SnmpPdu and SecParamsReference. |
| CHAR | GenerateEngineId()
Used to generate a engine Id based on the agent address and port number. |
| LONG | GetSnmpMsgVersion(U_CHAR *inPkt, INT32 len)
This function will find the received SNMP v3 message version. |
| CHAR | InitSnmpV3Params()
Do the ininitialization process of v3 agent related variables. |
| CHAR | ParseScopedPdu(U_CHAR *inPkt, INT32 *inPktLen, SnmpPdu *pdu, U_CHAR flag, SnmpMsgFieldPtrs *ptrs)
It will parse the scoped pdu in the case of discovery and time synch request. |
| CHAR | ParseSnmpV3Msg(U_CHAR *inPkt, INT32 *inPktLen, U_CHAR **outPkt, INT32 *outPktLen, SnmpPdu *pdu, SecParamsReference *secParamsRef, SnmpMsgFieldPtrs *ptrs)
This function will process the received SNMP v3 message headers, security parameters and scoped pdu related parameters. |
| CHAR | ParseSnmpV3MsgHeaders(U_CHAR *inPkt, INT32 *inPktLen, SnmpPdu *pdu, SnmpMsgFieldPtrs *ptrs)
This function will parse the SNMP v3 message headers like msgFlags, maxResponseSize, securityModel etc. |
| CHAR | ParseSnmpV3MsgSecurityParams(U_CHAR *inPkt, INT32 *inPktLen, U_CHAR **outPkt, INT32 *outPktLen, SnmpPdu *pdu, SecParamsReference *secParamsRef, SnmpMsgFieldPtrs *ptrs)
This function parse the SNMP v3 security parameters. |
| void | ReadFromSnmpV3File()
Reads from the text file and updates the engine boot count. |
| void | UpdateSecurityParams()
Used to update the v3 security and access control related parameters based on the security model and access control model implemented. |
| Method Details |