/*							-- DO NOT EDIT --
 * This file has been generated by smidump
 * version 0.3.1 for the scli package.
 *
 * Derived from OLD-CISCO-IP-MIB:
 *
 * $Id: old-cisco-ip-mib.h,v 1.4 2002/03/26 16:26:26 schoenw Exp $
 */

#ifndef _OLD_CISCO_IP_MIB_H_
#define _OLD_CISCO_IP_MIB_H_

#include "g_snmp.h"

/*
 * C type definitions for OLD-CISCO-IP-MIB::lip.
 */

#define OLD_CISCO_IP_MIB_ACTTHRESH     (1 << 0) 
#define OLD_CISCO_IP_MIB_ACTLOSTPKTS   (1 << 1) 
#define OLD_CISCO_IP_MIB_ACTLOSTBYTS   (1 << 2) 
#define OLD_CISCO_IP_MIB_ACTAGE        (1 << 3) 
#define OLD_CISCO_IP_MIB_CKACTAGE      (1 << 4) 
#define OLD_CISCO_IP_MIB_ACTCHECKPOINT (1 << 5) 
#define OLD_CISCO_IP_MIB_IPNOACCESS    (1 << 6) 

typedef struct {
    gint32   *actThresh;
    gint32   *actLostPkts;
    gint32   *actLostByts;
    guint32  *actAge;
    guint32  *ckactAge;
    gint32   *actCheckPoint;
    guint32  *ipNoaccess;
} old_cisco_ip_mib_lip_t;

extern old_cisco_ip_mib_lip_t *
old_cisco_ip_mib_new_lip(void);

extern void
old_cisco_ip_mib_get_lip(GSnmpSession *s, old_cisco_ip_mib_lip_t **lip, gint mask);

extern void
old_cisco_ip_mib_set_lip(GSnmpSession *s, old_cisco_ip_mib_lip_t *lip, gint mask);

extern void
old_cisco_ip_mib_free_lip(old_cisco_ip_mib_lip_t *lip);

/*
 * C type definitions for OLD-CISCO-IP-MIB::lipAddrEntry.
 */

#define OLD_CISCO_IP_MIB_LOCIPHOW       (1 << 0) 
#define OLD_CISCO_IP_MIB_LOCIPWHO       (1 << 1) 
#define OLD_CISCO_IP_MIB_LOCIPHELPER    (1 << 2) 
#define OLD_CISCO_IP_MIB_LOCIPSECURITY  (1 << 3) 
#define OLD_CISCO_IP_MIB_LOCIPREDIRECTS (1 << 4) 
#define OLD_CISCO_IP_MIB_LOCIPUNREACH   (1 << 5) 

typedef struct {
    guchar   ipAdEntAddr[4];
#define RFC1213_MIB_IPADENTADDRLENGTH 4
    guchar   *locIPHow;
#define OLD_CISCO_IP_MIB_LOCIPHOWMINLENGTH 0
#define OLD_CISCO_IP_MIB_LOCIPHOWMAXLENGTH 65535
    guint16  _locIPHowLength;
    guchar   *locIPWho;
#define OLD_CISCO_IP_MIB_LOCIPWHOLENGTH 4
    guchar   *locIPHelper;
#define OLD_CISCO_IP_MIB_LOCIPHELPERLENGTH 4
    gint32   *locIPSecurity;
    gint32   *locIPRedirects;
    gint32   *locIPUnreach;
} old_cisco_ip_mib_lipAddrEntry_t;

extern void
old_cisco_ip_mib_get_lipAddrTable(GSnmpSession *s, old_cisco_ip_mib_lipAddrEntry_t ***lipAddrEntry, gint mask);

extern void
old_cisco_ip_mib_free_lipAddrTable(old_cisco_ip_mib_lipAddrEntry_t **lipAddrEntry);

extern old_cisco_ip_mib_lipAddrEntry_t *
old_cisco_ip_mib_new_lipAddrEntry(void);

extern void
old_cisco_ip_mib_get_lipAddrEntry(GSnmpSession *s, old_cisco_ip_mib_lipAddrEntry_t **lipAddrEntry, guchar *ipAdEntAddr, gint mask);

extern void
old_cisco_ip_mib_free_lipAddrEntry(old_cisco_ip_mib_lipAddrEntry_t *lipAddrEntry);

/*
 * C type definitions for OLD-CISCO-IP-MIB::lipRouteEntry.
 */

#define OLD_CISCO_IP_MIB_LOCRTMASK  (1 << 0) 
#define OLD_CISCO_IP_MIB_LOCRTCOUNT (1 << 1) 
#define OLD_CISCO_IP_MIB_LOCRTUSES  (1 << 2) 

typedef struct {
    guchar   ipRouteDest[4];
#define RFC1213_MIB_IPROUTEDESTLENGTH 4
    guchar   *locRtMask;
#define OLD_CISCO_IP_MIB_LOCRTMASKLENGTH 4
    gint32   *locRtCount;
    gint32   *locRtUses;
} old_cisco_ip_mib_lipRouteEntry_t;

extern void
old_cisco_ip_mib_get_lipRouteTable(GSnmpSession *s, old_cisco_ip_mib_lipRouteEntry_t ***lipRouteEntry, gint mask);

extern void
old_cisco_ip_mib_free_lipRouteTable(old_cisco_ip_mib_lipRouteEntry_t **lipRouteEntry);

extern old_cisco_ip_mib_lipRouteEntry_t *
old_cisco_ip_mib_new_lipRouteEntry(void);

extern void
old_cisco_ip_mib_get_lipRouteEntry(GSnmpSession *s, old_cisco_ip_mib_lipRouteEntry_t **lipRouteEntry, guchar *ipRouteDest, gint mask);

extern void
old_cisco_ip_mib_free_lipRouteEntry(old_cisco_ip_mib_lipRouteEntry_t *lipRouteEntry);

/*
 * C type definitions for OLD-CISCO-IP-MIB::lipAccountEntry.
 */

#define OLD_CISCO_IP_MIB_ACTSRC       (1 << 0) 
#define OLD_CISCO_IP_MIB_ACTDST       (1 << 1) 
#define OLD_CISCO_IP_MIB_ACTPKTS      (1 << 2) 
#define OLD_CISCO_IP_MIB_ACTBYTS      (1 << 3) 
#define OLD_CISCO_IP_MIB_ACTVIOLATION (1 << 4) 

typedef struct {
    guchar   actSrc[4];
#define OLD_CISCO_IP_MIB_ACTSRCLENGTH 4
    guchar   actDst[4];
#define OLD_CISCO_IP_MIB_ACTDSTLENGTH 4
    gint32   *actPkts;
    gint32   *actByts;
    gint32   *actViolation;
} old_cisco_ip_mib_lipAccountEntry_t;

extern void
old_cisco_ip_mib_get_lipAccountingTable(GSnmpSession *s, old_cisco_ip_mib_lipAccountEntry_t ***lipAccountEntry, gint mask);

extern void
old_cisco_ip_mib_free_lipAccountingTable(old_cisco_ip_mib_lipAccountEntry_t **lipAccountEntry);

extern old_cisco_ip_mib_lipAccountEntry_t *
old_cisco_ip_mib_new_lipAccountEntry(void);

extern void
old_cisco_ip_mib_get_lipAccountEntry(GSnmpSession *s, old_cisco_ip_mib_lipAccountEntry_t **lipAccountEntry, guchar *actSrc, guchar *actDst, gint mask);

extern void
old_cisco_ip_mib_free_lipAccountEntry(old_cisco_ip_mib_lipAccountEntry_t *lipAccountEntry);

/*
 * C type definitions for OLD-CISCO-IP-MIB::lipCkAccountEntry.
 */

#define OLD_CISCO_IP_MIB_CKACTSRC       (1 << 0) 
#define OLD_CISCO_IP_MIB_CKACTDST       (1 << 1) 
#define OLD_CISCO_IP_MIB_CKACTPKTS      (1 << 2) 
#define OLD_CISCO_IP_MIB_CKACTBYTS      (1 << 3) 
#define OLD_CISCO_IP_MIB_CKACTVIOLATION (1 << 4) 

typedef struct {
    guchar   ckactSrc[4];
#define OLD_CISCO_IP_MIB_CKACTSRCLENGTH 4
    guchar   ckactDst[4];
#define OLD_CISCO_IP_MIB_CKACTDSTLENGTH 4
    gint32   *ckactPkts;
    gint32   *ckactByts;
    gint32   *ckactViolation;
} old_cisco_ip_mib_lipCkAccountEntry_t;

extern void
old_cisco_ip_mib_get_lipCkAccountingTable(GSnmpSession *s, old_cisco_ip_mib_lipCkAccountEntry_t ***lipCkAccountEntry, gint mask);

extern void
old_cisco_ip_mib_free_lipCkAccountingTable(old_cisco_ip_mib_lipCkAccountEntry_t **lipCkAccountEntry);

extern old_cisco_ip_mib_lipCkAccountEntry_t *
old_cisco_ip_mib_new_lipCkAccountEntry(void);

extern void
old_cisco_ip_mib_get_lipCkAccountEntry(GSnmpSession *s, old_cisco_ip_mib_lipCkAccountEntry_t **lipCkAccountEntry, guchar *ckactSrc, guchar *ckactDst, gint mask);

extern void
old_cisco_ip_mib_free_lipCkAccountEntry(old_cisco_ip_mib_lipCkAccountEntry_t *lipCkAccountEntry);


#endif /* _OLD_CISCO_IP_MIB_H_ */
