![]() |
Network Component
Version 7.8.0
MDK Middleware for IPv4 and IPv6 Networking
|
Events generated by the Network - SNMP Agent functions. More...
Functions | |
__STATIC_INLINE void | EvrNetSNMP_InitAgent (void) |
Event on SNMP agent initialize (Op) More... | |
__STATIC_INLINE void | EvrNetSNMP_GetSocketFailed (void) |
Event on SNMP agent failed to allocate UDP socket (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_ShowCommunity (const char *community, uint32_t length) |
Event on SNMP agent display community (Op) More... | |
__STATIC_INLINE void | EvrNetSNMP_SetCommunity (const char *community, uint32_t length) |
Event on netSNMP_SetCommunity (API) More... | |
__STATIC_INLINE void | EvrNetSNMP_SetCommunityInvalidParam (void) |
Event on netSNMP_SetCommunity invalid parameter (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_SetMibTable (uint32_t num_entries) |
Event on netSNMP_SetMIB_Table (API) More... | |
__STATIC_INLINE void | EvrNetSNMP_SetMibTableInvalidParam (void) |
Event on netSNMP_SetMIB_Table invalid parameter (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_Trap (const uint8_t *ip4_addr, uint8_t generic, uint8_t specific, uint16_t nobj) |
Event on netSNMP_Trap (API) More... | |
__STATIC_INLINE void | EvrNetSNMP_TrapInvalidParameter (void) |
Event on netSNMP_Trap invalid parameter (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_TrapMibTableNotSet (void) |
Event on netSNMP_Trap invalid parameter (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_TrapMissingSysObjectId (void) |
Event on netSNMP_Trap missing 'sysObjectID' object in MIB table (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_TrapGenericTrapInvalid (uint8_t generic, uint8_t max_generic) |
Event on netSNMP_Trap generic trap invalid (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_TrapTooManyObjects (int32_t nobj, int32_t max_nobj) |
Event on netSNMP_Trap maximum number of objects exceeded (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_TrapObjectNotExisting (int32_t obj, int32_t max_obj) |
Event on netSNMP_Trap requested TLV object not existing in MIB table (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_TrapMessageTooBig (uint16_t size, uint16_t max_size) |
Event on netSNMP_Trap generated message too big (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_AddObject (int32_t obj, uint8_t obj_type) |
Event on SNMP add object to SNMP message (Detail) More... | |
__STATIC_INLINE void | EvrNetSNMP_ReceiveFrame (const uint8_t *ip4_addr, uint32_t length) |
Event on SNMP receive frame (Op) More... | |
__STATIC_INLINE void | EvrNetSNMP_FrameTooShort (uint32_t length, uint32_t min_length) |
Event on SNMP received frame is too short (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_FrameProtocolError (void) |
Event on SNMP received frame protocol error detected (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_VersionNotSupported (int32_t version) |
Event on SNMP received protocol version not supported (Op) More... | |
__STATIC_INLINE void | EvrNetSNMP_WrongCommunityReceived (void) |
Event on SNMP received community wrong (Op) More... | |
__STATIC_INLINE void | EvrNetSNMP_InvalidRequestType (uint8_t req_type) |
Event on SNMP received invalid PDU request type (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_ShowRequest (uint8_t req_type, int32_t req_id) |
Event on SNMP display received PDU request type and id (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_TooManyObjectsReceived (int32_t nobj, int32_t max_nobj) |
Event on SNMP received too many TLV objects (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_ObjectNotFound (int32_t obj) |
Event on SNMP receive message object not found in the MIB table (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_ObjectWrongType (int32_t obj) |
Event on SNMP receive message object type not the same as in the MIB table (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_ObjectReadOnly (int32_t obj) |
Event on SNMP write read-only object not allowed (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_ObjectWriteFailed (int32_t obj) |
Event on SNMP object write attempt failed for unknown reason (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_SendErrorStatus (uint8_t stat, uint8_t obj_index) |
Event on SNMP send error status response to a SNMP request (Op) More... | |
__STATIC_INLINE void | EvrNetSNMP_ResponseMessageTooBig (uint16_t size, uint16_t max_size) |
Event on SNMP response message would be too big (Error) More... | |
__STATIC_INLINE void | EvrNetSNMP_SendGetResponse (int32_t req_id) |
Event on SNMP send get-response to a SNMP request (Op) More... | |
__STATIC_INLINE void | EvrNetSNMP_UninitAgent (void) |
Event on SNMP agent de-initialize (Op) More... | |
Events generated by the Network - SNMP Agent functions.
__STATIC_INLINE void EvrNetSNMP_AddObject | ( | int32_t | obj, |
uint8_t | obj_type | ||
) |
Event on SNMP add object to SNMP message (Detail)
obj | object identification number |
obj_type | object data type
|
__STATIC_INLINE void EvrNetSNMP_FrameProtocolError | ( | void | ) |
Event on SNMP received frame protocol error detected (Error)
__STATIC_INLINE void EvrNetSNMP_FrameTooShort | ( | uint32_t | length, |
uint32_t | min_length | ||
) |
Event on SNMP received frame is too short (Error)
length | frame length in bytes |
min_length | minimum length of the frame |
__STATIC_INLINE void EvrNetSNMP_GetSocketFailed | ( | void | ) |
Event on SNMP agent failed to allocate UDP socket (Error)
__STATIC_INLINE void EvrNetSNMP_InitAgent | ( | void | ) |
Event on SNMP agent initialize (Op)
__STATIC_INLINE void EvrNetSNMP_InvalidRequestType | ( | uint8_t | req_type | ) |
Event on SNMP received invalid PDU request type (Error)
req_type | PDU request type
|
__STATIC_INLINE void EvrNetSNMP_ObjectNotFound | ( | int32_t | obj | ) |
Event on SNMP receive message object not found in the MIB table (Error)
obj | object identification number |
__STATIC_INLINE void EvrNetSNMP_ObjectReadOnly | ( | int32_t | obj | ) |
Event on SNMP write read-only object not allowed (Error)
obj | object identification number |
__STATIC_INLINE void EvrNetSNMP_ObjectWriteFailed | ( | int32_t | obj | ) |
Event on SNMP object write attempt failed for unknown reason (Error)
obj | object identification number |
__STATIC_INLINE void EvrNetSNMP_ObjectWrongType | ( | int32_t | obj | ) |
Event on SNMP receive message object type not the same as in the MIB table (Error)
obj | object identification number |
__STATIC_INLINE void EvrNetSNMP_ReceiveFrame | ( | const uint8_t * | ip4_addr, |
uint32_t | length | ||
) |
Event on SNMP receive frame (Op)
ip4_addr | pointer to IPv4 address of the server |
length | frame length in bytes |
__STATIC_INLINE void EvrNetSNMP_ResponseMessageTooBig | ( | uint16_t | size, |
uint16_t | max_size | ||
) |
Event on SNMP response message would be too big (Error)
size | response message size |
max_size | maximum message size allowed |
__STATIC_INLINE void EvrNetSNMP_SendErrorStatus | ( | uint8_t | stat, |
uint8_t | obj_index | ||
) |
Event on SNMP send error status response to a SNMP request (Op)
stat | error status |
obj_index | error object index |
__STATIC_INLINE void EvrNetSNMP_SendGetResponse | ( | int32_t | req_id | ) |
Event on SNMP send get-response to a SNMP request (Op)
req_id | PDU request identifier |
__STATIC_INLINE void EvrNetSNMP_SetCommunity | ( | const char * | community, |
uint32_t | length | ||
) |
Event on netSNMP_SetCommunity (API)
community | pointer to SNMP community string |
length | length of the community string |
__STATIC_INLINE void EvrNetSNMP_SetCommunityInvalidParam | ( | void | ) |
Event on netSNMP_SetCommunity invalid parameter (Error)
__STATIC_INLINE void EvrNetSNMP_SetMibTable | ( | uint32_t | num_entries | ) |
Event on netSNMP_SetMIB_Table (API)
num_entries | number of entries in MIB table |
__STATIC_INLINE void EvrNetSNMP_SetMibTableInvalidParam | ( | void | ) |
Event on netSNMP_SetMIB_Table invalid parameter (Error)
__STATIC_INLINE void EvrNetSNMP_ShowCommunity | ( | const char * | community, |
uint32_t | length | ||
) |
Event on SNMP agent display community (Op)
community | pointer to SNMP community string |
length | length of the community string |
__STATIC_INLINE void EvrNetSNMP_ShowRequest | ( | uint8_t | req_type, |
int32_t | req_id | ||
) |
Event on SNMP display received PDU request type and id (Error)
req_type | PDU request type
|
req_id | PDU request identifier |
__STATIC_INLINE void EvrNetSNMP_TooManyObjectsReceived | ( | int32_t | nobj, |
int32_t | max_nobj | ||
) |
Event on SNMP received too many TLV objects (Error)
nobj | number of TLV objects |
max_nobj | maximum number of TLV objects |
__STATIC_INLINE void EvrNetSNMP_Trap | ( | const uint8_t * | ip4_addr, |
uint8_t | generic, | ||
uint8_t | specific, | ||
uint16_t | nobj | ||
) |
Event on netSNMP_Trap (API)
ip4_addr | trap server IPv4 address |
generic | generic trap type
|
specific | specific trap type for generic enterpriseSpecific trap
|
nobj | number of objects in a trap message |
__STATIC_INLINE void EvrNetSNMP_TrapGenericTrapInvalid | ( | uint8_t | generic, |
uint8_t | max_generic | ||
) |
Event on netSNMP_Trap generic trap invalid (Error)
generic | invalid generic trap type |
max_generic | maximum value for generic trap type |
__STATIC_INLINE void EvrNetSNMP_TrapInvalidParameter | ( | void | ) |
Event on netSNMP_Trap invalid parameter (Error)
__STATIC_INLINE void EvrNetSNMP_TrapMessageTooBig | ( | uint16_t | size, |
uint16_t | max_size | ||
) |
Event on netSNMP_Trap generated message too big (Error)
size | requested message size |
max_size | maximum message size accepted |
__STATIC_INLINE void EvrNetSNMP_TrapMibTableNotSet | ( | void | ) |
Event on netSNMP_Trap invalid parameter (Error)
__STATIC_INLINE void EvrNetSNMP_TrapMissingSysObjectId | ( | void | ) |
Event on netSNMP_Trap missing 'sysObjectID' object in MIB table (Error)
__STATIC_INLINE void EvrNetSNMP_TrapObjectNotExisting | ( | int32_t | obj, |
int32_t | max_obj | ||
) |
Event on netSNMP_Trap requested TLV object not existing in MIB table (Error)
obj | object identification number |
max_obj | maximum value for object identification number |
__STATIC_INLINE void EvrNetSNMP_TrapTooManyObjects | ( | int32_t | nobj, |
int32_t | max_nobj | ||
) |
Event on netSNMP_Trap maximum number of objects exceeded (Error)
nobj | number of TLV objects |
max_nobj | maximum number of TLV objects |
__STATIC_INLINE void EvrNetSNMP_UninitAgent | ( | void | ) |
Event on SNMP agent de-initialize (Op)
__STATIC_INLINE void EvrNetSNMP_VersionNotSupported | ( | int32_t | version | ) |
Event on SNMP received protocol version not supported (Op)
version | received SNMP protocol version
|
__STATIC_INLINE void EvrNetSNMP_WrongCommunityReceived | ( | void | ) |
Event on SNMP received community wrong (Op)