4 //=============================================================================
8 * Well known Oids defined in RFC 1215
10 * @author Peter E Mellquist
12 //=============================================================================
14 /*===================================================================
17 Hewlett-Packard Company
19 ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
20 Permission to use, copy, modify, distribute and/or sell this software
21 and/or its documentation is hereby granted without fee. User agrees
22 to display the above copyright notice and this license notice in all
23 copies of the software and any documentation of the software. User
24 agrees to assume all liability for the use of the software; Hewlett-Packard
25 makes no representations about the suitability of this software for any
26 purpose. It is provided "AS-IS without warranty of any kind,either express
27 or implied. User hereby grants a royalty-free license to any and all
28 derivatives based upon this software code base.
29 =====================================================================*/
32 class snmpTrapsOid
: public Oid
{
34 snmpTrapsOid ():Oid("1.3.6.1.6.3.1.1.5"){};
38 class snmpTrapEnterpriseOid
: public Oid
{
40 snmpTrapEnterpriseOid():Oid("1.3.6.1.6.3.1.1.4.3.0"){};
44 class coldStartOid
: public snmpTrapsOid
{
46 coldStartOid(){*this+=".1";};
50 class warmStartOid
: public snmpTrapsOid
{
52 warmStartOid(){*this+=".2";};
56 class linkDownOid
: public snmpTrapsOid
{
58 linkDownOid(){*this+=".3";};
63 class linkUpOid
: public snmpTrapsOid
{
65 linkUpOid(){*this+=".4";};
68 // SMI Authentication Failure Oid
69 class authenticationFailureOid
: public snmpTrapsOid
{
71 authenticationFailureOid(){*this+=".5";};
74 // SMI egpneighborloss Oid
75 class egpNeighborLossOid
: public snmpTrapsOid
{
77 egpNeighborLossOid(){*this+=".6";};