C
struct MsgProcModPrepareDataElements { BYTE transportDomain; UINT32 transportAddress; BYTE* wholeMsg; UINT32 wholeMsgLength; BYTE messageProcessingModel; BYTE securityModel; BYTE* securityName; BYTE securityLevel; BYTE* contextEngineID; BYTE* contextName; BYTE pduVersion; BYTE* PDU; BYTE pduType; UINT32 maxSizeResponseScopedPDU; statusInformation statInfo; UINT32 stateReference; };
Description
Prepare Data Elements from an Incoming SNMP Message
The Message Processing Subsystem provides this service primitive for preparing the abstract data elements from an incoming SNMP message: result = -- SUCCESS or errorIndication
Members
|
Members |
Description |
|
BYTE transportDomain; |
origin transport domain |
|
UINT32 transportAddress; |
origin transport address |
|
BYTE* wholeMsg; |
as received from the network |
|
UINT32 wholeMsgLength; |
as received from the network |
|
BYTE messageProcessingModel; |
typically, SNMP version |
|
BYTE securityModel; |
Security Model to use |
|
BYTE* securityName; |
on behalf of this principal |
|
BYTE securityLevel; |
Level of Security requested |
|
BYTE* contextEngineID; |
data from/at this entity |
|
BYTE* contextName; |
data from/in this context |
|
BYTE pduVersion; |
the version of the PDU |
|
BYTE* PDU; |
SNMP Protocol Data Unit |
|
BYTE pduType; |
SNMP PDU type OUT sendPduHandle; // handle for matched request |
|
UINT32 maxSizeResponseScopedPDU; |
maximum size sender can accept |
|
statusInformation statInfo; |
success or errorIndication error counter OID/value if error |
|
UINT32 stateReference; |
reference to state information to be used for possible Response |