SNMP++  3.3.4
mp_v3.h File Reference

Go to the source code of this file.

Classes

class  v3MP
 The SNMPv3 Message Processing Model (v3MP). More...
 
class  v3MP::EngineIdTable
 The engine id table is used to store known engine ids with corresponding hostadress and port. More...
 
struct  v3MP::EngineIdTable::Entry_T
 
class  v3MP::Cache
 Holds cache entries for currently processed requests. More...
 
struct  v3MP::Cache::Entry_T
 

Macros

#define MAX_HOST_NAME_LENGTH   128
 
#define oidMPDGroup   "1.3.6.1.6.3.11.2.1"
 
#define oidSnmpUnknownSecurityModels   "1.3.6.1.6.3.11.2.1.1.0"
 
#define oidSnmpInvalidMsgs   "1.3.6.1.6.3.11.2.1.2.0"
 
#define oidSnmpUnknownPDUHandlers   "1.3.6.1.6.3.11.2.1.3.0"
 
Error codes of the v3MP
#define SNMPv3_MP_ERROR   -1400
 
#define SNMPv3_MP_OK   -1401
 
#define SNMPv3_MP_UNSUPPORTED_SECURITY_MODEL   -1402
 
#define SNMPv3_MP_NOT_IN_TIME_WINDOW   -1403
 
#define SNMPv3_MP_DOUBLED_MESSAGE   -1404
 
#define SNMPv3_MP_INVALID_MESSAGE   -1405
 
#define SNMPv3_MP_INVALID_ENGINEID   -1406
 
#define SNMPv3_MP_NOT_INITIALIZED   -1407
 
#define SNMPv3_MP_PARSE_ERROR   -1408
 
#define SNMPv3_MP_UNKNOWN_MSGID   -1409
 
#define SNMPv3_MP_MATCH_ERROR   -1410
 
#define SNMPv3_MP_COMMUNITY_ERROR   -1411
 
#define SNMPv3_MP_WRONG_USER_NAME   -1412
 
#define SNMPv3_MP_BUILD_ERROR   -1413
 
#define SNMPv3_MP_USM_ERROR   -1414
 
#define SNMPv3_MP_UNKNOWN_PDU_HANDLERS   -1415
 
#define SNMPv3_MP_UNAVAILABLE_CONTEXT   -1416
 
#define SNMPv3_MP_UNKNOWN_CONTEXT   -1417
 
#define SNMPv3_MP_REPORT_SENT   -1418
 
Statistics on error codes.
#define SNMPv3_MP_MAX_ERROR   SNMPv3_MP_ERROR
 
#define SNMPv3_MP_MIN_ERROR   SNMPv3_MP_REPORT_SENT
 
#define SNMPv3_MP_ERRORCOUNT   SNMPv3_MP_MAX_ERROR - SNMPv3_MP_MIN_ERROR
 

Macro Definition Documentation

#define MAX_HOST_NAME_LENGTH   128

Definition at line 47 of file mp_v3.h.

#define oidMPDGroup   "1.3.6.1.6.3.11.2.1"

Definition at line 49 of file mp_v3.h.

#define oidSnmpInvalidMsgs   "1.3.6.1.6.3.11.2.1.2.0"

Definition at line 51 of file mp_v3.h.

#define oidSnmpUnknownPDUHandlers   "1.3.6.1.6.3.11.2.1.3.0"

Definition at line 52 of file mp_v3.h.

#define oidSnmpUnknownSecurityModels   "1.3.6.1.6.3.11.2.1.1.0"

Definition at line 50 of file mp_v3.h.

#define SNMPv3_MP_BUILD_ERROR   -1413

Definition at line 69 of file mp_v3.h.

#define SNMPv3_MP_COMMUNITY_ERROR   -1411

Definition at line 67 of file mp_v3.h.

#define SNMPv3_MP_DOUBLED_MESSAGE   -1404

Definition at line 60 of file mp_v3.h.

#define SNMPv3_MP_ERROR   -1400

Definition at line 56 of file mp_v3.h.

#define SNMPv3_MP_ERRORCOUNT   SNMPv3_MP_MAX_ERROR - SNMPv3_MP_MIN_ERROR

Definition at line 81 of file mp_v3.h.

#define SNMPv3_MP_INVALID_ENGINEID   -1406

Definition at line 62 of file mp_v3.h.

#define SNMPv3_MP_INVALID_MESSAGE   -1405

Definition at line 61 of file mp_v3.h.

#define SNMPv3_MP_MATCH_ERROR   -1410

Definition at line 66 of file mp_v3.h.

#define SNMPv3_MP_MAX_ERROR   SNMPv3_MP_ERROR

Definition at line 79 of file mp_v3.h.

#define SNMPv3_MP_MIN_ERROR   SNMPv3_MP_REPORT_SENT

Definition at line 80 of file mp_v3.h.

#define SNMPv3_MP_NOT_IN_TIME_WINDOW   -1403

Definition at line 59 of file mp_v3.h.

#define SNMPv3_MP_NOT_INITIALIZED   -1407

Definition at line 63 of file mp_v3.h.

#define SNMPv3_MP_OK   -1401

Definition at line 57 of file mp_v3.h.

#define SNMPv3_MP_PARSE_ERROR   -1408

Definition at line 64 of file mp_v3.h.

#define SNMPv3_MP_REPORT_SENT   -1418

Definition at line 74 of file mp_v3.h.

#define SNMPv3_MP_UNAVAILABLE_CONTEXT   -1416

Definition at line 72 of file mp_v3.h.

#define SNMPv3_MP_UNKNOWN_CONTEXT   -1417

Definition at line 73 of file mp_v3.h.

#define SNMPv3_MP_UNKNOWN_MSGID   -1409

Definition at line 65 of file mp_v3.h.

#define SNMPv3_MP_UNKNOWN_PDU_HANDLERS   -1415

Definition at line 71 of file mp_v3.h.

#define SNMPv3_MP_UNSUPPORTED_SECURITY_MODEL   -1402

Definition at line 58 of file mp_v3.h.

#define SNMPv3_MP_USM_ERROR   -1414

Definition at line 70 of file mp_v3.h.

#define SNMPv3_MP_WRONG_USER_NAME   -1412

Definition at line 68 of file mp_v3.h.