/*							-- DO NOT EDIT --
 * This file has been generated by smidump
 * version 0.3.1 for the scli package.
 *
 * Derived from BRIDGE-MIB:
 *
 * $Id: bridge-mib.h,v 1.14 2002/03/26 16:26:25 schoenw Exp $
 */

#ifndef _BRIDGE_MIB_H_
#define _BRIDGE_MIB_H_

#include "g_snmp.h"

/*
 * Tables to map enumerations to strings and vice versa.
 */

#define BRIDGE_MIB_DOT1DBASETYPE_UNKNOWN          1
#define BRIDGE_MIB_DOT1DBASETYPE_TRANSPARENT_ONLY 2
#define BRIDGE_MIB_DOT1DBASETYPE_SOURCEROUTE_ONLY 3
#define BRIDGE_MIB_DOT1DBASETYPE_SRT              4

extern GSnmpEnum const bridge_mib_enums_dot1dBaseType[];

#define BRIDGE_MIB_DOT1DSTPPROTOCOLSPECIFICATION_UNKNOWN   1
#define BRIDGE_MIB_DOT1DSTPPROTOCOLSPECIFICATION_DECLB100  2
#define BRIDGE_MIB_DOT1DSTPPROTOCOLSPECIFICATION_IEEE8021D 3

extern GSnmpEnum const bridge_mib_enums_dot1dStpProtocolSpecification[];

#define BRIDGE_MIB_DOT1DSTPPORTSTATE_DISABLED   1
#define BRIDGE_MIB_DOT1DSTPPORTSTATE_BLOCKING   2
#define BRIDGE_MIB_DOT1DSTPPORTSTATE_LISTENING  3
#define BRIDGE_MIB_DOT1DSTPPORTSTATE_LEARNING   4
#define BRIDGE_MIB_DOT1DSTPPORTSTATE_FORWARDING 5
#define BRIDGE_MIB_DOT1DSTPPORTSTATE_BROKEN     6

extern GSnmpEnum const bridge_mib_enums_dot1dStpPortState[];

#define BRIDGE_MIB_DOT1DSTPPORTENABLE_ENABLED  1
#define BRIDGE_MIB_DOT1DSTPPORTENABLE_DISABLED 2

extern GSnmpEnum const bridge_mib_enums_dot1dStpPortEnable[];

#define BRIDGE_MIB_DOT1DTPFDBSTATUS_OTHER   1
#define BRIDGE_MIB_DOT1DTPFDBSTATUS_INVALID 2
#define BRIDGE_MIB_DOT1DTPFDBSTATUS_LEARNED 3
#define BRIDGE_MIB_DOT1DTPFDBSTATUS_SELF    4
#define BRIDGE_MIB_DOT1DTPFDBSTATUS_MGMT    5

extern GSnmpEnum const bridge_mib_enums_dot1dTpFdbStatus[];

#define BRIDGE_MIB_DOT1DSTATICSTATUS_OTHER           1
#define BRIDGE_MIB_DOT1DSTATICSTATUS_INVALID         2
#define BRIDGE_MIB_DOT1DSTATICSTATUS_PERMANENT       3
#define BRIDGE_MIB_DOT1DSTATICSTATUS_DELETEONRESET   4
#define BRIDGE_MIB_DOT1DSTATICSTATUS_DELETEONTIMEOUT 5

extern GSnmpEnum const bridge_mib_enums_dot1dStaticStatus[];


/*
 * C type definitions for BRIDGE-MIB::dot1dBase.
 */

#define BRIDGE_MIB_DOT1DBASEBRIDGEADDRESS (1 << 0) 
#define BRIDGE_MIB_DOT1DBASENUMPORTS      (1 << 1) 
#define BRIDGE_MIB_DOT1DBASETYPE          (1 << 2) 

typedef struct {
    guchar   *dot1dBaseBridgeAddress;
#define BRIDGE_MIB_DOT1DBASEBRIDGEADDRESSLENGTH 6
    gint32   *dot1dBaseNumPorts;
    gint32   *dot1dBaseType;
} bridge_mib_dot1dBase_t;

extern bridge_mib_dot1dBase_t *
bridge_mib_new_dot1dBase(void);

extern void
bridge_mib_get_dot1dBase(GSnmpSession *s, bridge_mib_dot1dBase_t **dot1dBase, gint mask);

extern void
bridge_mib_free_dot1dBase(bridge_mib_dot1dBase_t *dot1dBase);

/*
 * C type definitions for BRIDGE-MIB::dot1dBasePortEntry.
 */

#define BRIDGE_MIB_DOT1DBASEPORT                      (1 << 0) 
#define BRIDGE_MIB_DOT1DBASEPORTIFINDEX               (1 << 1) 
#define BRIDGE_MIB_DOT1DBASEPORTCIRCUIT               (1 << 2) 
#define BRIDGE_MIB_DOT1DBASEPORTDELAYEXCEEDEDDISCARDS (1 << 3) 
#define BRIDGE_MIB_DOT1DBASEPORTMTUEXCEEDEDDISCARDS   (1 << 4) 

typedef struct {
    gint32   dot1dBasePort;
    gint32   *dot1dBasePortIfIndex;
    guint32  *dot1dBasePortCircuit;
#define BRIDGE_MIB_DOT1DBASEPORTCIRCUITMINLENGTH 0
#define BRIDGE_MIB_DOT1DBASEPORTCIRCUITMAXLENGTH 128
    guint16  _dot1dBasePortCircuitLength;
    guint32  *dot1dBasePortDelayExceededDiscards;
    guint32  *dot1dBasePortMtuExceededDiscards;
} bridge_mib_dot1dBasePortEntry_t;

extern void
bridge_mib_get_dot1dBasePortTable(GSnmpSession *s, bridge_mib_dot1dBasePortEntry_t ***dot1dBasePortEntry, gint mask);

extern void
bridge_mib_free_dot1dBasePortTable(bridge_mib_dot1dBasePortEntry_t **dot1dBasePortEntry);

extern bridge_mib_dot1dBasePortEntry_t *
bridge_mib_new_dot1dBasePortEntry(void);

extern void
bridge_mib_get_dot1dBasePortEntry(GSnmpSession *s, bridge_mib_dot1dBasePortEntry_t **dot1dBasePortEntry, gint32 dot1dBasePort, gint mask);

extern void
bridge_mib_free_dot1dBasePortEntry(bridge_mib_dot1dBasePortEntry_t *dot1dBasePortEntry);

/*
 * C type definitions for BRIDGE-MIB::dot1dStp.
 */

#define BRIDGE_MIB_DOT1DSTPPROTOCOLSPECIFICATION   (1 << 0) 
#define BRIDGE_MIB_DOT1DSTPPRIORITY                (1 << 1) 
#define BRIDGE_MIB_DOT1DSTPTIMESINCETOPOLOGYCHANGE (1 << 2) 
#define BRIDGE_MIB_DOT1DSTPTOPCHANGES              (1 << 3) 
#define BRIDGE_MIB_DOT1DSTPDESIGNATEDROOT          (1 << 4) 
#define BRIDGE_MIB_DOT1DSTPROOTCOST                (1 << 5) 
#define BRIDGE_MIB_DOT1DSTPROOTPORT                (1 << 6) 
#define BRIDGE_MIB_DOT1DSTPMAXAGE                  (1 << 7) 
#define BRIDGE_MIB_DOT1DSTPHELLOTIME               (1 << 8) 
#define BRIDGE_MIB_DOT1DSTPHOLDTIME                (1 << 9) 
#define BRIDGE_MIB_DOT1DSTPFORWARDDELAY            (1 << 10) 
#define BRIDGE_MIB_DOT1DSTPBRIDGEMAXAGE            (1 << 11) 
#define BRIDGE_MIB_DOT1DSTPBRIDGEHELLOTIME         (1 << 12) 
#define BRIDGE_MIB_DOT1DSTPBRIDGEFORWARDDELAY      (1 << 13) 

typedef struct {
    gint32   *dot1dStpProtocolSpecification;
    gint32   *dot1dStpPriority;
    guint32  *dot1dStpTimeSinceTopologyChange;
    guint32  *dot1dStpTopChanges;
    guchar   *dot1dStpDesignatedRoot;
#define BRIDGE_MIB_DOT1DSTPDESIGNATEDROOTLENGTH 8
    gint32   *dot1dStpRootCost;
    gint32   *dot1dStpRootPort;
    gint32   *dot1dStpMaxAge;
    gint32   *dot1dStpHelloTime;
    gint32   *dot1dStpHoldTime;
    gint32   *dot1dStpForwardDelay;
    gint32   *dot1dStpBridgeMaxAge;
    gint32   *dot1dStpBridgeHelloTime;
    gint32   *dot1dStpBridgeForwardDelay;
} bridge_mib_dot1dStp_t;

extern bridge_mib_dot1dStp_t *
bridge_mib_new_dot1dStp(void);

extern void
bridge_mib_get_dot1dStp(GSnmpSession *s, bridge_mib_dot1dStp_t **dot1dStp, gint mask);

extern void
bridge_mib_set_dot1dStp(GSnmpSession *s, bridge_mib_dot1dStp_t *dot1dStp, gint mask);

extern void
bridge_mib_free_dot1dStp(bridge_mib_dot1dStp_t *dot1dStp);

/*
 * C type definitions for BRIDGE-MIB::dot1dStpPortEntry.
 */

#define BRIDGE_MIB_DOT1DSTPPORT                   (1 << 0) 
#define BRIDGE_MIB_DOT1DSTPPORTPRIORITY           (1 << 1) 
#define BRIDGE_MIB_DOT1DSTPPORTSTATE              (1 << 2) 
#define BRIDGE_MIB_DOT1DSTPPORTENABLE             (1 << 3) 
#define BRIDGE_MIB_DOT1DSTPPORTPATHCOST           (1 << 4) 
#define BRIDGE_MIB_DOT1DSTPPORTDESIGNATEDROOT     (1 << 5) 
#define BRIDGE_MIB_DOT1DSTPPORTDESIGNATEDCOST     (1 << 6) 
#define BRIDGE_MIB_DOT1DSTPPORTDESIGNATEDBRIDGE   (1 << 7) 
#define BRIDGE_MIB_DOT1DSTPPORTDESIGNATEDPORT     (1 << 8) 
#define BRIDGE_MIB_DOT1DSTPPORTFORWARDTRANSITIONS (1 << 9) 

typedef struct {
    gint32   dot1dStpPort;
    gint32   *dot1dStpPortPriority;
    gint32   *dot1dStpPortState;
    gint32   *dot1dStpPortEnable;
    gint32   *dot1dStpPortPathCost;
    guchar   *dot1dStpPortDesignatedRoot;
#define BRIDGE_MIB_DOT1DSTPPORTDESIGNATEDROOTLENGTH 8
    gint32   *dot1dStpPortDesignatedCost;
    guchar   *dot1dStpPortDesignatedBridge;
#define BRIDGE_MIB_DOT1DSTPPORTDESIGNATEDBRIDGELENGTH 8
    guchar   *dot1dStpPortDesignatedPort;
#define BRIDGE_MIB_DOT1DSTPPORTDESIGNATEDPORTLENGTH 2
    guint32  *dot1dStpPortForwardTransitions;
} bridge_mib_dot1dStpPortEntry_t;

extern void
bridge_mib_get_dot1dStpPortTable(GSnmpSession *s, bridge_mib_dot1dStpPortEntry_t ***dot1dStpPortEntry, gint mask);

extern void
bridge_mib_free_dot1dStpPortTable(bridge_mib_dot1dStpPortEntry_t **dot1dStpPortEntry);

extern bridge_mib_dot1dStpPortEntry_t *
bridge_mib_new_dot1dStpPortEntry(void);

extern void
bridge_mib_get_dot1dStpPortEntry(GSnmpSession *s, bridge_mib_dot1dStpPortEntry_t **dot1dStpPortEntry, gint32 dot1dStpPort, gint mask);

extern void
bridge_mib_set_dot1dStpPortEntry(GSnmpSession *s, bridge_mib_dot1dStpPortEntry_t *dot1dStpPortEntry, gint mask);

extern void
bridge_mib_free_dot1dStpPortEntry(bridge_mib_dot1dStpPortEntry_t *dot1dStpPortEntry);

/*
 * C type definitions for BRIDGE-MIB::dot1dTp.
 */

#define BRIDGE_MIB_DOT1DTPLEARNEDENTRYDISCARDS (1 << 0) 
#define BRIDGE_MIB_DOT1DTPAGINGTIME            (1 << 1) 

typedef struct {
    guint32  *dot1dTpLearnedEntryDiscards;
    gint32   *dot1dTpAgingTime;
} bridge_mib_dot1dTp_t;

extern bridge_mib_dot1dTp_t *
bridge_mib_new_dot1dTp(void);

extern void
bridge_mib_get_dot1dTp(GSnmpSession *s, bridge_mib_dot1dTp_t **dot1dTp, gint mask);

extern void
bridge_mib_set_dot1dTp(GSnmpSession *s, bridge_mib_dot1dTp_t *dot1dTp, gint mask);

extern void
bridge_mib_free_dot1dTp(bridge_mib_dot1dTp_t *dot1dTp);

/*
 * C type definitions for BRIDGE-MIB::dot1dTpFdbEntry.
 */

#define BRIDGE_MIB_DOT1DTPFDBADDRESS (1 << 0) 
#define BRIDGE_MIB_DOT1DTPFDBPORT    (1 << 1) 
#define BRIDGE_MIB_DOT1DTPFDBSTATUS  (1 << 2) 

typedef struct {
    guchar   dot1dTpFdbAddress[6];
#define BRIDGE_MIB_DOT1DTPFDBADDRESSLENGTH 6
    gint32   *dot1dTpFdbPort;
    gint32   *dot1dTpFdbStatus;
} bridge_mib_dot1dTpFdbEntry_t;

extern void
bridge_mib_get_dot1dTpFdbTable(GSnmpSession *s, bridge_mib_dot1dTpFdbEntry_t ***dot1dTpFdbEntry, gint mask);

extern void
bridge_mib_free_dot1dTpFdbTable(bridge_mib_dot1dTpFdbEntry_t **dot1dTpFdbEntry);

extern bridge_mib_dot1dTpFdbEntry_t *
bridge_mib_new_dot1dTpFdbEntry(void);

extern void
bridge_mib_get_dot1dTpFdbEntry(GSnmpSession *s, bridge_mib_dot1dTpFdbEntry_t **dot1dTpFdbEntry, guchar *dot1dTpFdbAddress, gint mask);

extern void
bridge_mib_free_dot1dTpFdbEntry(bridge_mib_dot1dTpFdbEntry_t *dot1dTpFdbEntry);

/*
 * C type definitions for BRIDGE-MIB::dot1dTpPortEntry.
 */

#define BRIDGE_MIB_DOT1DTPPORT           (1 << 0) 
#define BRIDGE_MIB_DOT1DTPPORTMAXINFO    (1 << 1) 
#define BRIDGE_MIB_DOT1DTPPORTINFRAMES   (1 << 2) 
#define BRIDGE_MIB_DOT1DTPPORTOUTFRAMES  (1 << 3) 
#define BRIDGE_MIB_DOT1DTPPORTINDISCARDS (1 << 4) 

typedef struct {
    gint32   dot1dTpPort;
    gint32   *dot1dTpPortMaxInfo;
    guint32  *dot1dTpPortInFrames;
    guint32  *dot1dTpPortOutFrames;
    guint32  *dot1dTpPortInDiscards;
} bridge_mib_dot1dTpPortEntry_t;

extern void
bridge_mib_get_dot1dTpPortTable(GSnmpSession *s, bridge_mib_dot1dTpPortEntry_t ***dot1dTpPortEntry, gint mask);

extern void
bridge_mib_free_dot1dTpPortTable(bridge_mib_dot1dTpPortEntry_t **dot1dTpPortEntry);

extern bridge_mib_dot1dTpPortEntry_t *
bridge_mib_new_dot1dTpPortEntry(void);

extern void
bridge_mib_get_dot1dTpPortEntry(GSnmpSession *s, bridge_mib_dot1dTpPortEntry_t **dot1dTpPortEntry, gint32 dot1dTpPort, gint mask);

extern void
bridge_mib_free_dot1dTpPortEntry(bridge_mib_dot1dTpPortEntry_t *dot1dTpPortEntry);

/*
 * C type definitions for BRIDGE-MIB::dot1dStaticEntry.
 */

#define BRIDGE_MIB_DOT1DSTATICADDRESS       (1 << 0) 
#define BRIDGE_MIB_DOT1DSTATICRECEIVEPORT   (1 << 1) 
#define BRIDGE_MIB_DOT1DSTATICALLOWEDTOGOTO (1 << 2) 
#define BRIDGE_MIB_DOT1DSTATICSTATUS        (1 << 3) 

typedef struct {
    guchar   dot1dStaticAddress[6];
#define BRIDGE_MIB_DOT1DSTATICADDRESSLENGTH 6
    gint32   dot1dStaticReceivePort;
    guchar   *dot1dStaticAllowedToGoTo;
#define BRIDGE_MIB_DOT1DSTATICALLOWEDTOGOTOMINLENGTH 0
#define BRIDGE_MIB_DOT1DSTATICALLOWEDTOGOTOMAXLENGTH 65535
    guint16  _dot1dStaticAllowedToGoToLength;
    gint32   *dot1dStaticStatus;
} bridge_mib_dot1dStaticEntry_t;

extern void
bridge_mib_get_dot1dStaticTable(GSnmpSession *s, bridge_mib_dot1dStaticEntry_t ***dot1dStaticEntry, gint mask);

extern void
bridge_mib_free_dot1dStaticTable(bridge_mib_dot1dStaticEntry_t **dot1dStaticEntry);

extern bridge_mib_dot1dStaticEntry_t *
bridge_mib_new_dot1dStaticEntry(void);

extern void
bridge_mib_get_dot1dStaticEntry(GSnmpSession *s, bridge_mib_dot1dStaticEntry_t **dot1dStaticEntry, guchar *dot1dStaticAddress, gint32 dot1dStaticReceivePort, gint mask);

extern void
bridge_mib_set_dot1dStaticEntry(GSnmpSession *s, bridge_mib_dot1dStaticEntry_t *dot1dStaticEntry, gint mask);

extern void
bridge_mib_free_dot1dStaticEntry(bridge_mib_dot1dStaticEntry_t *dot1dStaticEntry);


#endif /* _BRIDGE_MIB_H_ */
