original files of m241

This commit is contained in:
neelimap
2026-07-30 11:19:44 +05:30
parent 170c2b3f3a
commit afc7070c1f
12254 changed files with 7655111 additions and 0 deletions
@@ -0,0 +1,148 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -mib.c switch.
****
**** This file contains a representation of a MIB tree suitable
**** for use by an SNMP agent running Wind River's WindManage SNMP package.
****
**** DO NOT EDIT THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:26 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/IANARtProto.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4022.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4113.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4292.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/ipnet.ctl
**** starting from node: icmp
******************************************************************************
******************************************************************************
*/
#define _MIB 1
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmpstat.h>
#include "ip_mibhand.h"
#include <ipnet_h.h>
#ifndef STATIC
#define STATIC static
#endif
/**
** Subtree Object Identifier for Add_Node_From_Root
** icmp OBJECT IDENTIFIER ::= { mib-2 5 }
**/
STATIC OIDC_T oid_icmp4293_root_node[] = { 1, 3, 6, 1, 2, 1, 5 };
OBJ_ID_T objid_icmp4293_root_node = {
sizeof(oid_icmp4293_root_node)/sizeof(OIDC_T),
oid_icmp4293_root_node
};
STATIC
MIBARC_T a_icmpStatsIPVersion[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_icmpStatsIPVersion = NODE_NT("icmpStatsIPVersion",
REPLACEABLE, a_icmpStatsIPVersion);
LEAF_NT_ASYS( l_icmpStatsInMsgs, REPLACEABLE, "icmpStatsInMsgs", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
icmpStatsEntry_get, null_set_async, icmpStatsEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_icmpStatsInErrors, REPLACEABLE, "icmpStatsInErrors", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
icmpStatsEntry_get, null_set_async, icmpStatsEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_icmpStatsOutMsgs, REPLACEABLE, "icmpStatsOutMsgs", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
icmpStatsEntry_get, null_set_async, icmpStatsEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_icmpStatsOutErrors, REPLACEABLE, "icmpStatsOutErrors", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
icmpStatsEntry_get, null_set_async, icmpStatsEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_icmpStatsEntry[] = {
ARC(1, n_icmpStatsIPVersion),
ARC(2, l_icmpStatsInMsgs),
ARC(3, l_icmpStatsInErrors),
ARC(4, l_icmpStatsOutMsgs),
ARC(5, l_icmpStatsOutErrors),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_icmpStatsEntry = NODE_NT("icmpStatsEntry",
REPLACEABLE, a_icmpStatsEntry);
STATIC
MIBARC_T a_icmpStatsTable[] = {
ARC(1, n_icmpStatsEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_icmpStatsTable = NODE_NT("icmpStatsTable",
REPLACEABLE, a_icmpStatsTable);
STATIC
MIBARC_T a_icmpMsgStatsIPVersion[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_icmpMsgStatsIPVersion = NODE_NT("icmpMsgStatsIPVersion",
REPLACEABLE, a_icmpMsgStatsIPVersion);
STATIC
MIBARC_T a_icmpMsgStatsType[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_icmpMsgStatsType = NODE_NT("icmpMsgStatsType",
REPLACEABLE, a_icmpMsgStatsType);
LEAF_NT_ASYS( l_icmpMsgStatsInPkts, REPLACEABLE, "icmpMsgStatsInPkts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
icmpMsgStatsEntry_get, null_set_async, icmpMsgStatsEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_icmpMsgStatsOutPkts, REPLACEABLE, "icmpMsgStatsOutPkts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
icmpMsgStatsEntry_get, null_set_async, icmpMsgStatsEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_icmpMsgStatsEntry[] = {
ARC(1, n_icmpMsgStatsIPVersion),
ARC(2, n_icmpMsgStatsType),
ARC(3, l_icmpMsgStatsInPkts),
ARC(4, l_icmpMsgStatsOutPkts),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_icmpMsgStatsEntry = NODE_NT("icmpMsgStatsEntry",
REPLACEABLE, a_icmpMsgStatsEntry);
STATIC
MIBARC_T a_icmpMsgStatsTable[] = {
ARC(1, n_icmpMsgStatsEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_icmpMsgStatsTable = NODE_NT("icmpMsgStatsTable",
REPLACEABLE, a_icmpMsgStatsTable);
STATIC
MIBARC_T a_icmp[] = {
ARC(29, n_icmpStatsTable),
ARC(30, n_icmpMsgStatsTable),
END_OF_ARC_LIST };
MIBNODE_T icmp4293_root_node = NODE_NT("icmp",
REPLACEABLE, a_icmp);
@@ -0,0 +1,467 @@
/*
* Copyright 2007 Wind River Systems, Inc.
* All rights reserved. Provided under license only.
* Distribution or other use of this software is only
* permitted pursuant to the terms of a license agreement
* from Wind River Systems (and is otherwise prohibited).
* Refer to that license agreement for terms of use.
*/
/* icmp4293_mth.c - method routines for the icmp tree in RFC 4293 */
/*
modification history
--------------------
01a,28jun07,msa Add RFC4293 support
*/
#include <wrn/wm/snmp/engine/asn1conf.h>
#include <wrn/wm/snmp/engine/asn1.h>
#include <wrn/wm/snmp/engine/buffer.h>
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/localio.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmp.h>
#include <wrn/wm/snmp/engine/auxfuncs.h>
#include "ipicmp4293_mibleaf.h"
#include <ipcom_mib2_api.h>
/**************************************************************************
* Local structures
**************************************************************************/
typedef struct
{
int tcount;
OIDC_T * tlist;
Ipcom_mib2_IcmpStatsEntry * dataPtr;
boolean_t getnext; /* FALSE = getexact */
} icmpStatsEntry_cookie_t;
typedef struct
{
int tcount;
OIDC_T * tlist;
Ipcom_mib2_IcmpMsgStatsEntry * dataPtr;
boolean_t getnext; /* FALSE = getexact */
} icmpMsgStatsEntry_cookie_t;
/*
* Method routines for the icmpStatsTable:
*
* icmpStatsIPVersion -- not-accessible
* The IP version of the statistics.
*
* icmpStatsInMsgs -- read-only
* The total number of ICMP messages that the entity received.
* Note that this counter includes all those counted by
* icmpStatsInErrors.
*
* icmpStatsInErrors -- read-only
* The number of ICMP messages that the entity received but
* determined as having ICMP-specific errors (bad ICMP
* checksums, bad length, etc.).
*
* icmpStatsOutMsgs -- read-only
* The total number of ICMP messages that the entity attempted
* to send. Note that this counter includes all those counted
* by icmpStatsOutErrors.
*
* icmpStatsOutErrors -- read-only
* The number of ICMP messages that this entity did not send
* due to problems discovered within ICMP, such as a lack of
* buffers. This value should not include errors discovered
* outside the ICMP layer, such as the inability of IP to route
* the resultant datagram. In some implementations, there may
* be no types of error that contribute to this counter's
* value.
*/
static int
icmpStatsEntry_get_value(OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
Ipcom_mib2_IcmpStatsEntry *data)
{
switch(lastmatch) {
case LEAF_icmpStatsInMsgs:
getproc_got_uint32(pktp, vbp, data->icmpStatsInMsgs, VT_COUNTER);
break;
case LEAF_icmpStatsInErrors:
getproc_got_uint32(pktp, vbp, data->icmpStatsInErrors, VT_COUNTER);
break;
case LEAF_icmpStatsOutMsgs:
getproc_got_uint32(pktp, vbp, data->icmpStatsOutMsgs, VT_COUNTER);
break;
case LEAF_icmpStatsOutErrors:
getproc_got_uint32(pktp, vbp, data->icmpStatsOutErrors, VT_COUNTER);
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
#define icmpStatsEntry_INSTANCE_LEN 1
static unsigned
icmpStatsEntry_build_instance (Ipcom_mib2_IcmpStatsEntry *data,
OIDC_T *instance)
{
instance [0] = data->icmpStatsIPVersion;
return (icmpStatsEntry_INSTANCE_LEN);
}
static int
icmpStatsEntry_callback (Ipcom_mib2_IcmpStatsEntry *entry,
void *user)
{
icmpStatsEntry_cookie_t * cookie = (icmpStatsEntry_cookie_t *)user;
boolean_t stopIterating = FALSE;
boolean_t saveData = FALSE;
OIDC_T instance [icmpStatsEntry_INSTANCE_LEN];
unsigned instanceLen = 0;
int cmpval = 0;
instanceLen = icmpStatsEntry_build_instance (entry, instance);
cmpval = oidcmp2 (instanceLen, instance, cookie->tcount, cookie->tlist);
if (cookie->getnext)
{
if (cmpval > 0)
{
if (cookie->dataPtr == NULL)
saveData = TRUE;
else
{
OIDC_T prevInstance [icmpStatsEntry_INSTANCE_LEN];
unsigned prevInstanceLen = 0;
prevInstanceLen = icmpStatsEntry_build_instance (cookie->dataPtr,
prevInstance);
if (oidcmp2 (instanceLen, instance, prevInstanceLen, prevInstance) < 0)
saveData = TRUE;
}
}
}
else /* Get exact */
{
if (cmpval == 0)
{
saveData = TRUE;
stopIterating = TRUE;
}
}
if (saveData)
{
if (cookie->dataPtr == NULL)
cookie->dataPtr = SNMP_memory_alloc (sizeof (Ipcom_mib2_IcmpStatsEntry));
if (cookie->dataPtr != NULL)
memcpy (cookie->dataPtr, entry, sizeof (Ipcom_mib2_IcmpStatsEntry));
}
/* Return values defined are part of callback API. */
return (stopIterating? 1: 0);
}
static Ipcom_mib2_IcmpStatsEntry *
icmpStatsEntry_lookup (int tcount,
OIDC_T * tlist,
boolean_t getnext)
{
icmpStatsEntry_cookie_t cookie;
/* Make sure the instance length is correct if we need an exact match. */
if (!getnext && (tcount != icmpStatsEntry_INSTANCE_LEN))
return (NULL);
cookie.tcount = tcount;
cookie.tlist = tlist;
cookie.dataPtr = NULL;
cookie.getnext = getnext;
ipcom_mib2_iterate_icmpStatsTable (icmpStatsEntry_callback,
(void *)&cookie);
return (cookie.dataPtr);
}
void
icmpStatsEntry_get (OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
Ipcom_mib2_IcmpStatsEntry *data;
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance (pktp, vbp, tcount, tlist);
if ((data = icmpStatsEntry_lookup (tcount, tlist, FALSE)) == NULL)
{
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins (pktp, vbp);
}
else
{
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link)
{
if ((error = icmpStatsEntry_get_value (vbp->vb_ml.ml_last_match, pktp, vbp, data)) != NO_ERROR)
getproc_error (pktp, vbp, error);
}
SNMP_memory_free (data);
}
}
void
icmpStatsEntry_next (OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
Ipcom_mib2_IcmpStatsEntry * data;
OIDC_T best_inst [icmpStatsEntry_INSTANCE_LEN];
int error;
unsigned best_inst_len;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance (pktp, vbp, tcount, tlist);
if ((data = icmpStatsEntry_lookup (tcount, tlist, TRUE)) != NULL)
{
best_inst_len = icmpStatsEntry_build_instance (data, best_inst);
/* we found a next so get the values and set the instance for all
* the varbinds for this row of this table. */
for ( ; vbp ; vbp = vbp->vb_link)
{
if ((error = icmpStatsEntry_get_value (vbp->vb_ml.ml_last_match, pktp, vbp, data)) == NO_ERROR)
nextproc_next_instance (pktp, vbp, best_inst_len, best_inst);
else
nextproc_error (pktp, vbp, error);
}
SNMP_memory_free (data);
}
else /* there's no more in this table */
{
for ( ; vbp ; vbp = vbp->vb_link )
nextproc_no_next (pktp, vbp);
}
}
/*
* Method routines for the icmpMsgStatsTable:
*
* icmpMsgStatsIPVersion -- not-accessible
* The IP version of the statistics.
*
* icmpMsgStatsType -- not-accessible
* The ICMP type field of the message type being counted by
* this row.
*
* Note that ICMP message types are scoped by the address type
* in use.
*
* icmpMsgStatsInPkts -- read-only
* The number of input packets for this AF and type.
*
* icmpMsgStatsOutPkts -- read-only
* The number of output packets for this AF and type.
*/
static int
icmpMsgStatsEntry_get_value(OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
Ipcom_mib2_IcmpMsgStatsEntry *data)
{
switch(lastmatch) {
case LEAF_icmpMsgStatsInPkts:
getproc_got_uint32(pktp, vbp, data->icmpMsgStatsInPkts, VT_COUNTER);
break;
case LEAF_icmpMsgStatsOutPkts:
getproc_got_uint32(pktp, vbp, data->icmpMsgStatsOutPkts, VT_COUNTER);
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
#define icmpMsgStatsEntry_INSTANCE_LEN 2
static unsigned
icmpMsgStatsEntry_build_instance (Ipcom_mib2_IcmpMsgStatsEntry *data,
OIDC_T *instance)
{
instance [0] = data->icmpMsgStatsIPVersion;
instance [1] = data->icmpMsgStatsType;
return (icmpMsgStatsEntry_INSTANCE_LEN);
}
static int
icmpMsgStatsEntry_callback (Ipcom_mib2_IcmpMsgStatsEntry *entry,
void *user)
{
icmpMsgStatsEntry_cookie_t * cookie = (icmpMsgStatsEntry_cookie_t *)user;
boolean_t stopIterating = FALSE;
boolean_t saveData = FALSE;
OIDC_T instance [icmpMsgStatsEntry_INSTANCE_LEN];
unsigned instanceLen = 0;
int cmpval = 0;
instanceLen = icmpMsgStatsEntry_build_instance (entry, instance);
cmpval = oidcmp2 (instanceLen, instance, cookie->tcount, cookie->tlist);
if (cookie->getnext)
{
if (cmpval > 0)
{
if (cookie->dataPtr == NULL)
saveData = TRUE;
else
{
OIDC_T prevInstance [icmpMsgStatsEntry_INSTANCE_LEN];
unsigned prevInstanceLen = 0;
prevInstanceLen = icmpMsgStatsEntry_build_instance (cookie->dataPtr,
prevInstance);
if (oidcmp2 (instanceLen, instance, prevInstanceLen, prevInstance) < 0)
saveData = TRUE;
}
}
}
else /* Get exact */
{
if (cmpval == 0)
{
saveData = TRUE;
stopIterating = TRUE;
}
}
if (saveData)
{
if (cookie->dataPtr == NULL)
cookie->dataPtr = SNMP_memory_alloc (sizeof (Ipcom_mib2_IcmpMsgStatsEntry));
if (cookie->dataPtr != NULL)
memcpy (cookie->dataPtr, entry, sizeof (Ipcom_mib2_IcmpMsgStatsEntry));
}
/* Return values defined are part of callback API. */
return (stopIterating? 1: 0);
}
static Ipcom_mib2_IcmpMsgStatsEntry *
icmpMsgStatsEntry_lookup (int tcount,
OIDC_T * tlist,
boolean_t getnext)
{
icmpMsgStatsEntry_cookie_t cookie;
/* Make sure the instance length is correct if we need an exact match. */
if (!getnext && (tcount != icmpMsgStatsEntry_INSTANCE_LEN))
return (NULL);
cookie.tcount = tcount;
cookie.tlist = tlist;
cookie.dataPtr = NULL;
cookie.getnext = getnext;
ipcom_mib2_iterate_icmpMsgStatsTable (icmpMsgStatsEntry_callback,
(void *)&cookie);
return (cookie.dataPtr);
}
void
icmpMsgStatsEntry_get (OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
Ipcom_mib2_IcmpMsgStatsEntry *data;
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance (pktp, vbp, tcount, tlist);
if ((data = icmpMsgStatsEntry_lookup (tcount, tlist, FALSE)) == NULL)
{
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins (pktp, vbp);
}
else
{
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link)
{
if ((error = icmpMsgStatsEntry_get_value (vbp->vb_ml.ml_last_match, pktp, vbp, data)) != NO_ERROR)
getproc_error (pktp, vbp, error);
}
SNMP_memory_free (data);
}
}
void
icmpMsgStatsEntry_next (OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
Ipcom_mib2_IcmpMsgStatsEntry * data;
OIDC_T best_inst [icmpMsgStatsEntry_INSTANCE_LEN];
int error;
unsigned best_inst_len;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance (pktp, vbp, tcount, tlist);
if ((data = icmpMsgStatsEntry_lookup (tcount, tlist, TRUE)) != NULL)
{
best_inst_len = icmpMsgStatsEntry_build_instance (data, best_inst);
/* we found a next so get the values and set the instance for all
* the varbinds for this row of this table. */
for ( ; vbp ; vbp = vbp->vb_link)
{
if ((error = icmpMsgStatsEntry_get_value (vbp->vb_ml.ml_last_match, pktp, vbp, data)) == NO_ERROR)
nextproc_next_instance (pktp, vbp, best_inst_len, best_inst);
else
nextproc_error (pktp, vbp, error);
}
SNMP_memory_free (data);
}
else /* there's no more in this table */
{
for ( ; vbp ; vbp = vbp->vb_link )
nextproc_no_next (pktp, vbp);
}
}
+186
View File
@@ -0,0 +1,186 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -mib.c switch.
****
**** This file contains a representation of a MIB tree suitable
**** for use by an SNMP agent running Wind River's WindManage SNMP package.
****
**** DO NOT EDIT THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:26 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/IANARtProto.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4022.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4113.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4292.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/ipnet.ctl
**** starting from node: interfaces
******************************************************************************
******************************************************************************
*/
#define _MIB 1
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmpstat.h>
#include "ip_mibhand.h"
#include <ipnet_h.h>
#ifndef STATIC
#define STATIC static
#endif
/**
** Subtree Object Identifier for Add_Node_From_Root
** interfaces OBJECT IDENTIFIER ::= { mib-2 2 }
**/
STATIC OIDC_T oid_if_root_node[] = { 1, 3, 6, 1, 2, 1, 2 };
OBJ_ID_T objid_if_root_node = {
sizeof(oid_if_root_node)/sizeof(OIDC_T),
oid_if_root_node
};
LEAF_NT_ASYS( l_ifNumber, REPLACEABLE, "ifNumber", VT_NUMBER,
READ_ACCESS, SCALAR, null_test_async,
interfaces_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifIndex, REPLACEABLE, "ifIndex", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifDescr, REPLACEABLE, "ifDescr", VT_STRING,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifType, REPLACEABLE, "ifType", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifMtu, REPLACEABLE, "ifMtu", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifSpeed, REPLACEABLE, "ifSpeed", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifPhysAddress, REPLACEABLE, "ifPhysAddress", VT_STRING,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifAdminStatus, REPLACEABLE, "ifAdminStatus", VT_NUMBER,
READ_WRITE_ACCESS, TABULAR, ifEntry_test,
ifEntry_get, ifEntry_set, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifOperStatus, REPLACEABLE, "ifOperStatus", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifLastChange, REPLACEABLE, "ifLastChange", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifInOctets, REPLACEABLE, "ifInOctets", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifInUcastPkts, REPLACEABLE, "ifInUcastPkts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifInDiscards, REPLACEABLE, "ifInDiscards", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifInErrors, REPLACEABLE, "ifInErrors", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifInUnknownProtos, REPLACEABLE, "ifInUnknownProtos", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifOutOctets, REPLACEABLE, "ifOutOctets", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifOutUcastPkts, REPLACEABLE, "ifOutUcastPkts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifOutDiscards, REPLACEABLE, "ifOutDiscards", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifOutErrors, REPLACEABLE, "ifOutErrors", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifTable",
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_ifEntry[] = {
ARC(1, l_ifIndex),
ARC(2, l_ifDescr),
ARC(3, l_ifType),
ARC(4, l_ifMtu),
ARC(5, l_ifSpeed),
ARC(6, l_ifPhysAddress),
ARC(7, l_ifAdminStatus),
ARC(8, l_ifOperStatus),
ARC(9, l_ifLastChange),
ARC(10, l_ifInOctets),
ARC(11, l_ifInUcastPkts),
ARC(13, l_ifInDiscards),
ARC(14, l_ifInErrors),
ARC(15, l_ifInUnknownProtos),
ARC(16, l_ifOutOctets),
ARC(17, l_ifOutUcastPkts),
ARC(19, l_ifOutDiscards),
ARC(20, l_ifOutErrors),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifEntry = NODE_NT("ifEntry",
REPLACEABLE, a_ifEntry);
STATIC
MIBARC_T a_ifTable[] = {
ARC(1, n_ifEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifTable = NODE_NT("ifTable",
REPLACEABLE, a_ifTable);
STATIC
MIBARC_T a_interfaces[] = {
ARC(1, l_ifNumber),
ARC(2, n_ifTable),
END_OF_ARC_LIST };
MIBNODE_T if_root_node = NODE_NT("interfaces",
REPLACEABLE, a_interfaces);
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,312 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -mib.c switch.
****
**** This file contains a representation of a MIB tree suitable
**** for use by an SNMP agent running Wind River's WindManage SNMP package.
****
**** DO NOT EDIT THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:26 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/IANARtProto.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4022.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4113.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4292.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/ipnet.ctl
**** starting from node: ifMIB
******************************************************************************
******************************************************************************
*/
#define _MIB 1
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmpstat.h>
#include "ip_mibhand.h"
#include <ipnet_h.h>
#ifndef STATIC
#define STATIC static
#endif
/**
** Subtree Object Identifier for Add_Node_From_Root
** ifMIB OBJECT IDENTIFIER ::= { mib-2 31 }
**/
STATIC OIDC_T oid_ifmib_root_node[] = { 1, 3, 6, 1, 2, 1, 31 };
OBJ_ID_T objid_ifmib_root_node = {
sizeof(oid_ifmib_root_node)/sizeof(OIDC_T),
oid_ifmib_root_node
};
LEAF_NT_ASYS( l_ifName, REPLACEABLE, "ifName", VT_STRING,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifInMulticastPkts, REPLACEABLE, "ifInMulticastPkts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifInBroadcastPkts, REPLACEABLE, "ifInBroadcastPkts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifOutMulticastPkts, REPLACEABLE, "ifOutMulticastPkts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifOutBroadcastPkts, REPLACEABLE, "ifOutBroadcastPkts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifLinkUpDownTrapEnable, REPLACEABLE, "ifLinkUpDownTrapEnable", VT_NUMBER,
READ_WRITE_ACCESS, TABULAR, ifEntry_test,
ifEntry_get, ifEntry_set, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifHighSpeed, REPLACEABLE, "ifHighSpeed", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifPromiscuousMode, REPLACEABLE, "ifPromiscuousMode", VT_NUMBER,
READ_WRITE_ACCESS, TABULAR, ifEntry_test,
ifEntry_get, ifEntry_set, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifConnectorPresent, REPLACEABLE, "ifConnectorPresent", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifAlias, REPLACEABLE, "ifAlias", VT_STRING,
READ_WRITE_ACCESS, TABULAR, ifEntry_test,
ifEntry_get, ifEntry_set, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_ifCounterDiscontinuityTime, REPLACEABLE, "ifCounterDiscontinuityTime", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
ifEntry_get, null_set_async, ifEntry_next,
(char *) "_ifXTable",
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_ifXEntry[] = {
ARC(1, l_ifName),
ARC(2, l_ifInMulticastPkts),
ARC(3, l_ifInBroadcastPkts),
ARC(4, l_ifOutMulticastPkts),
ARC(5, l_ifOutBroadcastPkts),
ARC(14, l_ifLinkUpDownTrapEnable),
ARC(15, l_ifHighSpeed),
ARC(16, l_ifPromiscuousMode),
ARC(17, l_ifConnectorPresent),
ARC(18, l_ifAlias),
ARC(19, l_ifCounterDiscontinuityTime),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifXEntry = NODE_NT("ifXEntry",
REPLACEABLE, a_ifXEntry);
STATIC
MIBARC_T a_ifXTable[] = {
ARC(1, n_ifXEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifXTable = NODE_NT("ifXTable",
REPLACEABLE, a_ifXTable);
LEAF_NT_ASYS( l_ifTableLastChange, REPLACEABLE, "ifTableLastChange", VT_TIMETICKS,
READ_ACCESS, SCALAR, null_test_async,
interfaces_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_ifMIBObjects[] = {
ARC(1, n_ifXTable),
ARC(5, l_ifTableLastChange),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifMIBObjects = NODE_NT("ifMIBObjects",
REPLACEABLE, a_ifMIBObjects);
STATIC
MIBARC_T a_ifGeneralGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifGeneralGroup = NODE_NT("ifGeneralGroup",
REPLACEABLE, a_ifGeneralGroup);
STATIC
MIBARC_T a_ifFixedLengthGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifFixedLengthGroup = NODE_NT("ifFixedLengthGroup",
REPLACEABLE, a_ifFixedLengthGroup);
STATIC
MIBARC_T a_ifHCFixedLengthGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifHCFixedLengthGroup = NODE_NT("ifHCFixedLengthGroup",
REPLACEABLE, a_ifHCFixedLengthGroup);
STATIC
MIBARC_T a_ifPacketGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifPacketGroup = NODE_NT("ifPacketGroup",
REPLACEABLE, a_ifPacketGroup);
STATIC
MIBARC_T a_ifHCPacketGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifHCPacketGroup = NODE_NT("ifHCPacketGroup",
REPLACEABLE, a_ifHCPacketGroup);
STATIC
MIBARC_T a_ifVHCPacketGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifVHCPacketGroup = NODE_NT("ifVHCPacketGroup",
REPLACEABLE, a_ifVHCPacketGroup);
STATIC
MIBARC_T a_ifRcvAddressGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifRcvAddressGroup = NODE_NT("ifRcvAddressGroup",
REPLACEABLE, a_ifRcvAddressGroup);
STATIC
MIBARC_T a_ifTestGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifTestGroup = NODE_NT("ifTestGroup",
REPLACEABLE, a_ifTestGroup);
STATIC
MIBARC_T a_ifStackGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifStackGroup = NODE_NT("ifStackGroup",
REPLACEABLE, a_ifStackGroup);
STATIC
MIBARC_T a_ifGeneralInformationGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifGeneralInformationGroup = NODE_NT("ifGeneralInformationGroup",
REPLACEABLE, a_ifGeneralInformationGroup);
STATIC
MIBARC_T a_ifStackGroup2[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifStackGroup2 = NODE_NT("ifStackGroup2",
REPLACEABLE, a_ifStackGroup2);
STATIC
MIBARC_T a_ifOldObjectsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifOldObjectsGroup = NODE_NT("ifOldObjectsGroup",
REPLACEABLE, a_ifOldObjectsGroup);
STATIC
MIBARC_T a_ifCounterDiscontinuityGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifCounterDiscontinuityGroup = NODE_NT("ifCounterDiscontinuityGroup",
REPLACEABLE, a_ifCounterDiscontinuityGroup);
STATIC
MIBARC_T a_linkUpDownNotificationsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_linkUpDownNotificationsGroup = NODE_NT("linkUpDownNotificationsGroup",
REPLACEABLE, a_linkUpDownNotificationsGroup);
STATIC
MIBARC_T a_ifGroups[] = {
ARC(1, n_ifGeneralGroup),
ARC(2, n_ifFixedLengthGroup),
ARC(3, n_ifHCFixedLengthGroup),
ARC(4, n_ifPacketGroup),
ARC(5, n_ifHCPacketGroup),
ARC(6, n_ifVHCPacketGroup),
ARC(7, n_ifRcvAddressGroup),
ARC(8, n_ifTestGroup),
ARC(9, n_ifStackGroup),
ARC(10, n_ifGeneralInformationGroup),
ARC(11, n_ifStackGroup2),
ARC(12, n_ifOldObjectsGroup),
ARC(13, n_ifCounterDiscontinuityGroup),
ARC(14, n_linkUpDownNotificationsGroup),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifGroups = NODE_NT("ifGroups",
REPLACEABLE, a_ifGroups);
STATIC
MIBARC_T a_ifCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifCompliance = NODE_NT("ifCompliance",
REPLACEABLE, a_ifCompliance);
STATIC
MIBARC_T a_ifCompliance2[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifCompliance2 = NODE_NT("ifCompliance2",
REPLACEABLE, a_ifCompliance2);
STATIC
MIBARC_T a_ifCompliance3[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifCompliance3 = NODE_NT("ifCompliance3",
REPLACEABLE, a_ifCompliance3);
STATIC
MIBARC_T a_ifCompliances[] = {
ARC(1, n_ifCompliance),
ARC(2, n_ifCompliance2),
ARC(3, n_ifCompliance3),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifCompliances = NODE_NT("ifCompliances",
REPLACEABLE, a_ifCompliances);
STATIC
MIBARC_T a_ifConformance[] = {
ARC(1, n_ifGroups),
ARC(2, n_ifCompliances),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_ifConformance = NODE_NT("ifConformance",
REPLACEABLE, a_ifConformance);
STATIC
MIBARC_T a_ifMIB[] = {
ARC(1, n_ifMIBObjects),
ARC(2, n_ifConformance),
END_OF_ARC_LIST };
MIBNODE_T ifmib_root_node = NODE_NT("ifMIB",
REPLACEABLE, a_ifMIB);
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,562 @@
/*
******************************************************************************
*
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $
* $Source: /home/interpeak/CVSRoot/wrsnmp/src/ip8021x_vxmib.c,v $
* $Author: myakan $
* $State: Exp $ $Locker: $
*
******************************************************************************
*/
/*
****************************************************************************
* 1 DESCRIPTION
****************************************************************************
*/
/*
****************************************************************************
* 2 CONFIGURATION
****************************************************************************
*/
#include "ip8021x_config.h"
/*
****************************************************************************
* 3 INCLUDE FILES
****************************************************************************
*/
#define IPCOM_USE_CLIB_PROTO
#include <ipcom_type.h>
#include <ipcom_cstyle.h>
#include <ipcom_clib.h>
#include <ipcom_err.h>
#include <ipcom_syslog.h>
#include <ipcom_errno.h>
#include <ipcom_err.h>
#include <ipcom_os.h>
#include <ipcom_ipd.h>
#include <ip8021x.h>
/* vxWorks specific */
#include <vxWorks.h>
#include <wrn/dot1x/dot1xMibLib.h>
#include <net/ethernet.h>
/*
****************************************************************************
* 4 DEFINES
****************************************************************************
*/
/*
****************************************************************************
* 5 TYPES
****************************************************************************
*/
#define MAC_ADDR_LEN (6)
/* 802.1X supplicant MIB statistics */
typedef struct dot1x_supp_stats_s
{
UINT32 portNumber; /* Supplicants port number */
UINT32 eapolFramesRxd; /* EAPOL frames received */
UINT32 eapolFramesTxd; /* EAPOL frames transmitted */
UINT32 eapolStartFramesTxd; /* EAPOL start frames transmitted */
UINT32 eapolLogoffFramesTxd; /* EAPOL logoff frames transmitted */
UINT32 eapolRespIdFramesTxd; /* EAPOL RespId frames transmitted */
UINT32 eapolRespFramesTxd; /* EAPOL Response frames transmitted */
UINT32 eapolReqIdFramesRxd; /* EAPOL ReqId frames received */
UINT32 eapolReqFramesRxd; /* EAPOL Request frames received */
UINT32 eapolInvalidFramesRxd; /* EAPOL invalid frames received */
UINT32 eapolLenErrFramesRxd; /* EAPOL length error frames received */
UINT32 eapolLastFrameVerRxd; /* EAPOL last frame version received */
char eapolLastFrameSrcRxd[MAC_ADDR_LEN]; /* EAPOL last frame source */
} SUPP_MIB_STATS_OBJ;
/* ip801x MIB actions */
typedef enum
{
IP8021X_MIB_VAR_SET = 0,
IP8021X_MIB_VAR_GET
} IP8021X_MIB_ACTION;
/*
****************************************************************************
* 6 EXTERN PROTOTYPES
****************************************************************************
*/
/*
****************************************************************************
* 7 LOCAL PROTOTYPES
****************************************************************************
*/
/*
****************************************************************************
* 9 STATIC FUNCTIONS
****************************************************************************
*/
IP_STATIC Ip_err ip8021x_vxmib_var_access(int instance, int action, int var_id,
void *value, int len);
/*
****************************************************************************
* 10 GLOBAL FUNCTIONS
****************************************************************************
*/
IP_GLOBAL Ip_err ip8021x_vxmib_entry_get(int instance, int var_id, void *data,
int len);
IP_GLOBAL Ip_err ip8021x_vxmib_entry_next(void *instance, int var_id, void *data,
int len);
IP_GLOBAL Ip_err ip8021x_vxmib_entry_set(int instance, int var_id, int data);
IP_GLOBAL void ip8021x_vxmib_handler_install(void);
/* MIB handlers */
IP_STATIC DOT1X_MIB_FUNC_TABLE mib_handlers =
{
(void*)ip8021x_vxmib_entry_get, /* get method */
(void*)ip8021x_vxmib_entry_next, /* next method */
(void*)ip8021x_vxmib_entry_set /* set method */
};
#ifdef IP8021X_VMXMIB_DEBUG
IP_GLOBAL Ip_err ip8021x_vxmib_test_cfg_get(void);
IP_GLOBAL Ip_err ip8021x_vxmib_test_cfg_set(char *var, int val);
IP_GLOBAL Ip_err ip8021x_vxmib_test_stats_get(void);
#endif
#ifdef IP8021X_VMXMIB_DEBUG
/*
*===========================================================================
* ip8021x_vxmib_test_cfg_get
*===========================================================================
* Description:
* Returns:
*
*/
IP_GLOBAL Ip_err
ip8021x_vxmib_test_cfg_get(void) {
D1XM_SUPP_CONFIG_ENTRY mib_config;
Ip_err err = IPCOM_ERR_FAILED;
err = ip8021x_vxmib_entry_get(1, D1XM_VAR_SUPP_CFG_ENTRY, &mib_config,
sizeof(D1XM_SUPP_CONFIG_ENTRY));
if(err != IPCOM_ERR_FAILED) {
printf("Held Period: %d\n", mib_config.suppHeldPeriod);
printf("Auth Period: %d\n", mib_config.suppAuthPeriod);
printf("Start Period: %d\n", mib_config.suppStartPeriod);
printf("Max Start: %d\n", mib_config.suppMaxStart);
} else {
printf("ip8021x_vxmib_test_cfg_get ::"
" Failed to get supplicant mib configuration");
}
return err;
}
/*
*===========================================================================
* ip8021x_vxmib_test_stats_get
*===========================================================================
* Description:
* Returns:
*
*/
IP_GLOBAL Ip_err
ip8021x_vxmib_test_stats_get(void) {
Ip_err err = IPCOM_ERR_FAILED;
D1XM_SUPP_STATS_ENTRY mib_stats;
err = ip8021x_vxmib_entry_get(1, D1XM_VAR_SUPP_STATS_ENTRY, &mib_stats,
sizeof(D1XM_SUPP_STATS_ENTRY));
if(err != IPCOM_ERR_FAILED) {
printf("EAPOL frames received: %d\n",
mib_stats.suppEapolFramesRx);
printf("EAPOL frames transmitted: %d\n",
mib_stats.suppEapolFramesTx);
printf("EAPOL Start frames transmitted: %d\n",
mib_stats.suppEapolStartFramesTx);
printf("EAPOL Logoff frames transmitted: %d\n",
mib_stats.suppEapolLogoffFramesTx);
printf("EAP Resp/Id frames transmitted: %d\n",
mib_stats.suppEapolRespIdFramesTx);
printf("EAP Response frames transmitted: %d\n",
mib_stats.suppEapolRespFramesTx);
printf("EAP Req/Id frames received: %d\n",
mib_stats.suppEapolReqIdFramesRx);
printf("EAP Request frames received: %d\n",
mib_stats.suppEapolReqFramesRx);
printf("Invalid EAPOL frames received: %d\n",
mib_stats.suppInvalidEapolFramesRx);
printf("EAP length error frames received: %d\n",
mib_stats.suppEapLengthErrorFramesRx);
printf("Last EAPOL frame version: %d\n",
mib_stats.suppLastEapolFrameVersion);
printf("Last EAPOL frame source: %02X %02X %02X %02X %02X %02X\n",
(UINT8)mib_stats.suppLastEapolFrameSource[0],
(UINT8)mib_stats.suppLastEapolFrameSource[1],
(UINT8)mib_stats.suppLastEapolFrameSource[2],
(UINT8)mib_stats.suppLastEapolFrameSource[3],
(UINT8)mib_stats.suppLastEapolFrameSource[4],
(UINT8)mib_stats.suppLastEapolFrameSource[5]);
} else {
IPCOM_LOG0(ERR,"ip8021x_vxmib_test_stats_get ::"
" Failed to get supplicant mib stats");
}
return err;
}
/*
*===========================================================================
* ip8021x_vxmib_test_cfg_set
*===========================================================================
* Description:
* Returns:
*
*/
IP_GLOBAL Ip_err
ip8021x_vxmib_test_cfg_set(char *var, int val) {
Ip_err err = IPCOM_ERR_FAILED;
int var_id;
if(strcmp(var,"held") == 0) {
var_id = D1XM_VAR_SuppHeldPeriod;
}
else if(strcmp(var,"auth") == 0) {
var_id = D1XM_VAR_SuppAuthPeriod;
}
else if(strcmp(var,"start") == 0) {
var_id = D1XM_VAR_SuppStartPeriod;
}
else if(strcmp(var,"max") == 0) {
var_id = D1XM_VAR_SuppMaxStart;
}
else {
IPCOM_LOG0(ERR,"ip8021x_vxmib_test_cfg_set :: invalid variable type");
return IPCOM_ERR_FAILED;
}
err = ip8021x_vxmib_entry_set(1, var_id, val);
if(err == IPCOM_ERR_FAILED) {
IPCOM_LOG0(ERR,"ip8021x_vxmib_test_cfg_set ::"
" error setting mib configuration variable");
}
return err;
}
#endif
/*
*===========================================================================
* ip8021x_vxmib_handler_install
*===========================================================================
* Description: This routine is a wrapper function to the generic MIB
* variable access
* Returns: void
*
*/
IP_GLOBAL void
ip8021x_vxmib_handler_install(void) {
(void)dot1xMibHandlerInstall(&mib_handlers,DOT1X_SUPP_BINDING);
}
/*
*===========================================================================
* ip8021x_vxmib_entry_get
*===========================================================================
* Description: This routine is a wrapper function to the generic MIB
* variable access
* Returns: OK or ERROR
*
*/
IP_GLOBAL Ip_err
ip8021x_vxmib_entry_get(int instance, int var_id, void *data, int len) {
IPCOM_LOG1(INFO,"ip8021x_vxmib_entry_get :: MIB entry get called",
instance);
/* convert instance to 0 based */
instance -= 1;
/* Get the data in the supplicant mib */
return(ip8021x_vxmib_var_access(instance, IP8021X_MIB_VAR_GET,
var_id, data, len));
}
/*
*===========================================================================
* ip8021x_vxmib_entry_next
*===========================================================================
* Description: This routine first gets data for the current instance then
* updates the instance counter by 1 before returning to the
* caller.
* Returns: OK or ERROR
*
*/
IP_GLOBAL Ip_err
ip8021x_vxmib_entry_next(void *instance, int var_id, void *data, int len) {
IPCOM_LOG1(INFO,"ip8021x_vxmib_entry_get :: MIB entry next instance %d",
*(int*)instance);
/* Access the mib data since we have a next instance */
if(ip8021x_vxmib_var_access(*(int*)instance, IP8021X_MIB_VAR_GET, var_id,
data, len) == OK)
{
/* Update the instance counter */
*(int*)instance += 1;
/* debug */
IPCOM_LOG1(INFO,"ip8021x_vxmib_entry_get :: MIB entry next instance %d",
*(int*)instance);
/* Success */
return(OK);
}
/* debug */
IPCOM_LOG1(INFO,"ip8021x_vxmib_entry_get :: MIB entry no next instance %d",
*(int*)instance);
return(ERROR);
}
/*
*===========================================================================
* ip8021x_vxmib_entry_set
*===========================================================================
* Description: This routine is a wrapper function to the generic MIB
* variable access
* Returns: OK or ERROR
*
*/
IP_GLOBAL Ip_err
ip8021x_vxmib_entry_set(int instance, int var_id, int data) {
int temp = data;
/* convert instance to 0 based */
instance -= 1;
/* debug */
IPCOM_LOG1(INFO,"ip8021x_vxmib_entry_set :: MIB entry set instance %d",
instance);
/* Set the data in the supplicant mib */
return(ip8021x_vxmib_var_access(instance, IP8021X_MIB_VAR_SET, var_id, &temp, 0));
}
/*
*===========================================================================
* ip8021x_vxmib_var_access
*===========================================================================
* Description: This routine first validates that the instance of the
* supplicant exists. If so then a reference to the device is
* looked up and then used to read or write the data depending
* on the command type.
* Returns: OK or ERROR
*
*/
IP_STATIC Ip_err
ip8021x_vxmib_var_access(int instance, int action, int var_id, void *value, int len) {
D1XM_SUPP_CONFIG_ENTRY *mib_config;
D1XM_SUPP_STATS_ENTRY *mib_stats;
Ip8021x_ipd_msg inmsg;
Ip8021x_ipd_msg outmsg;
Ip_err err = OK;
/* Make sure that the device exists */
if(value == NULL)
{
/* debug */
IPCOM_LOG0(INFO,"ip8021x_vxmib_var_access :: MIB var access error due "
"to bad input");
return(ERROR);
}
inmsg.ipd_msg.msgtype = IP8021X_ENCODE_SUPP_INSTANCE(IP8021X_IPD_EVENT_DATAMSG,
instance);
IPCOM_LOG3(INFO,"ip8021x_vxmib_var_access :: msg: %d, instance: %d,"
" msgtype: %08X",IP8021X_IPD_EVENT_DATAMSG,instance,
inmsg.ipd_msg.msgtype);
switch(var_id)
{
case D1XM_VAR_SUPP_CFG_ENTRY:
IPCOM_LOG0(INFO,"ip8021x_vxmib_var_access :: D1XM_VAR_SUPP_CFG_ENTRY");
mib_config = value;
inmsg.subtype = IP8021X_IPD_DATAMSG_MIB_SUPP_CFG;
err = ipcom_ipd_datamsg(IP8021X_PROCESS_NAME,&inmsg,sizeof(inmsg),
&outmsg,sizeof(outmsg));
if((outmsg.ipd_msg.msgerr != IPCOM_SUCCESS) ||
(err != IPCOM_SUCCESS))
return ERROR;
mib_config->paePortNumber = instance;
mib_config->suppHeldPeriod = outmsg.data.supp_cfg.held_period;
mib_config->suppAuthPeriod = outmsg.data.supp_cfg.auth_period;
mib_config->suppStartPeriod = outmsg.data.supp_cfg.start_period;
mib_config->suppMaxStart = outmsg.data.supp_cfg.max_start;
mib_config->suppPaeState = outmsg.data.supp_cfg.supp_state;
break;
case D1XM_VAR_SUPP_STATS_ENTRY:
mib_stats = value;
inmsg.subtype = IP8021X_IPD_DATAMSG_MIB_SUPP_STATS;
err = ipcom_ipd_datamsg(IP8021X_PROCESS_NAME,&inmsg,sizeof(inmsg),
&outmsg,sizeof(outmsg));
if((outmsg.ipd_msg.msgerr != IPCOM_SUCCESS) ||
(err != IPCOM_SUCCESS))
return ERROR;
#ifdef IP8021X_USE_STATS
/* Fill up the stats object */
mib_stats->paePortNumber = instance;
mib_stats->suppEapolFramesRx =
outmsg.data.supp_stats.eapol_frames_recv;
mib_stats->suppEapolFramesTx =
outmsg.data.supp_stats.eapol_frames_tx;
mib_stats->suppEapolStartFramesTx =
outmsg.data.supp_stats.eapol_start_frames_tx;
mib_stats->suppEapolLogoffFramesTx =
outmsg.data.supp_stats.eapol_logoff_frames_tx;
mib_stats->suppEapolRespIdFramesTx =
outmsg.data.supp_stats.eapol_resp_id_frames_tx;
mib_stats->suppEapolRespFramesTx =
outmsg.data.supp_stats.eapol_resp_frames_tx;
mib_stats->suppEapolReqIdFramesRx =
outmsg.data.supp_stats.eapol_req_id_frames_recv;
mib_stats->suppEapolReqFramesRx =
outmsg.data.supp_stats.eapol_req_frames_recv;
mib_stats->suppInvalidEapolFramesRx =
outmsg.data.supp_stats.eapol_invalid_frames_recv;
mib_stats->suppEapLengthErrorFramesRx =
outmsg.data.supp_stats.eapol_length_error_frames_recv;
mib_stats->suppLastEapolFrameVersion =
outmsg.data.supp_stats.eapol_last_frame_version;
ipcom_memcpy((char*)mib_stats->suppLastEapolFrameSource,
(char*)outmsg.data.supp_stats.eapol_last_frame_source_addr,ETHER_ADDR_LEN);
#else
IPCOM_LOG0(CRIT,"ip8021x_vxmib_var_access :: D1XM_VAR_SUPP_STATS_ENTRY: IP8021X stats not enabled!");
return ERROR;
#endif
break;
case D1XM_VAR_SuppHeldPeriod:
if(action == IP8021X_MIB_VAR_SET)
{
inmsg.subtype = IP8021X_IPD_DATAMSG_MIB_SUPP_HELD_PERIOD;
inmsg.data.supp_cfg.held_period = *(int*)value;
err = ipcom_ipd_datamsg(IP8021X_PROCESS_NAME,&inmsg,sizeof(inmsg),
&outmsg,sizeof(outmsg));
if((outmsg.ipd_msg.msgerr != IPCOM_SUCCESS) ||
(err != IPCOM_SUCCESS))
return ERROR;
}
else
{
err = ERROR;
}
break;
case D1XM_VAR_SuppAuthPeriod:
if(action == IP8021X_MIB_VAR_SET)
{
;
inmsg.subtype = IP8021X_IPD_DATAMSG_MIB_SUPP_AUTH_PERIOD;
inmsg.data.supp_cfg.auth_period = *(int*)value;
err = ipcom_ipd_datamsg(IP8021X_PROCESS_NAME,&inmsg,sizeof(inmsg),
&outmsg,sizeof(outmsg));
if((outmsg.ipd_msg.msgerr != IPCOM_SUCCESS) ||
(err != IPCOM_SUCCESS))
return ERROR;
}
else
{
err = ERROR;
}
break;
case D1XM_VAR_SuppStartPeriod:
if(action == IP8021X_MIB_VAR_SET)
{
inmsg.subtype = IP8021X_IPD_DATAMSG_MIB_SUPP_START_PERIOD;
inmsg.data.supp_cfg.start_period = *(int*)value;
err = ipcom_ipd_datamsg(IP8021X_PROCESS_NAME,&inmsg,sizeof(inmsg),
&outmsg,sizeof(outmsg));
if((outmsg.ipd_msg.msgerr != IPCOM_SUCCESS) ||
(err != IPCOM_SUCCESS))
return ERROR;
}
else
{
err = ERROR;
}
break;
case D1XM_VAR_SuppMaxStart:
if(action == IP8021X_MIB_VAR_SET)
{
inmsg.subtype = IP8021X_IPD_DATAMSG_MIB_SUPP_MAX_START;
inmsg.data.supp_cfg.max_start = *(int*)value;
err = ipcom_ipd_datamsg(IP8021X_PROCESS_NAME,&inmsg,sizeof(inmsg),
&outmsg,sizeof(outmsg));
if((outmsg.ipd_msg.msgerr != IPCOM_SUCCESS) ||
(err != IPCOM_SUCCESS))
return ERROR;
}
else
{
err = ERROR;
}
break;
default:
err = ERROR;
break;
}
return err;
}
@@ -0,0 +1,103 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -skel.h switch.
****
**** This file contains declarations of stub functions to aid in building
**** the agent MIB interface. It declares all the MIB get, set, test and
**** next method routines that you will need to supply. You'll probably
**** want to FORCE-INCLUDE this file when using the -mib.c output mode.
****
**** To generate the skeletal stub functions themselves, run the MIB compiler
**** with the -skel switch.
****
**** YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
**** BY REGENERATING IT WITH THE MIB COMPILER.
****
**** Last build date: Fri Apr 02 13:08:26 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/IANARtProto.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4022.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4113.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4292.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/ipnet.ctl
******************************************************************************
******************************************************************************
*/
void interfaces_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipForward_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void null_next_async(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void inetCidrRouteEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void inetCidrRouteEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void inetCidrRouteEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void inetCidrRouteEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipSystemStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipSystemStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipTrafficStats_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipTrafficStats_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipIfStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipIfStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressPrefixEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressPrefixEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6ScopeZoneIndexEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6ScopeZoneIndexEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipDefaultRouterEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipDefaultRouterEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpMsgStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpMsgStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnectionEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnectionEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnectionEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnectionEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpListenerEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpListenerEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udpEndpointEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udpEndpointEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpTest(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
@@ -0,0 +1,738 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -leaf switch.
****
**** This file #defines C preprocessor macros providing a variety of
**** information for the leaf objects in the MIB.
****
**** The file includes a LEAF_xxx macro for each leaf object in the
**** MIB (xxx is replaced by the object's name). The value of the
**** LEAF_xxx macro is the final component of the object's object
**** identifier.
****
**** If the object's SYNTAX clause included named INTEGER values,
**** then there is a VAL_xxx_yyy macro for each named value (xxx is
**** replaced by the object's name and yyy by the value's name). The
**** value of the VAL_xxx_yyy macro is the value associated with the
**** named value.
****
**** If the object's SYNTAX clause specified a set of range limitations
**** for the value of the object, then there are one or more sets of
**** MIN_xxx and MAX_xxx macros specifying the lower and upper bound of
**** each range limitation.
****
**** If the object's SYNTAX clause specified a set of size constraints
**** for the value of the object, then there are one or more sets of
**** MINSIZE_xxx and MAXSIZE_xxx macros specifying the lower and upper
**** bound of each size constraint. (If the size constraint is a single
**** value rather than a range then the MINSIZE_xxx and MAXSIZE_xxx
**** macros are replaced by a single SIZE_xxx macro.)
****
**** DO NOT MODIFY THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:26 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/IANARtProto.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4022.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4113.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4292.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/ipnet.ctl
******************************************************************************
******************************************************************************
*/
#define LEAF_ifNumber 1
#define LEAF_ifIndex 1
#define MIN_ifIndex 1L
#define MAX_ifIndex 2147483647L
#define LEAF_ifDescr 2
#define MINSIZE_ifDescr 0L
#define MAXSIZE_ifDescr 255L
#define LEAF_ifType 3
#define VAL_ifType_other 1L
#define VAL_ifType_regular1822 2L
#define VAL_ifType_hdh1822 3L
#define VAL_ifType_ddnX25 4L
#define VAL_ifType_rfc877x25 5L
#define VAL_ifType_ethernetCsmacd 6L
#define VAL_ifType_iso88023Csmacd 7L
#define VAL_ifType_iso88024TokenBus 8L
#define VAL_ifType_iso88025TokenRing 9L
#define VAL_ifType_iso88026Man 10L
#define VAL_ifType_starLan 11L
#define VAL_ifType_proteon10Mbit 12L
#define VAL_ifType_proteon80Mbit 13L
#define VAL_ifType_hyperchannel 14L
#define VAL_ifType_fddi 15L
#define VAL_ifType_lapb 16L
#define VAL_ifType_sdlc 17L
#define VAL_ifType_ds1 18L
#define VAL_ifType_e1 19L
#define VAL_ifType_basicISDN 20L
#define VAL_ifType_primaryISDN 21L
#define VAL_ifType_propPointToPointSerial 22L
#define VAL_ifType_ppp 23L
#define VAL_ifType_softwareLoopback 24L
#define VAL_ifType_eon 25L
#define VAL_ifType_ethernet3Mbit 26L
#define VAL_ifType_nsip 27L
#define VAL_ifType_slip 28L
#define VAL_ifType_ultra 29L
#define VAL_ifType_ds3 30L
#define VAL_ifType_sip 31L
#define VAL_ifType_frameRelay 32L
#define VAL_ifType_rs232 33L
#define VAL_ifType_para 34L
#define VAL_ifType_arcnet 35L
#define VAL_ifType_arcnetPlus 36L
#define VAL_ifType_atm 37L
#define VAL_ifType_miox25 38L
#define VAL_ifType_sonet 39L
#define VAL_ifType_x25ple 40L
#define VAL_ifType_iso88022llc 41L
#define VAL_ifType_localTalk 42L
#define VAL_ifType_smdsDxi 43L
#define VAL_ifType_frameRelayService 44L
#define VAL_ifType_v35 45L
#define VAL_ifType_hssi 46L
#define VAL_ifType_hippi 47L
#define VAL_ifType_modem 48L
#define VAL_ifType_aal5 49L
#define VAL_ifType_sonetPath 50L
#define VAL_ifType_sonetVT 51L
#define VAL_ifType_smdsIcip 52L
#define VAL_ifType_propVirtual 53L
#define VAL_ifType_propMultiplexor 54L
#define LEAF_ifMtu 4
#define LEAF_ifSpeed 5
#define LEAF_ifPhysAddress 6
#define LEAF_ifAdminStatus 7
#define VAL_ifAdminStatus_up 1L
#define VAL_ifAdminStatus_down 2L
#define VAL_ifAdminStatus_testing 3L
#define LEAF_ifOperStatus 8
#define VAL_ifOperStatus_up 1L
#define VAL_ifOperStatus_down 2L
#define VAL_ifOperStatus_testing 3L
#define VAL_ifOperStatus_unknown 4L
#define VAL_ifOperStatus_dormant 5L
#define VAL_ifOperStatus_notPresent 6L
#define VAL_ifOperStatus_lowerLayerDown 7L
#define LEAF_ifLastChange 9
#define LEAF_ifInOctets 10
#define LEAF_ifInUcastPkts 11
#define LEAF_ifInDiscards 13
#define LEAF_ifInErrors 14
#define LEAF_ifInUnknownProtos 15
#define LEAF_ifOutOctets 16
#define LEAF_ifOutUcastPkts 17
#define LEAF_ifOutDiscards 19
#define LEAF_ifOutErrors 20
#define LEAF_ipForwarding 1
#define VAL_ipForwarding_forwarding 1L
#define VAL_ipForwarding_notForwarding 2L
#define LEAF_ipDefaultTTL 2
#define MIN_ipDefaultTTL 1L
#define MAX_ipDefaultTTL 255L
#define LEAF_ipReasmTimeout 13
#define LEAF_inetCidrRouteNumber 6
#define LEAF_inetCidrRouteDestType 1
#define VAL_inetCidrRouteDestType_unknown 0L
#define VAL_inetCidrRouteDestType_ipv4 1L
#define VAL_inetCidrRouteDestType_ipv6 2L
#define VAL_inetCidrRouteDestType_ipv4z 3L
#define VAL_inetCidrRouteDestType_ipv6z 4L
#define VAL_inetCidrRouteDestType_dns 16L
#define LEAF_inetCidrRouteDest 2
#define MINSIZE_inetCidrRouteDest 0L
#define MAXSIZE_inetCidrRouteDest 255L
#define LEAF_inetCidrRoutePfxLen 3
#define MIN_inetCidrRoutePfxLen 0L
#define MAX_inetCidrRoutePfxLen 2040L
#define LEAF_inetCidrRoutePolicy 4
#define LEAF_inetCidrRouteNextHopType 5
#define VAL_inetCidrRouteNextHopType_unknown 0L
#define VAL_inetCidrRouteNextHopType_ipv4 1L
#define VAL_inetCidrRouteNextHopType_ipv6 2L
#define VAL_inetCidrRouteNextHopType_ipv4z 3L
#define VAL_inetCidrRouteNextHopType_ipv6z 4L
#define VAL_inetCidrRouteNextHopType_dns 16L
#define LEAF_inetCidrRouteNextHop 6
#define MINSIZE_inetCidrRouteNextHop 0L
#define MAXSIZE_inetCidrRouteNextHop 255L
#define LEAF_inetCidrRouteIfIndex 7
#define MIN_inetCidrRouteIfIndex 0L
#define MAX_inetCidrRouteIfIndex 2147483647L
#define LEAF_inetCidrRouteType 8
#define VAL_inetCidrRouteType_other 1L
#define VAL_inetCidrRouteType_reject 2L
#define VAL_inetCidrRouteType_local 3L
#define VAL_inetCidrRouteType_remote 4L
#define VAL_inetCidrRouteType_blackhole 5L
#define LEAF_inetCidrRouteProto 9
#define VAL_inetCidrRouteProto_other 1L
#define VAL_inetCidrRouteProto_local 2L
#define VAL_inetCidrRouteProto_netmgmt 3L
#define VAL_inetCidrRouteProto_icmp 4L
#define VAL_inetCidrRouteProto_egp 5L
#define VAL_inetCidrRouteProto_ggp 6L
#define VAL_inetCidrRouteProto_hello 7L
#define VAL_inetCidrRouteProto_rip 8L
#define VAL_inetCidrRouteProto_isIs 9L
#define VAL_inetCidrRouteProto_esIs 10L
#define VAL_inetCidrRouteProto_ciscoIgrp 11L
#define VAL_inetCidrRouteProto_bbnSpfIgp 12L
#define VAL_inetCidrRouteProto_ospf 13L
#define VAL_inetCidrRouteProto_bgp 14L
#define VAL_inetCidrRouteProto_idpr 15L
#define VAL_inetCidrRouteProto_ciscoEigrp 16L
#define VAL_inetCidrRouteProto_dvmrp 17L
#define LEAF_inetCidrRouteAge 10
#define LEAF_inetCidrRouteNextHopAS 11
#define LEAF_inetCidrRouteMetric1 12
#define LEAF_inetCidrRouteMetric2 13
#define LEAF_inetCidrRouteMetric3 14
#define LEAF_inetCidrRouteMetric4 15
#define LEAF_inetCidrRouteMetric5 16
#define LEAF_inetCidrRouteStatus 17
#define VAL_inetCidrRouteStatus_active 1L
#define VAL_inetCidrRouteStatus_notInService 2L
#define VAL_inetCidrRouteStatus_notReady 3L
#define VAL_inetCidrRouteStatus_createAndGo 4L
#define VAL_inetCidrRouteStatus_createAndWait 5L
#define VAL_inetCidrRouteStatus_destroy 6L
#define LEAF_inetCidrRouteDiscards 8
#define LEAF_ipv6IpForwarding 25
#define VAL_ipv6IpForwarding_forwarding 1L
#define VAL_ipv6IpForwarding_notForwarding 2L
#define LEAF_ipv6IpDefaultHopLimit 26
#define MIN_ipv6IpDefaultHopLimit 0L
#define MAX_ipv6IpDefaultHopLimit 255L
#define LEAF_ipv4InterfaceTableLastChange 27
#define LEAF_ipv4InterfaceIfIndex 1
#define MIN_ipv4InterfaceIfIndex 1L
#define MAX_ipv4InterfaceIfIndex 2147483647L
#define LEAF_ipv4InterfaceReasmMaxSize 2
#define MIN_ipv4InterfaceReasmMaxSize 0L
#define MAX_ipv4InterfaceReasmMaxSize 65535L
#define LEAF_ipv4InterfaceEnableStatus 3
#define VAL_ipv4InterfaceEnableStatus_up 1L
#define VAL_ipv4InterfaceEnableStatus_down 2L
#define LEAF_ipv4InterfaceRetransmitTime 4
#define LEAF_ipv6InterfaceTableLastChange 29
#define LEAF_ipv6InterfaceIfIndex 1
#define MIN_ipv6InterfaceIfIndex 1L
#define MAX_ipv6InterfaceIfIndex 2147483647L
#define LEAF_ipv6InterfaceReasmMaxSize 2
#define MIN_ipv6InterfaceReasmMaxSize 1500L
#define MAX_ipv6InterfaceReasmMaxSize 65535L
#define LEAF_ipv6InterfaceIdentifier 3
#define MINSIZE_ipv6InterfaceIdentifier 0L
#define MAXSIZE_ipv6InterfaceIdentifier 8L
#define LEAF_ipv6InterfaceEnableStatus 5
#define VAL_ipv6InterfaceEnableStatus_up 1L
#define VAL_ipv6InterfaceEnableStatus_down 2L
#define LEAF_ipv6InterfaceReachableTime 6
#define LEAF_ipv6InterfaceRetransmitTime 7
#define LEAF_ipv6InterfaceForwarding 8
#define VAL_ipv6InterfaceForwarding_forwarding 1L
#define VAL_ipv6InterfaceForwarding_notForwarding 2L
#define LEAF_ipSystemStatsIPVersion 1
#define VAL_ipSystemStatsIPVersion_unknown 0L
#define VAL_ipSystemStatsIPVersion_ipv4 1L
#define VAL_ipSystemStatsIPVersion_ipv6 2L
#define LEAF_ipSystemStatsInReceives 3
#define LEAF_ipSystemStatsHCInReceives 4
#define LEAF_ipSystemStatsInOctets 5
#define LEAF_ipSystemStatsHCInOctets 6
#define LEAF_ipSystemStatsInHdrErrors 7
#define LEAF_ipSystemStatsInNoRoutes 8
#define LEAF_ipSystemStatsInAddrErrors 9
#define LEAF_ipSystemStatsInUnknownProtos 10
#define LEAF_ipSystemStatsInTruncatedPkts 11
#define LEAF_ipSystemStatsInForwDatagrams 12
#define LEAF_ipSystemStatsHCInForwDatagrams 13
#define LEAF_ipSystemStatsReasmReqds 14
#define LEAF_ipSystemStatsReasmOKs 15
#define LEAF_ipSystemStatsReasmFails 16
#define LEAF_ipSystemStatsInDiscards 17
#define LEAF_ipSystemStatsInDelivers 18
#define LEAF_ipSystemStatsHCInDelivers 19
#define LEAF_ipSystemStatsOutRequests 20
#define LEAF_ipSystemStatsHCOutRequests 21
#define LEAF_ipSystemStatsOutNoRoutes 22
#define LEAF_ipSystemStatsOutForwDatagrams 23
#define LEAF_ipSystemStatsHCOutForwDatagrams 24
#define LEAF_ipSystemStatsOutDiscards 25
#define LEAF_ipSystemStatsOutFragReqds 26
#define LEAF_ipSystemStatsOutFragOKs 27
#define LEAF_ipSystemStatsOutFragFails 28
#define LEAF_ipSystemStatsOutFragCreates 29
#define LEAF_ipSystemStatsOutTransmits 30
#define LEAF_ipSystemStatsHCOutTransmits 31
#define LEAF_ipSystemStatsOutOctets 32
#define LEAF_ipSystemStatsHCOutOctets 33
#define LEAF_ipSystemStatsInMcastPkts 34
#define LEAF_ipSystemStatsHCInMcastPkts 35
#define LEAF_ipSystemStatsInMcastOctets 36
#define LEAF_ipSystemStatsHCInMcastOctets 37
#define LEAF_ipSystemStatsOutMcastPkts 38
#define LEAF_ipSystemStatsHCOutMcastPkts 39
#define LEAF_ipSystemStatsOutMcastOctets 40
#define LEAF_ipSystemStatsHCOutMcastOctets 41
#define LEAF_ipSystemStatsInBcastPkts 42
#define LEAF_ipSystemStatsHCInBcastPkts 43
#define LEAF_ipSystemStatsOutBcastPkts 44
#define LEAF_ipSystemStatsHCOutBcastPkts 45
#define LEAF_ipSystemStatsDiscontinuityTime 46
#define LEAF_ipSystemStatsRefreshRate 47
#define LEAF_ipIfStatsTableLastChange 2
#define LEAF_ipIfStatsIPVersion 1
#define VAL_ipIfStatsIPVersion_unknown 0L
#define VAL_ipIfStatsIPVersion_ipv4 1L
#define VAL_ipIfStatsIPVersion_ipv6 2L
#define LEAF_ipIfStatsIfIndex 2
#define MIN_ipIfStatsIfIndex 1L
#define MAX_ipIfStatsIfIndex 2147483647L
#define LEAF_ipIfStatsInReceives 3
#define LEAF_ipIfStatsHCInReceives 4
#define LEAF_ipIfStatsInOctets 5
#define LEAF_ipIfStatsHCInOctets 6
#define LEAF_ipIfStatsInHdrErrors 7
#define LEAF_ipIfStatsInNoRoutes 8
#define LEAF_ipIfStatsInAddrErrors 9
#define LEAF_ipIfStatsInUnknownProtos 10
#define LEAF_ipIfStatsInTruncatedPkts 11
#define LEAF_ipIfStatsInForwDatagrams 12
#define LEAF_ipIfStatsHCInForwDatagrams 13
#define LEAF_ipIfStatsReasmReqds 14
#define LEAF_ipIfStatsReasmOKs 15
#define LEAF_ipIfStatsReasmFails 16
#define LEAF_ipIfStatsInDiscards 17
#define LEAF_ipIfStatsInDelivers 18
#define LEAF_ipIfStatsHCInDelivers 19
#define LEAF_ipIfStatsOutRequests 20
#define LEAF_ipIfStatsHCOutRequests 21
#define LEAF_ipIfStatsOutForwDatagrams 23
#define LEAF_ipIfStatsHCOutForwDatagrams 24
#define LEAF_ipIfStatsOutDiscards 25
#define LEAF_ipIfStatsOutFragReqds 26
#define LEAF_ipIfStatsOutFragOKs 27
#define LEAF_ipIfStatsOutFragFails 28
#define LEAF_ipIfStatsOutFragCreates 29
#define LEAF_ipIfStatsOutTransmits 30
#define LEAF_ipIfStatsHCOutTransmits 31
#define LEAF_ipIfStatsOutOctets 32
#define LEAF_ipIfStatsHCOutOctets 33
#define LEAF_ipIfStatsInMcastPkts 34
#define LEAF_ipIfStatsHCInMcastPkts 35
#define LEAF_ipIfStatsInMcastOctets 36
#define LEAF_ipIfStatsHCInMcastOctets 37
#define LEAF_ipIfStatsOutMcastPkts 38
#define LEAF_ipIfStatsHCOutMcastPkts 39
#define LEAF_ipIfStatsOutMcastOctets 40
#define LEAF_ipIfStatsHCOutMcastOctets 41
#define LEAF_ipIfStatsInBcastPkts 42
#define LEAF_ipIfStatsHCInBcastPkts 43
#define LEAF_ipIfStatsOutBcastPkts 44
#define LEAF_ipIfStatsHCOutBcastPkts 45
#define LEAF_ipIfStatsDiscontinuityTime 46
#define LEAF_ipIfStatsRefreshRate 47
#define LEAF_ipAddressPrefixIfIndex 1
#define MIN_ipAddressPrefixIfIndex 1L
#define MAX_ipAddressPrefixIfIndex 2147483647L
#define LEAF_ipAddressPrefixType 2
#define VAL_ipAddressPrefixType_unknown 0L
#define VAL_ipAddressPrefixType_ipv4 1L
#define VAL_ipAddressPrefixType_ipv6 2L
#define VAL_ipAddressPrefixType_ipv4z 3L
#define VAL_ipAddressPrefixType_ipv6z 4L
#define VAL_ipAddressPrefixType_dns 16L
#define LEAF_ipAddressPrefixPrefix 3
#define MINSIZE_ipAddressPrefixPrefix 0L
#define MAXSIZE_ipAddressPrefixPrefix 255L
#define LEAF_ipAddressPrefixLength 4
#define MIN_ipAddressPrefixLength 0L
#define MAX_ipAddressPrefixLength 2040L
#define LEAF_ipAddressPrefixOrigin 5
#define VAL_ipAddressPrefixOrigin_other 1L
#define VAL_ipAddressPrefixOrigin_manual 2L
#define VAL_ipAddressPrefixOrigin_wellknown 3L
#define VAL_ipAddressPrefixOrigin_dhcp 4L
#define VAL_ipAddressPrefixOrigin_routeradv 5L
#define LEAF_ipAddressPrefixOnLinkFlag 6
#define VAL_ipAddressPrefixOnLinkFlag_true 1L
#define VAL_ipAddressPrefixOnLinkFlag_false 2L
#define LEAF_ipAddressPrefixAutonomousFlag 7
#define VAL_ipAddressPrefixAutonomousFlag_true 1L
#define VAL_ipAddressPrefixAutonomousFlag_false 2L
#define LEAF_ipAddressPrefixAdvPreferredLifetime 8
#define LEAF_ipAddressPrefixAdvValidLifetime 9
#define LEAF_ipAddressSpinLock 33
#define MIN_ipAddressSpinLock 0L
#define MAX_ipAddressSpinLock 2147483647L
#define LEAF_ipAddressAddrType 1
#define VAL_ipAddressAddrType_unknown 0L
#define VAL_ipAddressAddrType_ipv4 1L
#define VAL_ipAddressAddrType_ipv6 2L
#define VAL_ipAddressAddrType_ipv4z 3L
#define VAL_ipAddressAddrType_ipv6z 4L
#define VAL_ipAddressAddrType_dns 16L
#define LEAF_ipAddressAddr 2
#define MINSIZE_ipAddressAddr 0L
#define MAXSIZE_ipAddressAddr 255L
#define LEAF_ipAddressIfIndex 3
#define MIN_ipAddressIfIndex 1L
#define MAX_ipAddressIfIndex 2147483647L
#define LEAF_ipAddressType 4
#define VAL_ipAddressType_unicast 1L
#define VAL_ipAddressType_anycast 2L
#define VAL_ipAddressType_broadcast 3L
#define LEAF_ipAddressPrefix 5
#define LEAF_ipAddressOrigin 6
#define VAL_ipAddressOrigin_other 1L
#define VAL_ipAddressOrigin_manual 2L
#define VAL_ipAddressOrigin_dhcp 4L
#define VAL_ipAddressOrigin_linklayer 5L
#define VAL_ipAddressOrigin_random 6L
#define LEAF_ipAddressStatus 7
#define VAL_ipAddressStatus_preferred 1L
#define VAL_ipAddressStatus_deprecated 2L
#define VAL_ipAddressStatus_invalid 3L
#define VAL_ipAddressStatus_inaccessible 4L
#define VAL_ipAddressStatus_unknown 5L
#define VAL_ipAddressStatus_tentative 6L
#define VAL_ipAddressStatus_duplicate 7L
#define VAL_ipAddressStatus_optimistic 8L
#define LEAF_ipAddressCreated 8
#define LEAF_ipAddressLastChanged 9
#define LEAF_ipAddressRowStatus 10
#define VAL_ipAddressRowStatus_active 1L
#define VAL_ipAddressRowStatus_notInService 2L
#define VAL_ipAddressRowStatus_notReady 3L
#define VAL_ipAddressRowStatus_createAndGo 4L
#define VAL_ipAddressRowStatus_createAndWait 5L
#define VAL_ipAddressRowStatus_destroy 6L
#define LEAF_ipAddressStorageType 11
#define VAL_ipAddressStorageType_other 1L
#define VAL_ipAddressStorageType_volatile 2L
#define VAL_ipAddressStorageType_nonVolatile 3L
#define VAL_ipAddressStorageType_permanent 4L
#define VAL_ipAddressStorageType_readOnly 5L
#define LEAF_ipNetToPhysicalIfIndex 1
#define MIN_ipNetToPhysicalIfIndex 1L
#define MAX_ipNetToPhysicalIfIndex 2147483647L
#define LEAF_ipNetToPhysicalNetAddressType 2
#define VAL_ipNetToPhysicalNetAddressType_unknown 0L
#define VAL_ipNetToPhysicalNetAddressType_ipv4 1L
#define VAL_ipNetToPhysicalNetAddressType_ipv6 2L
#define VAL_ipNetToPhysicalNetAddressType_ipv4z 3L
#define VAL_ipNetToPhysicalNetAddressType_ipv6z 4L
#define VAL_ipNetToPhysicalNetAddressType_dns 16L
#define LEAF_ipNetToPhysicalNetAddress 3
#define MINSIZE_ipNetToPhysicalNetAddress 0L
#define MAXSIZE_ipNetToPhysicalNetAddress 255L
#define LEAF_ipNetToPhysicalPhysAddress 4
#define MINSIZE_ipNetToPhysicalPhysAddress 0L
#define MAXSIZE_ipNetToPhysicalPhysAddress 65535L
#define LEAF_ipNetToPhysicalLastUpdated 5
#define LEAF_ipNetToPhysicalType 6
#define VAL_ipNetToPhysicalType_other 1L
#define VAL_ipNetToPhysicalType_invalid 2L
#define VAL_ipNetToPhysicalType_dynamic 3L
#define VAL_ipNetToPhysicalType_static 4L
#define VAL_ipNetToPhysicalType_local 5L
#define LEAF_ipNetToPhysicalState 7
#define VAL_ipNetToPhysicalState_reachable 1L
#define VAL_ipNetToPhysicalState_stale 2L
#define VAL_ipNetToPhysicalState_delay 3L
#define VAL_ipNetToPhysicalState_probe 4L
#define VAL_ipNetToPhysicalState_invalid 5L
#define VAL_ipNetToPhysicalState_unknown 6L
#define VAL_ipNetToPhysicalState_incomplete 7L
#define LEAF_ipNetToPhysicalRowStatus 8
#define VAL_ipNetToPhysicalRowStatus_active 1L
#define VAL_ipNetToPhysicalRowStatus_notInService 2L
#define VAL_ipNetToPhysicalRowStatus_notReady 3L
#define VAL_ipNetToPhysicalRowStatus_createAndGo 4L
#define VAL_ipNetToPhysicalRowStatus_createAndWait 5L
#define VAL_ipNetToPhysicalRowStatus_destroy 6L
#define LEAF_ipv6ScopeZoneIndexIfIndex 1
#define MIN_ipv6ScopeZoneIndexIfIndex 1L
#define MAX_ipv6ScopeZoneIndexIfIndex 2147483647L
#define LEAF_ipv6ScopeZoneIndexLinkLocal 2
#define LEAF_ipv6ScopeZoneIndex3 3
#define LEAF_ipv6ScopeZoneIndexAdminLocal 4
#define LEAF_ipv6ScopeZoneIndexSiteLocal 5
#define LEAF_ipv6ScopeZoneIndex6 6
#define LEAF_ipv6ScopeZoneIndex7 7
#define LEAF_ipv6ScopeZoneIndexOrganizationLocal 8
#define LEAF_ipv6ScopeZoneIndex9 9
#define LEAF_ipv6ScopeZoneIndexA 10
#define LEAF_ipv6ScopeZoneIndexB 11
#define LEAF_ipv6ScopeZoneIndexC 12
#define LEAF_ipv6ScopeZoneIndexD 13
#define LEAF_ipDefaultRouterAddressType 1
#define VAL_ipDefaultRouterAddressType_unknown 0L
#define VAL_ipDefaultRouterAddressType_ipv4 1L
#define VAL_ipDefaultRouterAddressType_ipv6 2L
#define VAL_ipDefaultRouterAddressType_ipv4z 3L
#define VAL_ipDefaultRouterAddressType_ipv6z 4L
#define VAL_ipDefaultRouterAddressType_dns 16L
#define LEAF_ipDefaultRouterAddress 2
#define MINSIZE_ipDefaultRouterAddress 0L
#define MAXSIZE_ipDefaultRouterAddress 255L
#define LEAF_ipDefaultRouterIfIndex 3
#define MIN_ipDefaultRouterIfIndex 1L
#define MAX_ipDefaultRouterIfIndex 2147483647L
#define LEAF_ipDefaultRouterLifetime 4
#define MIN_ipDefaultRouterLifetime 0L
#define MAX_ipDefaultRouterLifetime 65535L
#define LEAF_ipDefaultRouterPreference 5
#define VAL_ipDefaultRouterPreference_reserved -2L
#define VAL_ipDefaultRouterPreference_low -1L
#define VAL_ipDefaultRouterPreference_medium 0L
#define VAL_ipDefaultRouterPreference_high 1L
#define LEAF_ipv6RouterAdvertSpinLock 38
#define MIN_ipv6RouterAdvertSpinLock 0L
#define MAX_ipv6RouterAdvertSpinLock 2147483647L
#define LEAF_ipv6RouterAdvertIfIndex 1
#define MIN_ipv6RouterAdvertIfIndex 1L
#define MAX_ipv6RouterAdvertIfIndex 2147483647L
#define LEAF_ipv6RouterAdvertSendAdverts 2
#define VAL_ipv6RouterAdvertSendAdverts_true 1L
#define VAL_ipv6RouterAdvertSendAdverts_false 2L
#define LEAF_ipv6RouterAdvertMaxInterval 3
#define MIN_ipv6RouterAdvertMaxInterval 4L
#define MAX_ipv6RouterAdvertMaxInterval 1800L
#define LEAF_ipv6RouterAdvertMinInterval 4
#define MIN_ipv6RouterAdvertMinInterval 3L
#define MAX_ipv6RouterAdvertMinInterval 1350L
#define LEAF_ipv6RouterAdvertManagedFlag 5
#define VAL_ipv6RouterAdvertManagedFlag_true 1L
#define VAL_ipv6RouterAdvertManagedFlag_false 2L
#define LEAF_ipv6RouterAdvertOtherConfigFlag 6
#define VAL_ipv6RouterAdvertOtherConfigFlag_true 1L
#define VAL_ipv6RouterAdvertOtherConfigFlag_false 2L
#define LEAF_ipv6RouterAdvertLinkMTU 7
#define LEAF_ipv6RouterAdvertReachableTime 8
#define MIN_ipv6RouterAdvertReachableTime 0L
#define MAX_ipv6RouterAdvertReachableTime 3600000L
#define LEAF_ipv6RouterAdvertRetransmitTime 9
#define LEAF_ipv6RouterAdvertCurHopLimit 10
#define MIN_ipv6RouterAdvertCurHopLimit 0L
#define MAX_ipv6RouterAdvertCurHopLimit 255L
#define LEAF_ipv6RouterAdvertDefaultLifetime 11
#define MIN_ipv6RouterAdvertDefaultLifetime_1 0L
#define MAX_ipv6RouterAdvertDefaultLifetime_1 0L
#define MIN_ipv6RouterAdvertDefaultLifetime_2 4L
#define MAX_ipv6RouterAdvertDefaultLifetime_2 9000L
#define LEAF_ipv6RouterAdvertRowStatus 12
#define VAL_ipv6RouterAdvertRowStatus_active 1L
#define VAL_ipv6RouterAdvertRowStatus_notInService 2L
#define VAL_ipv6RouterAdvertRowStatus_notReady 3L
#define VAL_ipv6RouterAdvertRowStatus_createAndGo 4L
#define VAL_ipv6RouterAdvertRowStatus_createAndWait 5L
#define VAL_ipv6RouterAdvertRowStatus_destroy 6L
#define LEAF_icmpStatsIPVersion 1
#define VAL_icmpStatsIPVersion_unknown 0L
#define VAL_icmpStatsIPVersion_ipv4 1L
#define VAL_icmpStatsIPVersion_ipv6 2L
#define LEAF_icmpStatsInMsgs 2
#define LEAF_icmpStatsInErrors 3
#define LEAF_icmpStatsOutMsgs 4
#define LEAF_icmpStatsOutErrors 5
#define LEAF_icmpMsgStatsIPVersion 1
#define VAL_icmpMsgStatsIPVersion_unknown 0L
#define VAL_icmpMsgStatsIPVersion_ipv4 1L
#define VAL_icmpMsgStatsIPVersion_ipv6 2L
#define LEAF_icmpMsgStatsType 2
#define MIN_icmpMsgStatsType 0L
#define MAX_icmpMsgStatsType 255L
#define LEAF_icmpMsgStatsInPkts 3
#define LEAF_icmpMsgStatsOutPkts 4
#define LEAF_tcpRtoAlgorithm 1
#define VAL_tcpRtoAlgorithm_other 1L
#define VAL_tcpRtoAlgorithm_constant 2L
#define VAL_tcpRtoAlgorithm_rsre 3L
#define VAL_tcpRtoAlgorithm_vanj 4L
#define VAL_tcpRtoAlgorithm_rfc2988 5L
#define LEAF_tcpRtoMin 2
#define MIN_tcpRtoMin 0L
#define MAX_tcpRtoMin 2147483647L
#define LEAF_tcpRtoMax 3
#define MIN_tcpRtoMax 0L
#define MAX_tcpRtoMax 2147483647L
#define LEAF_tcpMaxConn 4
#define MIN_tcpMaxConn -1L
#define MAX_tcpMaxConn 2147483647L
#define LEAF_tcpActiveOpens 5
#define LEAF_tcpPassiveOpens 6
#define LEAF_tcpAttemptFails 7
#define LEAF_tcpEstabResets 8
#define LEAF_tcpCurrEstab 9
#define LEAF_tcpInSegs 10
#define LEAF_tcpOutSegs 11
#define LEAF_tcpRetransSegs 12
#define LEAF_tcpInErrs 14
#define LEAF_tcpOutRsts 15
#define LEAF_tcpHCInSegs 17
#define LEAF_tcpHCOutSegs 18
#define LEAF_tcpConnectionLocalAddressType 1
#define VAL_tcpConnectionLocalAddressType_unknown 0L
#define VAL_tcpConnectionLocalAddressType_ipv4 1L
#define VAL_tcpConnectionLocalAddressType_ipv6 2L
#define VAL_tcpConnectionLocalAddressType_ipv4z 3L
#define VAL_tcpConnectionLocalAddressType_ipv6z 4L
#define VAL_tcpConnectionLocalAddressType_dns 16L
#define LEAF_tcpConnectionLocalAddress 2
#define MINSIZE_tcpConnectionLocalAddress 0L
#define MAXSIZE_tcpConnectionLocalAddress 255L
#define LEAF_tcpConnectionLocalPort 3
#define MIN_tcpConnectionLocalPort 0L
#define MAX_tcpConnectionLocalPort 65535L
#define LEAF_tcpConnectionRemAddressType 4
#define VAL_tcpConnectionRemAddressType_unknown 0L
#define VAL_tcpConnectionRemAddressType_ipv4 1L
#define VAL_tcpConnectionRemAddressType_ipv6 2L
#define VAL_tcpConnectionRemAddressType_ipv4z 3L
#define VAL_tcpConnectionRemAddressType_ipv6z 4L
#define VAL_tcpConnectionRemAddressType_dns 16L
#define LEAF_tcpConnectionRemAddress 5
#define MINSIZE_tcpConnectionRemAddress 0L
#define MAXSIZE_tcpConnectionRemAddress 255L
#define LEAF_tcpConnectionRemPort 6
#define MIN_tcpConnectionRemPort 0L
#define MAX_tcpConnectionRemPort 65535L
#define LEAF_tcpConnectionState 7
#define VAL_tcpConnectionState_closed 1L
#define VAL_tcpConnectionState_listen 2L
#define VAL_tcpConnectionState_synSent 3L
#define VAL_tcpConnectionState_synReceived 4L
#define VAL_tcpConnectionState_established 5L
#define VAL_tcpConnectionState_finWait1 6L
#define VAL_tcpConnectionState_finWait2 7L
#define VAL_tcpConnectionState_closeWait 8L
#define VAL_tcpConnectionState_lastAck 9L
#define VAL_tcpConnectionState_closing 10L
#define VAL_tcpConnectionState_timeWait 11L
#define VAL_tcpConnectionState_deleteTCB 12L
#define LEAF_tcpConnectionProcess 8
#define LEAF_tcpListenerLocalAddressType 1
#define VAL_tcpListenerLocalAddressType_unknown 0L
#define VAL_tcpListenerLocalAddressType_ipv4 1L
#define VAL_tcpListenerLocalAddressType_ipv6 2L
#define VAL_tcpListenerLocalAddressType_ipv4z 3L
#define VAL_tcpListenerLocalAddressType_ipv6z 4L
#define VAL_tcpListenerLocalAddressType_dns 16L
#define LEAF_tcpListenerLocalAddress 2
#define MINSIZE_tcpListenerLocalAddress 0L
#define MAXSIZE_tcpListenerLocalAddress 255L
#define LEAF_tcpListenerLocalPort 3
#define MIN_tcpListenerLocalPort 0L
#define MAX_tcpListenerLocalPort 65535L
#define LEAF_tcpListenerProcess 4
#define LEAF_udpInDatagrams 1
#define LEAF_udpNoPorts 2
#define LEAF_udpInErrors 3
#define LEAF_udpOutDatagrams 4
#define LEAF_udpEndpointLocalAddressType 1
#define VAL_udpEndpointLocalAddressType_unknown 0L
#define VAL_udpEndpointLocalAddressType_ipv4 1L
#define VAL_udpEndpointLocalAddressType_ipv6 2L
#define VAL_udpEndpointLocalAddressType_ipv4z 3L
#define VAL_udpEndpointLocalAddressType_ipv6z 4L
#define VAL_udpEndpointLocalAddressType_dns 16L
#define LEAF_udpEndpointLocalAddress 2
#define MINSIZE_udpEndpointLocalAddress 0L
#define MAXSIZE_udpEndpointLocalAddress 255L
#define LEAF_udpEndpointLocalPort 3
#define MIN_udpEndpointLocalPort 0L
#define MAX_udpEndpointLocalPort 65535L
#define LEAF_udpEndpointRemoteAddressType 4
#define VAL_udpEndpointRemoteAddressType_unknown 0L
#define VAL_udpEndpointRemoteAddressType_ipv4 1L
#define VAL_udpEndpointRemoteAddressType_ipv6 2L
#define VAL_udpEndpointRemoteAddressType_ipv4z 3L
#define VAL_udpEndpointRemoteAddressType_ipv6z 4L
#define VAL_udpEndpointRemoteAddressType_dns 16L
#define LEAF_udpEndpointRemoteAddress 5
#define MINSIZE_udpEndpointRemoteAddress 0L
#define MAXSIZE_udpEndpointRemoteAddress 255L
#define LEAF_udpEndpointRemotePort 6
#define MIN_udpEndpointRemotePort 0L
#define MAX_udpEndpointRemotePort 65535L
#define LEAF_udpEndpointInstance 7
#define MIN_udpEndpointInstance 1L
#define MAX_udpEndpointInstance 4294967295L
#define LEAF_udpEndpointProcess 8
#define LEAF_udpHCInDatagrams 8
#define LEAF_udpHCOutDatagrams 9
#define LEAF_snmpInPkts 1
#define LEAF_snmpOutPkts 2
#define LEAF_snmpInBadVersions 3
#define LEAF_snmpInBadCommunityNames 4
#define LEAF_snmpInBadCommunityUses 5
#define LEAF_snmpInASNParseErrs 6
#define LEAF_snmpInTooBigs 8
#define LEAF_snmpInNoSuchNames 9
#define LEAF_snmpInBadValues 10
#define LEAF_snmpInReadOnlys 11
#define LEAF_snmpInGenErrs 12
#define LEAF_snmpInTotalReqVars 13
#define LEAF_snmpInTotalSetVars 14
#define LEAF_snmpInGetRequests 15
#define LEAF_snmpInGetNexts 16
#define LEAF_snmpInSetRequests 17
#define LEAF_snmpInGetResponses 18
#define LEAF_snmpInTraps 19
#define LEAF_snmpOutTooBigs 20
#define LEAF_snmpOutNoSuchNames 21
#define LEAF_snmpOutBadValues 22
#define LEAF_snmpOutGenErrs 24
#define LEAF_snmpOutGetRequests 25
#define LEAF_snmpOutGetNexts 26
#define LEAF_snmpOutSetRequests 27
#define LEAF_snmpOutGetResponses 28
#define LEAF_snmpOutTraps 29
#define LEAF_snmpEnableAuthenTraps 30
#define VAL_snmpEnableAuthenTraps_enabled 1L
#define VAL_snmpEnableAuthenTraps_disabled 2L
#define LEAF_snmpSilentDrops 31
#define LEAF_snmpProxyDrops 32
#define LEAF_ifName 1
#define MINSIZE_ifName 0L
#define MAXSIZE_ifName 255L
#define LEAF_ifInMulticastPkts 2
#define LEAF_ifInBroadcastPkts 3
#define LEAF_ifOutMulticastPkts 4
#define LEAF_ifOutBroadcastPkts 5
#define LEAF_ifLinkUpDownTrapEnable 14
#define VAL_ifLinkUpDownTrapEnable_enabled 1L
#define VAL_ifLinkUpDownTrapEnable_disabled 2L
#define LEAF_ifHighSpeed 15
#define LEAF_ifPromiscuousMode 16
#define VAL_ifPromiscuousMode_true 1L
#define VAL_ifPromiscuousMode_false 2L
#define LEAF_ifConnectorPresent 17
#define VAL_ifConnectorPresent_true 1L
#define VAL_ifConnectorPresent_false 2L
#define LEAF_ifAlias 18
#define MINSIZE_ifAlias 0L
#define MAXSIZE_ifAlias 64L
#define LEAF_ifCounterDiscontinuityTime 19
#define LEAF_ifTableLastChange 5
#define LEAF_snmpTrapOID 1
#define LEAF_snmpTrapEnterprise 3
#define LEAF_snmpSetSerialNo 1
#define MIN_snmpSetSerialNo 0L
#define MAX_snmpSetSerialNo 2147483647L
@@ -0,0 +1,47 @@
/*
* Copyright 2006-2007 Wind River Systems, Inc.
* All rights reserved. Provided under license only.
* Distribution or other use of this software is only
* permitted pursuant to the terms of a license agreement
* from Wind River Systems (and is otherwise prohibited).
* Refer to that license agreement for terms of use.
*/
/* ip_mth.h - structures and data for the IP group */
/*
modification history
--------------------
*/
#include <wrn/wm/snmp/engine/asn1conf.h>
#include <wrn/wm/snmp/engine/asn1.h>
#include <wrn/wm/snmp/engine/buffer.h>
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/localio.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmp.h>
#include <wrn/wm/snmp/engine/auxfuncs.h>
#include <wrn/wm/snmp/vxagent/mibleaf.h>
#include <ipnet_config.h>
#include <ipnet_h.h>
#include <ipcom_route.h>
#define ipNetToMediaEntry_INSTANCE_LEN 5
#define ipCidrRouteEntry_INSTANCE_LEN 13
#define ipv6RouteEntry_INSTANCE_LEN 18
#define ipv6NetToMediaEntry_INSTANCE_LEN 17
typedef struct SNMP_IPNET_ROUTE_S
{
SNMP_PKT_T *pktp;
VB_T *vbp;
int tcount;
OIDC_T *tlist;
Ipnet_route_entry *best;
OIDC_T best_inst[60];
int best_inst_len;
bits32_t count_only;
bits32_t count;
} SNMP_IPNET_ROUTE_T;
@@ -0,0 +1,103 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -skel.h switch.
****
**** This file contains declarations of stub functions to aid in building
**** the agent MIB interface. It declares all the MIB get, set, test and
**** next method routines that you will need to supply. You'll probably
**** want to FORCE-INCLUDE this file when using the -mib.c output mode.
****
**** To generate the skeletal stub functions themselves, run the MIB compiler
**** with the -skel switch.
****
**** YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
**** BY REGENERATING IT WITH THE MIB COMPILER.
****
**** Last build date: Fri Apr 02 13:08:26 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/IANARtProto.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4022.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4113.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4292.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/ipnet.ctl
******************************************************************************
******************************************************************************
*/
void interfaces_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipForward_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void null_next_async(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void inetCidrRouteEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void inetCidrRouteEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void inetCidrRouteEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void inetCidrRouteEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipSystemStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipSystemStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipTrafficStats_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipTrafficStats_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipIfStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipIfStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressPrefixEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressPrefixEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6ScopeZoneIndexEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6ScopeZoneIndexEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipDefaultRouterEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipDefaultRouterEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpMsgStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpMsgStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnectionEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnectionEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnectionEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnectionEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpListenerEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpListenerEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udpEndpointEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udpEndpointEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpGet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpTest(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
@@ -0,0 +1,738 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -leaf switch.
****
**** This file #defines C preprocessor macros providing a variety of
**** information for the leaf objects in the MIB.
****
**** The file includes a LEAF_xxx macro for each leaf object in the
**** MIB (xxx is replaced by the object's name). The value of the
**** LEAF_xxx macro is the final component of the object's object
**** identifier.
****
**** If the object's SYNTAX clause included named INTEGER values,
**** then there is a VAL_xxx_yyy macro for each named value (xxx is
**** replaced by the object's name and yyy by the value's name). The
**** value of the VAL_xxx_yyy macro is the value associated with the
**** named value.
****
**** If the object's SYNTAX clause specified a set of range limitations
**** for the value of the object, then there are one or more sets of
**** MIN_xxx and MAX_xxx macros specifying the lower and upper bound of
**** each range limitation.
****
**** If the object's SYNTAX clause specified a set of size constraints
**** for the value of the object, then there are one or more sets of
**** MINSIZE_xxx and MAXSIZE_xxx macros specifying the lower and upper
**** bound of each size constraint. (If the size constraint is a single
**** value rather than a range then the MINSIZE_xxx and MAXSIZE_xxx
**** macros are replaced by a single SIZE_xxx macro.)
****
**** DO NOT MODIFY THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:26 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/IANARtProto.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4022.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4113.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4292.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/ipnet.ctl
******************************************************************************
******************************************************************************
*/
#define LEAF_ifNumber 1
#define LEAF_ifIndex 1
#define MIN_ifIndex 1L
#define MAX_ifIndex 2147483647L
#define LEAF_ifDescr 2
#define MINSIZE_ifDescr 0L
#define MAXSIZE_ifDescr 255L
#define LEAF_ifType 3
#define VAL_ifType_other 1L
#define VAL_ifType_regular1822 2L
#define VAL_ifType_hdh1822 3L
#define VAL_ifType_ddnX25 4L
#define VAL_ifType_rfc877x25 5L
#define VAL_ifType_ethernetCsmacd 6L
#define VAL_ifType_iso88023Csmacd 7L
#define VAL_ifType_iso88024TokenBus 8L
#define VAL_ifType_iso88025TokenRing 9L
#define VAL_ifType_iso88026Man 10L
#define VAL_ifType_starLan 11L
#define VAL_ifType_proteon10Mbit 12L
#define VAL_ifType_proteon80Mbit 13L
#define VAL_ifType_hyperchannel 14L
#define VAL_ifType_fddi 15L
#define VAL_ifType_lapb 16L
#define VAL_ifType_sdlc 17L
#define VAL_ifType_ds1 18L
#define VAL_ifType_e1 19L
#define VAL_ifType_basicISDN 20L
#define VAL_ifType_primaryISDN 21L
#define VAL_ifType_propPointToPointSerial 22L
#define VAL_ifType_ppp 23L
#define VAL_ifType_softwareLoopback 24L
#define VAL_ifType_eon 25L
#define VAL_ifType_ethernet3Mbit 26L
#define VAL_ifType_nsip 27L
#define VAL_ifType_slip 28L
#define VAL_ifType_ultra 29L
#define VAL_ifType_ds3 30L
#define VAL_ifType_sip 31L
#define VAL_ifType_frameRelay 32L
#define VAL_ifType_rs232 33L
#define VAL_ifType_para 34L
#define VAL_ifType_arcnet 35L
#define VAL_ifType_arcnetPlus 36L
#define VAL_ifType_atm 37L
#define VAL_ifType_miox25 38L
#define VAL_ifType_sonet 39L
#define VAL_ifType_x25ple 40L
#define VAL_ifType_iso88022llc 41L
#define VAL_ifType_localTalk 42L
#define VAL_ifType_smdsDxi 43L
#define VAL_ifType_frameRelayService 44L
#define VAL_ifType_v35 45L
#define VAL_ifType_hssi 46L
#define VAL_ifType_hippi 47L
#define VAL_ifType_modem 48L
#define VAL_ifType_aal5 49L
#define VAL_ifType_sonetPath 50L
#define VAL_ifType_sonetVT 51L
#define VAL_ifType_smdsIcip 52L
#define VAL_ifType_propVirtual 53L
#define VAL_ifType_propMultiplexor 54L
#define LEAF_ifMtu 4
#define LEAF_ifSpeed 5
#define LEAF_ifPhysAddress 6
#define LEAF_ifAdminStatus 7
#define VAL_ifAdminStatus_up 1L
#define VAL_ifAdminStatus_down 2L
#define VAL_ifAdminStatus_testing 3L
#define LEAF_ifOperStatus 8
#define VAL_ifOperStatus_up 1L
#define VAL_ifOperStatus_down 2L
#define VAL_ifOperStatus_testing 3L
#define VAL_ifOperStatus_unknown 4L
#define VAL_ifOperStatus_dormant 5L
#define VAL_ifOperStatus_notPresent 6L
#define VAL_ifOperStatus_lowerLayerDown 7L
#define LEAF_ifLastChange 9
#define LEAF_ifInOctets 10
#define LEAF_ifInUcastPkts 11
#define LEAF_ifInDiscards 13
#define LEAF_ifInErrors 14
#define LEAF_ifInUnknownProtos 15
#define LEAF_ifOutOctets 16
#define LEAF_ifOutUcastPkts 17
#define LEAF_ifOutDiscards 19
#define LEAF_ifOutErrors 20
#define LEAF_ipForwarding 1
#define VAL_ipForwarding_forwarding 1L
#define VAL_ipForwarding_notForwarding 2L
#define LEAF_ipDefaultTTL 2
#define MIN_ipDefaultTTL 1L
#define MAX_ipDefaultTTL 255L
#define LEAF_ipReasmTimeout 13
#define LEAF_inetCidrRouteNumber 6
#define LEAF_inetCidrRouteDestType 1
#define VAL_inetCidrRouteDestType_unknown 0L
#define VAL_inetCidrRouteDestType_ipv4 1L
#define VAL_inetCidrRouteDestType_ipv6 2L
#define VAL_inetCidrRouteDestType_ipv4z 3L
#define VAL_inetCidrRouteDestType_ipv6z 4L
#define VAL_inetCidrRouteDestType_dns 16L
#define LEAF_inetCidrRouteDest 2
#define MINSIZE_inetCidrRouteDest 0L
#define MAXSIZE_inetCidrRouteDest 255L
#define LEAF_inetCidrRoutePfxLen 3
#define MIN_inetCidrRoutePfxLen 0L
#define MAX_inetCidrRoutePfxLen 2040L
#define LEAF_inetCidrRoutePolicy 4
#define LEAF_inetCidrRouteNextHopType 5
#define VAL_inetCidrRouteNextHopType_unknown 0L
#define VAL_inetCidrRouteNextHopType_ipv4 1L
#define VAL_inetCidrRouteNextHopType_ipv6 2L
#define VAL_inetCidrRouteNextHopType_ipv4z 3L
#define VAL_inetCidrRouteNextHopType_ipv6z 4L
#define VAL_inetCidrRouteNextHopType_dns 16L
#define LEAF_inetCidrRouteNextHop 6
#define MINSIZE_inetCidrRouteNextHop 0L
#define MAXSIZE_inetCidrRouteNextHop 255L
#define LEAF_inetCidrRouteIfIndex 7
#define MIN_inetCidrRouteIfIndex 0L
#define MAX_inetCidrRouteIfIndex 2147483647L
#define LEAF_inetCidrRouteType 8
#define VAL_inetCidrRouteType_other 1L
#define VAL_inetCidrRouteType_reject 2L
#define VAL_inetCidrRouteType_local 3L
#define VAL_inetCidrRouteType_remote 4L
#define VAL_inetCidrRouteType_blackhole 5L
#define LEAF_inetCidrRouteProto 9
#define VAL_inetCidrRouteProto_other 1L
#define VAL_inetCidrRouteProto_local 2L
#define VAL_inetCidrRouteProto_netmgmt 3L
#define VAL_inetCidrRouteProto_icmp 4L
#define VAL_inetCidrRouteProto_egp 5L
#define VAL_inetCidrRouteProto_ggp 6L
#define VAL_inetCidrRouteProto_hello 7L
#define VAL_inetCidrRouteProto_rip 8L
#define VAL_inetCidrRouteProto_isIs 9L
#define VAL_inetCidrRouteProto_esIs 10L
#define VAL_inetCidrRouteProto_ciscoIgrp 11L
#define VAL_inetCidrRouteProto_bbnSpfIgp 12L
#define VAL_inetCidrRouteProto_ospf 13L
#define VAL_inetCidrRouteProto_bgp 14L
#define VAL_inetCidrRouteProto_idpr 15L
#define VAL_inetCidrRouteProto_ciscoEigrp 16L
#define VAL_inetCidrRouteProto_dvmrp 17L
#define LEAF_inetCidrRouteAge 10
#define LEAF_inetCidrRouteNextHopAS 11
#define LEAF_inetCidrRouteMetric1 12
#define LEAF_inetCidrRouteMetric2 13
#define LEAF_inetCidrRouteMetric3 14
#define LEAF_inetCidrRouteMetric4 15
#define LEAF_inetCidrRouteMetric5 16
#define LEAF_inetCidrRouteStatus 17
#define VAL_inetCidrRouteStatus_active 1L
#define VAL_inetCidrRouteStatus_notInService 2L
#define VAL_inetCidrRouteStatus_notReady 3L
#define VAL_inetCidrRouteStatus_createAndGo 4L
#define VAL_inetCidrRouteStatus_createAndWait 5L
#define VAL_inetCidrRouteStatus_destroy 6L
#define LEAF_inetCidrRouteDiscards 8
#define LEAF_ipv6IpForwarding 25
#define VAL_ipv6IpForwarding_forwarding 1L
#define VAL_ipv6IpForwarding_notForwarding 2L
#define LEAF_ipv6IpDefaultHopLimit 26
#define MIN_ipv6IpDefaultHopLimit 0L
#define MAX_ipv6IpDefaultHopLimit 255L
#define LEAF_ipv4InterfaceTableLastChange 27
#define LEAF_ipv4InterfaceIfIndex 1
#define MIN_ipv4InterfaceIfIndex 1L
#define MAX_ipv4InterfaceIfIndex 2147483647L
#define LEAF_ipv4InterfaceReasmMaxSize 2
#define MIN_ipv4InterfaceReasmMaxSize 0L
#define MAX_ipv4InterfaceReasmMaxSize 65535L
#define LEAF_ipv4InterfaceEnableStatus 3
#define VAL_ipv4InterfaceEnableStatus_up 1L
#define VAL_ipv4InterfaceEnableStatus_down 2L
#define LEAF_ipv4InterfaceRetransmitTime 4
#define LEAF_ipv6InterfaceTableLastChange 29
#define LEAF_ipv6InterfaceIfIndex 1
#define MIN_ipv6InterfaceIfIndex 1L
#define MAX_ipv6InterfaceIfIndex 2147483647L
#define LEAF_ipv6InterfaceReasmMaxSize 2
#define MIN_ipv6InterfaceReasmMaxSize 1500L
#define MAX_ipv6InterfaceReasmMaxSize 65535L
#define LEAF_ipv6InterfaceIdentifier 3
#define MINSIZE_ipv6InterfaceIdentifier 0L
#define MAXSIZE_ipv6InterfaceIdentifier 8L
#define LEAF_ipv6InterfaceEnableStatus 5
#define VAL_ipv6InterfaceEnableStatus_up 1L
#define VAL_ipv6InterfaceEnableStatus_down 2L
#define LEAF_ipv6InterfaceReachableTime 6
#define LEAF_ipv6InterfaceRetransmitTime 7
#define LEAF_ipv6InterfaceForwarding 8
#define VAL_ipv6InterfaceForwarding_forwarding 1L
#define VAL_ipv6InterfaceForwarding_notForwarding 2L
#define LEAF_ipSystemStatsIPVersion 1
#define VAL_ipSystemStatsIPVersion_unknown 0L
#define VAL_ipSystemStatsIPVersion_ipv4 1L
#define VAL_ipSystemStatsIPVersion_ipv6 2L
#define LEAF_ipSystemStatsInReceives 3
#define LEAF_ipSystemStatsHCInReceives 4
#define LEAF_ipSystemStatsInOctets 5
#define LEAF_ipSystemStatsHCInOctets 6
#define LEAF_ipSystemStatsInHdrErrors 7
#define LEAF_ipSystemStatsInNoRoutes 8
#define LEAF_ipSystemStatsInAddrErrors 9
#define LEAF_ipSystemStatsInUnknownProtos 10
#define LEAF_ipSystemStatsInTruncatedPkts 11
#define LEAF_ipSystemStatsInForwDatagrams 12
#define LEAF_ipSystemStatsHCInForwDatagrams 13
#define LEAF_ipSystemStatsReasmReqds 14
#define LEAF_ipSystemStatsReasmOKs 15
#define LEAF_ipSystemStatsReasmFails 16
#define LEAF_ipSystemStatsInDiscards 17
#define LEAF_ipSystemStatsInDelivers 18
#define LEAF_ipSystemStatsHCInDelivers 19
#define LEAF_ipSystemStatsOutRequests 20
#define LEAF_ipSystemStatsHCOutRequests 21
#define LEAF_ipSystemStatsOutNoRoutes 22
#define LEAF_ipSystemStatsOutForwDatagrams 23
#define LEAF_ipSystemStatsHCOutForwDatagrams 24
#define LEAF_ipSystemStatsOutDiscards 25
#define LEAF_ipSystemStatsOutFragReqds 26
#define LEAF_ipSystemStatsOutFragOKs 27
#define LEAF_ipSystemStatsOutFragFails 28
#define LEAF_ipSystemStatsOutFragCreates 29
#define LEAF_ipSystemStatsOutTransmits 30
#define LEAF_ipSystemStatsHCOutTransmits 31
#define LEAF_ipSystemStatsOutOctets 32
#define LEAF_ipSystemStatsHCOutOctets 33
#define LEAF_ipSystemStatsInMcastPkts 34
#define LEAF_ipSystemStatsHCInMcastPkts 35
#define LEAF_ipSystemStatsInMcastOctets 36
#define LEAF_ipSystemStatsHCInMcastOctets 37
#define LEAF_ipSystemStatsOutMcastPkts 38
#define LEAF_ipSystemStatsHCOutMcastPkts 39
#define LEAF_ipSystemStatsOutMcastOctets 40
#define LEAF_ipSystemStatsHCOutMcastOctets 41
#define LEAF_ipSystemStatsInBcastPkts 42
#define LEAF_ipSystemStatsHCInBcastPkts 43
#define LEAF_ipSystemStatsOutBcastPkts 44
#define LEAF_ipSystemStatsHCOutBcastPkts 45
#define LEAF_ipSystemStatsDiscontinuityTime 46
#define LEAF_ipSystemStatsRefreshRate 47
#define LEAF_ipIfStatsTableLastChange 2
#define LEAF_ipIfStatsIPVersion 1
#define VAL_ipIfStatsIPVersion_unknown 0L
#define VAL_ipIfStatsIPVersion_ipv4 1L
#define VAL_ipIfStatsIPVersion_ipv6 2L
#define LEAF_ipIfStatsIfIndex 2
#define MIN_ipIfStatsIfIndex 1L
#define MAX_ipIfStatsIfIndex 2147483647L
#define LEAF_ipIfStatsInReceives 3
#define LEAF_ipIfStatsHCInReceives 4
#define LEAF_ipIfStatsInOctets 5
#define LEAF_ipIfStatsHCInOctets 6
#define LEAF_ipIfStatsInHdrErrors 7
#define LEAF_ipIfStatsInNoRoutes 8
#define LEAF_ipIfStatsInAddrErrors 9
#define LEAF_ipIfStatsInUnknownProtos 10
#define LEAF_ipIfStatsInTruncatedPkts 11
#define LEAF_ipIfStatsInForwDatagrams 12
#define LEAF_ipIfStatsHCInForwDatagrams 13
#define LEAF_ipIfStatsReasmReqds 14
#define LEAF_ipIfStatsReasmOKs 15
#define LEAF_ipIfStatsReasmFails 16
#define LEAF_ipIfStatsInDiscards 17
#define LEAF_ipIfStatsInDelivers 18
#define LEAF_ipIfStatsHCInDelivers 19
#define LEAF_ipIfStatsOutRequests 20
#define LEAF_ipIfStatsHCOutRequests 21
#define LEAF_ipIfStatsOutForwDatagrams 23
#define LEAF_ipIfStatsHCOutForwDatagrams 24
#define LEAF_ipIfStatsOutDiscards 25
#define LEAF_ipIfStatsOutFragReqds 26
#define LEAF_ipIfStatsOutFragOKs 27
#define LEAF_ipIfStatsOutFragFails 28
#define LEAF_ipIfStatsOutFragCreates 29
#define LEAF_ipIfStatsOutTransmits 30
#define LEAF_ipIfStatsHCOutTransmits 31
#define LEAF_ipIfStatsOutOctets 32
#define LEAF_ipIfStatsHCOutOctets 33
#define LEAF_ipIfStatsInMcastPkts 34
#define LEAF_ipIfStatsHCInMcastPkts 35
#define LEAF_ipIfStatsInMcastOctets 36
#define LEAF_ipIfStatsHCInMcastOctets 37
#define LEAF_ipIfStatsOutMcastPkts 38
#define LEAF_ipIfStatsHCOutMcastPkts 39
#define LEAF_ipIfStatsOutMcastOctets 40
#define LEAF_ipIfStatsHCOutMcastOctets 41
#define LEAF_ipIfStatsInBcastPkts 42
#define LEAF_ipIfStatsHCInBcastPkts 43
#define LEAF_ipIfStatsOutBcastPkts 44
#define LEAF_ipIfStatsHCOutBcastPkts 45
#define LEAF_ipIfStatsDiscontinuityTime 46
#define LEAF_ipIfStatsRefreshRate 47
#define LEAF_ipAddressPrefixIfIndex 1
#define MIN_ipAddressPrefixIfIndex 1L
#define MAX_ipAddressPrefixIfIndex 2147483647L
#define LEAF_ipAddressPrefixType 2
#define VAL_ipAddressPrefixType_unknown 0L
#define VAL_ipAddressPrefixType_ipv4 1L
#define VAL_ipAddressPrefixType_ipv6 2L
#define VAL_ipAddressPrefixType_ipv4z 3L
#define VAL_ipAddressPrefixType_ipv6z 4L
#define VAL_ipAddressPrefixType_dns 16L
#define LEAF_ipAddressPrefixPrefix 3
#define MINSIZE_ipAddressPrefixPrefix 0L
#define MAXSIZE_ipAddressPrefixPrefix 255L
#define LEAF_ipAddressPrefixLength 4
#define MIN_ipAddressPrefixLength 0L
#define MAX_ipAddressPrefixLength 2040L
#define LEAF_ipAddressPrefixOrigin 5
#define VAL_ipAddressPrefixOrigin_other 1L
#define VAL_ipAddressPrefixOrigin_manual 2L
#define VAL_ipAddressPrefixOrigin_wellknown 3L
#define VAL_ipAddressPrefixOrigin_dhcp 4L
#define VAL_ipAddressPrefixOrigin_routeradv 5L
#define LEAF_ipAddressPrefixOnLinkFlag 6
#define VAL_ipAddressPrefixOnLinkFlag_true 1L
#define VAL_ipAddressPrefixOnLinkFlag_false 2L
#define LEAF_ipAddressPrefixAutonomousFlag 7
#define VAL_ipAddressPrefixAutonomousFlag_true 1L
#define VAL_ipAddressPrefixAutonomousFlag_false 2L
#define LEAF_ipAddressPrefixAdvPreferredLifetime 8
#define LEAF_ipAddressPrefixAdvValidLifetime 9
#define LEAF_ipAddressSpinLock 33
#define MIN_ipAddressSpinLock 0L
#define MAX_ipAddressSpinLock 2147483647L
#define LEAF_ipAddressAddrType 1
#define VAL_ipAddressAddrType_unknown 0L
#define VAL_ipAddressAddrType_ipv4 1L
#define VAL_ipAddressAddrType_ipv6 2L
#define VAL_ipAddressAddrType_ipv4z 3L
#define VAL_ipAddressAddrType_ipv6z 4L
#define VAL_ipAddressAddrType_dns 16L
#define LEAF_ipAddressAddr 2
#define MINSIZE_ipAddressAddr 0L
#define MAXSIZE_ipAddressAddr 255L
#define LEAF_ipAddressIfIndex 3
#define MIN_ipAddressIfIndex 1L
#define MAX_ipAddressIfIndex 2147483647L
#define LEAF_ipAddressType 4
#define VAL_ipAddressType_unicast 1L
#define VAL_ipAddressType_anycast 2L
#define VAL_ipAddressType_broadcast 3L
#define LEAF_ipAddressPrefix 5
#define LEAF_ipAddressOrigin 6
#define VAL_ipAddressOrigin_other 1L
#define VAL_ipAddressOrigin_manual 2L
#define VAL_ipAddressOrigin_dhcp 4L
#define VAL_ipAddressOrigin_linklayer 5L
#define VAL_ipAddressOrigin_random 6L
#define LEAF_ipAddressStatus 7
#define VAL_ipAddressStatus_preferred 1L
#define VAL_ipAddressStatus_deprecated 2L
#define VAL_ipAddressStatus_invalid 3L
#define VAL_ipAddressStatus_inaccessible 4L
#define VAL_ipAddressStatus_unknown 5L
#define VAL_ipAddressStatus_tentative 6L
#define VAL_ipAddressStatus_duplicate 7L
#define VAL_ipAddressStatus_optimistic 8L
#define LEAF_ipAddressCreated 8
#define LEAF_ipAddressLastChanged 9
#define LEAF_ipAddressRowStatus 10
#define VAL_ipAddressRowStatus_active 1L
#define VAL_ipAddressRowStatus_notInService 2L
#define VAL_ipAddressRowStatus_notReady 3L
#define VAL_ipAddressRowStatus_createAndGo 4L
#define VAL_ipAddressRowStatus_createAndWait 5L
#define VAL_ipAddressRowStatus_destroy 6L
#define LEAF_ipAddressStorageType 11
#define VAL_ipAddressStorageType_other 1L
#define VAL_ipAddressStorageType_volatile 2L
#define VAL_ipAddressStorageType_nonVolatile 3L
#define VAL_ipAddressStorageType_permanent 4L
#define VAL_ipAddressStorageType_readOnly 5L
#define LEAF_ipNetToPhysicalIfIndex 1
#define MIN_ipNetToPhysicalIfIndex 1L
#define MAX_ipNetToPhysicalIfIndex 2147483647L
#define LEAF_ipNetToPhysicalNetAddressType 2
#define VAL_ipNetToPhysicalNetAddressType_unknown 0L
#define VAL_ipNetToPhysicalNetAddressType_ipv4 1L
#define VAL_ipNetToPhysicalNetAddressType_ipv6 2L
#define VAL_ipNetToPhysicalNetAddressType_ipv4z 3L
#define VAL_ipNetToPhysicalNetAddressType_ipv6z 4L
#define VAL_ipNetToPhysicalNetAddressType_dns 16L
#define LEAF_ipNetToPhysicalNetAddress 3
#define MINSIZE_ipNetToPhysicalNetAddress 0L
#define MAXSIZE_ipNetToPhysicalNetAddress 255L
#define LEAF_ipNetToPhysicalPhysAddress 4
#define MINSIZE_ipNetToPhysicalPhysAddress 0L
#define MAXSIZE_ipNetToPhysicalPhysAddress 65535L
#define LEAF_ipNetToPhysicalLastUpdated 5
#define LEAF_ipNetToPhysicalType 6
#define VAL_ipNetToPhysicalType_other 1L
#define VAL_ipNetToPhysicalType_invalid 2L
#define VAL_ipNetToPhysicalType_dynamic 3L
#define VAL_ipNetToPhysicalType_static 4L
#define VAL_ipNetToPhysicalType_local 5L
#define LEAF_ipNetToPhysicalState 7
#define VAL_ipNetToPhysicalState_reachable 1L
#define VAL_ipNetToPhysicalState_stale 2L
#define VAL_ipNetToPhysicalState_delay 3L
#define VAL_ipNetToPhysicalState_probe 4L
#define VAL_ipNetToPhysicalState_invalid 5L
#define VAL_ipNetToPhysicalState_unknown 6L
#define VAL_ipNetToPhysicalState_incomplete 7L
#define LEAF_ipNetToPhysicalRowStatus 8
#define VAL_ipNetToPhysicalRowStatus_active 1L
#define VAL_ipNetToPhysicalRowStatus_notInService 2L
#define VAL_ipNetToPhysicalRowStatus_notReady 3L
#define VAL_ipNetToPhysicalRowStatus_createAndGo 4L
#define VAL_ipNetToPhysicalRowStatus_createAndWait 5L
#define VAL_ipNetToPhysicalRowStatus_destroy 6L
#define LEAF_ipv6ScopeZoneIndexIfIndex 1
#define MIN_ipv6ScopeZoneIndexIfIndex 1L
#define MAX_ipv6ScopeZoneIndexIfIndex 2147483647L
#define LEAF_ipv6ScopeZoneIndexLinkLocal 2
#define LEAF_ipv6ScopeZoneIndex3 3
#define LEAF_ipv6ScopeZoneIndexAdminLocal 4
#define LEAF_ipv6ScopeZoneIndexSiteLocal 5
#define LEAF_ipv6ScopeZoneIndex6 6
#define LEAF_ipv6ScopeZoneIndex7 7
#define LEAF_ipv6ScopeZoneIndexOrganizationLocal 8
#define LEAF_ipv6ScopeZoneIndex9 9
#define LEAF_ipv6ScopeZoneIndexA 10
#define LEAF_ipv6ScopeZoneIndexB 11
#define LEAF_ipv6ScopeZoneIndexC 12
#define LEAF_ipv6ScopeZoneIndexD 13
#define LEAF_ipDefaultRouterAddressType 1
#define VAL_ipDefaultRouterAddressType_unknown 0L
#define VAL_ipDefaultRouterAddressType_ipv4 1L
#define VAL_ipDefaultRouterAddressType_ipv6 2L
#define VAL_ipDefaultRouterAddressType_ipv4z 3L
#define VAL_ipDefaultRouterAddressType_ipv6z 4L
#define VAL_ipDefaultRouterAddressType_dns 16L
#define LEAF_ipDefaultRouterAddress 2
#define MINSIZE_ipDefaultRouterAddress 0L
#define MAXSIZE_ipDefaultRouterAddress 255L
#define LEAF_ipDefaultRouterIfIndex 3
#define MIN_ipDefaultRouterIfIndex 1L
#define MAX_ipDefaultRouterIfIndex 2147483647L
#define LEAF_ipDefaultRouterLifetime 4
#define MIN_ipDefaultRouterLifetime 0L
#define MAX_ipDefaultRouterLifetime 65535L
#define LEAF_ipDefaultRouterPreference 5
#define VAL_ipDefaultRouterPreference_reserved -2L
#define VAL_ipDefaultRouterPreference_low -1L
#define VAL_ipDefaultRouterPreference_medium 0L
#define VAL_ipDefaultRouterPreference_high 1L
#define LEAF_ipv6RouterAdvertSpinLock 38
#define MIN_ipv6RouterAdvertSpinLock 0L
#define MAX_ipv6RouterAdvertSpinLock 2147483647L
#define LEAF_ipv6RouterAdvertIfIndex 1
#define MIN_ipv6RouterAdvertIfIndex 1L
#define MAX_ipv6RouterAdvertIfIndex 2147483647L
#define LEAF_ipv6RouterAdvertSendAdverts 2
#define VAL_ipv6RouterAdvertSendAdverts_true 1L
#define VAL_ipv6RouterAdvertSendAdverts_false 2L
#define LEAF_ipv6RouterAdvertMaxInterval 3
#define MIN_ipv6RouterAdvertMaxInterval 4L
#define MAX_ipv6RouterAdvertMaxInterval 1800L
#define LEAF_ipv6RouterAdvertMinInterval 4
#define MIN_ipv6RouterAdvertMinInterval 3L
#define MAX_ipv6RouterAdvertMinInterval 1350L
#define LEAF_ipv6RouterAdvertManagedFlag 5
#define VAL_ipv6RouterAdvertManagedFlag_true 1L
#define VAL_ipv6RouterAdvertManagedFlag_false 2L
#define LEAF_ipv6RouterAdvertOtherConfigFlag 6
#define VAL_ipv6RouterAdvertOtherConfigFlag_true 1L
#define VAL_ipv6RouterAdvertOtherConfigFlag_false 2L
#define LEAF_ipv6RouterAdvertLinkMTU 7
#define LEAF_ipv6RouterAdvertReachableTime 8
#define MIN_ipv6RouterAdvertReachableTime 0L
#define MAX_ipv6RouterAdvertReachableTime 3600000L
#define LEAF_ipv6RouterAdvertRetransmitTime 9
#define LEAF_ipv6RouterAdvertCurHopLimit 10
#define MIN_ipv6RouterAdvertCurHopLimit 0L
#define MAX_ipv6RouterAdvertCurHopLimit 255L
#define LEAF_ipv6RouterAdvertDefaultLifetime 11
#define MIN_ipv6RouterAdvertDefaultLifetime_1 0L
#define MAX_ipv6RouterAdvertDefaultLifetime_1 0L
#define MIN_ipv6RouterAdvertDefaultLifetime_2 4L
#define MAX_ipv6RouterAdvertDefaultLifetime_2 9000L
#define LEAF_ipv6RouterAdvertRowStatus 12
#define VAL_ipv6RouterAdvertRowStatus_active 1L
#define VAL_ipv6RouterAdvertRowStatus_notInService 2L
#define VAL_ipv6RouterAdvertRowStatus_notReady 3L
#define VAL_ipv6RouterAdvertRowStatus_createAndGo 4L
#define VAL_ipv6RouterAdvertRowStatus_createAndWait 5L
#define VAL_ipv6RouterAdvertRowStatus_destroy 6L
#define LEAF_icmpStatsIPVersion 1
#define VAL_icmpStatsIPVersion_unknown 0L
#define VAL_icmpStatsIPVersion_ipv4 1L
#define VAL_icmpStatsIPVersion_ipv6 2L
#define LEAF_icmpStatsInMsgs 2
#define LEAF_icmpStatsInErrors 3
#define LEAF_icmpStatsOutMsgs 4
#define LEAF_icmpStatsOutErrors 5
#define LEAF_icmpMsgStatsIPVersion 1
#define VAL_icmpMsgStatsIPVersion_unknown 0L
#define VAL_icmpMsgStatsIPVersion_ipv4 1L
#define VAL_icmpMsgStatsIPVersion_ipv6 2L
#define LEAF_icmpMsgStatsType 2
#define MIN_icmpMsgStatsType 0L
#define MAX_icmpMsgStatsType 255L
#define LEAF_icmpMsgStatsInPkts 3
#define LEAF_icmpMsgStatsOutPkts 4
#define LEAF_tcpRtoAlgorithm 1
#define VAL_tcpRtoAlgorithm_other 1L
#define VAL_tcpRtoAlgorithm_constant 2L
#define VAL_tcpRtoAlgorithm_rsre 3L
#define VAL_tcpRtoAlgorithm_vanj 4L
#define VAL_tcpRtoAlgorithm_rfc2988 5L
#define LEAF_tcpRtoMin 2
#define MIN_tcpRtoMin 0L
#define MAX_tcpRtoMin 2147483647L
#define LEAF_tcpRtoMax 3
#define MIN_tcpRtoMax 0L
#define MAX_tcpRtoMax 2147483647L
#define LEAF_tcpMaxConn 4
#define MIN_tcpMaxConn -1L
#define MAX_tcpMaxConn 2147483647L
#define LEAF_tcpActiveOpens 5
#define LEAF_tcpPassiveOpens 6
#define LEAF_tcpAttemptFails 7
#define LEAF_tcpEstabResets 8
#define LEAF_tcpCurrEstab 9
#define LEAF_tcpInSegs 10
#define LEAF_tcpOutSegs 11
#define LEAF_tcpRetransSegs 12
#define LEAF_tcpInErrs 14
#define LEAF_tcpOutRsts 15
#define LEAF_tcpHCInSegs 17
#define LEAF_tcpHCOutSegs 18
#define LEAF_tcpConnectionLocalAddressType 1
#define VAL_tcpConnectionLocalAddressType_unknown 0L
#define VAL_tcpConnectionLocalAddressType_ipv4 1L
#define VAL_tcpConnectionLocalAddressType_ipv6 2L
#define VAL_tcpConnectionLocalAddressType_ipv4z 3L
#define VAL_tcpConnectionLocalAddressType_ipv6z 4L
#define VAL_tcpConnectionLocalAddressType_dns 16L
#define LEAF_tcpConnectionLocalAddress 2
#define MINSIZE_tcpConnectionLocalAddress 0L
#define MAXSIZE_tcpConnectionLocalAddress 255L
#define LEAF_tcpConnectionLocalPort 3
#define MIN_tcpConnectionLocalPort 0L
#define MAX_tcpConnectionLocalPort 65535L
#define LEAF_tcpConnectionRemAddressType 4
#define VAL_tcpConnectionRemAddressType_unknown 0L
#define VAL_tcpConnectionRemAddressType_ipv4 1L
#define VAL_tcpConnectionRemAddressType_ipv6 2L
#define VAL_tcpConnectionRemAddressType_ipv4z 3L
#define VAL_tcpConnectionRemAddressType_ipv6z 4L
#define VAL_tcpConnectionRemAddressType_dns 16L
#define LEAF_tcpConnectionRemAddress 5
#define MINSIZE_tcpConnectionRemAddress 0L
#define MAXSIZE_tcpConnectionRemAddress 255L
#define LEAF_tcpConnectionRemPort 6
#define MIN_tcpConnectionRemPort 0L
#define MAX_tcpConnectionRemPort 65535L
#define LEAF_tcpConnectionState 7
#define VAL_tcpConnectionState_closed 1L
#define VAL_tcpConnectionState_listen 2L
#define VAL_tcpConnectionState_synSent 3L
#define VAL_tcpConnectionState_synReceived 4L
#define VAL_tcpConnectionState_established 5L
#define VAL_tcpConnectionState_finWait1 6L
#define VAL_tcpConnectionState_finWait2 7L
#define VAL_tcpConnectionState_closeWait 8L
#define VAL_tcpConnectionState_lastAck 9L
#define VAL_tcpConnectionState_closing 10L
#define VAL_tcpConnectionState_timeWait 11L
#define VAL_tcpConnectionState_deleteTCB 12L
#define LEAF_tcpConnectionProcess 8
#define LEAF_tcpListenerLocalAddressType 1
#define VAL_tcpListenerLocalAddressType_unknown 0L
#define VAL_tcpListenerLocalAddressType_ipv4 1L
#define VAL_tcpListenerLocalAddressType_ipv6 2L
#define VAL_tcpListenerLocalAddressType_ipv4z 3L
#define VAL_tcpListenerLocalAddressType_ipv6z 4L
#define VAL_tcpListenerLocalAddressType_dns 16L
#define LEAF_tcpListenerLocalAddress 2
#define MINSIZE_tcpListenerLocalAddress 0L
#define MAXSIZE_tcpListenerLocalAddress 255L
#define LEAF_tcpListenerLocalPort 3
#define MIN_tcpListenerLocalPort 0L
#define MAX_tcpListenerLocalPort 65535L
#define LEAF_tcpListenerProcess 4
#define LEAF_udpInDatagrams 1
#define LEAF_udpNoPorts 2
#define LEAF_udpInErrors 3
#define LEAF_udpOutDatagrams 4
#define LEAF_udpEndpointLocalAddressType 1
#define VAL_udpEndpointLocalAddressType_unknown 0L
#define VAL_udpEndpointLocalAddressType_ipv4 1L
#define VAL_udpEndpointLocalAddressType_ipv6 2L
#define VAL_udpEndpointLocalAddressType_ipv4z 3L
#define VAL_udpEndpointLocalAddressType_ipv6z 4L
#define VAL_udpEndpointLocalAddressType_dns 16L
#define LEAF_udpEndpointLocalAddress 2
#define MINSIZE_udpEndpointLocalAddress 0L
#define MAXSIZE_udpEndpointLocalAddress 255L
#define LEAF_udpEndpointLocalPort 3
#define MIN_udpEndpointLocalPort 0L
#define MAX_udpEndpointLocalPort 65535L
#define LEAF_udpEndpointRemoteAddressType 4
#define VAL_udpEndpointRemoteAddressType_unknown 0L
#define VAL_udpEndpointRemoteAddressType_ipv4 1L
#define VAL_udpEndpointRemoteAddressType_ipv6 2L
#define VAL_udpEndpointRemoteAddressType_ipv4z 3L
#define VAL_udpEndpointRemoteAddressType_ipv6z 4L
#define VAL_udpEndpointRemoteAddressType_dns 16L
#define LEAF_udpEndpointRemoteAddress 5
#define MINSIZE_udpEndpointRemoteAddress 0L
#define MAXSIZE_udpEndpointRemoteAddress 255L
#define LEAF_udpEndpointRemotePort 6
#define MIN_udpEndpointRemotePort 0L
#define MAX_udpEndpointRemotePort 65535L
#define LEAF_udpEndpointInstance 7
#define MIN_udpEndpointInstance 1L
#define MAX_udpEndpointInstance 4294967295L
#define LEAF_udpEndpointProcess 8
#define LEAF_udpHCInDatagrams 8
#define LEAF_udpHCOutDatagrams 9
#define LEAF_snmpInPkts 1
#define LEAF_snmpOutPkts 2
#define LEAF_snmpInBadVersions 3
#define LEAF_snmpInBadCommunityNames 4
#define LEAF_snmpInBadCommunityUses 5
#define LEAF_snmpInASNParseErrs 6
#define LEAF_snmpInTooBigs 8
#define LEAF_snmpInNoSuchNames 9
#define LEAF_snmpInBadValues 10
#define LEAF_snmpInReadOnlys 11
#define LEAF_snmpInGenErrs 12
#define LEAF_snmpInTotalReqVars 13
#define LEAF_snmpInTotalSetVars 14
#define LEAF_snmpInGetRequests 15
#define LEAF_snmpInGetNexts 16
#define LEAF_snmpInSetRequests 17
#define LEAF_snmpInGetResponses 18
#define LEAF_snmpInTraps 19
#define LEAF_snmpOutTooBigs 20
#define LEAF_snmpOutNoSuchNames 21
#define LEAF_snmpOutBadValues 22
#define LEAF_snmpOutGenErrs 24
#define LEAF_snmpOutGetRequests 25
#define LEAF_snmpOutGetNexts 26
#define LEAF_snmpOutSetRequests 27
#define LEAF_snmpOutGetResponses 28
#define LEAF_snmpOutTraps 29
#define LEAF_snmpEnableAuthenTraps 30
#define VAL_snmpEnableAuthenTraps_enabled 1L
#define VAL_snmpEnableAuthenTraps_disabled 2L
#define LEAF_snmpSilentDrops 31
#define LEAF_snmpProxyDrops 32
#define LEAF_ifName 1
#define MINSIZE_ifName 0L
#define MAXSIZE_ifName 255L
#define LEAF_ifInMulticastPkts 2
#define LEAF_ifInBroadcastPkts 3
#define LEAF_ifOutMulticastPkts 4
#define LEAF_ifOutBroadcastPkts 5
#define LEAF_ifLinkUpDownTrapEnable 14
#define VAL_ifLinkUpDownTrapEnable_enabled 1L
#define VAL_ifLinkUpDownTrapEnable_disabled 2L
#define LEAF_ifHighSpeed 15
#define LEAF_ifPromiscuousMode 16
#define VAL_ifPromiscuousMode_true 1L
#define VAL_ifPromiscuousMode_false 2L
#define LEAF_ifConnectorPresent 17
#define VAL_ifConnectorPresent_true 1L
#define VAL_ifConnectorPresent_false 2L
#define LEAF_ifAlias 18
#define MINSIZE_ifAlias 0L
#define MAXSIZE_ifAlias 64L
#define LEAF_ifCounterDiscontinuityTime 19
#define LEAF_ifTableLastChange 5
#define LEAF_snmpTrapOID 1
#define LEAF_snmpTrapEnterprise 3
#define LEAF_snmpSetSerialNo 1
#define MIN_snmpSetSerialNo 0L
#define MAX_snmpSetSerialNo 2147483647L
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,661 @@
/* iprt_mth.c - method routines for the ipForward group */
/*
* Copyright 2006-2008 Wind River Systems, Inc.
* All rights reserved. Provided under license only.
* Distribution or other use of this software is only
* permitted pursuant to the terms of a license agreement
* from Wind River Systems (and is otherwise prohibited).
* Refer to that license agreement for terms of use.
*/
/*
modification history
--------------------
01d,26may08,y_z use ipnet-mib2 interface
01c,02may07,mdk merge from spr-dev for spin45A
01b,20sep06,jbl more fixes to inetCidrRouteTable
01a,20sep06,jbl clear up build warnings and errors
*/
#include "ip_mth.h"
#include <wrn/wm/snmp/engine/asn1conf.h>
#include <wrn/wm/snmp/engine/asn1.h>
#include <wrn/wm/snmp/engine/buffer.h>
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/localio.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmp.h>
#include <wrn/wm/snmp/engine/auxfuncs.h>
#include "ip_mibleaf.h"
#include <ipcom_mib2_api.h>
/*
* Method routines for the inetCidrRouteTable:
*
* inetCidrRouteDestType -- not-accessible
* The type of the inetCidrRouteDest address, as defined
* in the InetAddress MIB.
*
* Only those address types that may appear in an actual
* routing table are allowed as values of this object.
*
* inetCidrRouteDest -- not-accessible
* The destination IP address of this route.
*
* The type of this address is determined by the value of
* the inetCidrRouteDestType object.
*
* The values for the index objects inetCidrRouteDest and
* inetCidrRoutePfxLen must be consistent. When the value
* of inetCidrRouteDest (excluding the zone index, if one
* is present) is x, then the bitwise logical-AND
* of x with the value of the mask formed from the
* corresponding index object inetCidrRoutePfxLen MUST be
* equal to x. If not, then the index pair is not
* consistent and an inconsistentName error must be
* returned on SET or CREATE requests.
*
* inetCidrRoutePfxLen -- not-accessible
* Indicates the number of leading one bits that form the
* mask to be logical-ANDed with the destination address
* before being compared to the value in the
* inetCidrRouteDest field.
*
* The values for the index objects inetCidrRouteDest and
* inetCidrRoutePfxLen must be consistent. When the value
* of inetCidrRouteDest (excluding the zone index, if one
* is present) is x, then the bitwise logical-AND
* of x with the value of the mask formed from the
* corresponding index object inetCidrRoutePfxLen MUST be
* equal to x. If not, then the index pair is not
* consistent and an inconsistentName error must be
* returned on SET or CREATE requests.
*
* inetCidrRoutePolicy -- not-accessible
* This object is an opaque object without any defined
* semantics. Its purpose is to serve as an additional
* index that may delineate between multiple entries to
* the same destination. The value { 0 0 } shall be used
* as the default value for this object.
*
* inetCidrRouteNextHopType -- not-accessible
* The type of the inetCidrRouteNextHop address, as
* defined in the InetAddress MIB.
*
* Value should be set to unknown(0) for non-remote
* routes.
*
* Only those address types that may appear in an actual
* routing table are allowed as values of this object.
*
* inetCidrRouteNextHop -- not-accessible
* On remote routes, the address of the next system en
* route. For non-remote routes, a zero length string.
*
* The type of this address is determined by the value of
* the inetCidrRouteNextHopType object.
*
* inetCidrRouteIfIndex -- read-create
* The ifIndex value that identifies the local interface
* through which the next hop of this route should be
* reached. A value of 0 is valid and represents the
* scenario where no interface is specified.
*
* inetCidrRouteType -- read-create
* The type of route. Note that local(3) refers to a
* route for which the next hop is the final destination;
* remote(4) refers to a route for which the next hop is
* not the final destination.
*
* Routes that do not result in traffic forwarding or
* rejection should not be displayed, even if the
* implementation keeps them stored internally.
*
* reject(2) refers to a route that, if matched, discards
* the message as unreachable and returns a notification
* (e.g., ICMP error) to the message sender. This is used
* in some protocols as a means of correctly aggregating
* routes.
*
* blackhole(5) refers to a route that, if matched,
* discards the message silently.
*
* inetCidrRouteProto -- read-only
* The routing mechanism via which this route was learned.
* Inclusion of values for gateway routing protocols is
* not intended to imply that hosts should support those
* protocols.
*
* inetCidrRouteAge -- read-only
* The number of seconds since this route was last updated
* or otherwise determined to be correct. Note that no
* semantics of 'too old' can be implied, except through
* knowledge of the routing protocol by which the route
* was learned.
*
* inetCidrRouteNextHopAS -- read-create
* The Autonomous System Number of the Next Hop. The
* semantics of this object are determined by the routing-
* protocol specified in the route's inetCidrRouteProto
* value. When this object is unknown or not relevant, its
* value should be set to zero.
*
* inetCidrRouteMetric1 -- read-create
* The primary routing metric for this route. The
* semantics of this metric are determined by the routing-
* protocol specified in the route's inetCidrRouteProto
* value. If this metric is not used, its value should be
* set to -1.
*
* inetCidrRouteMetric2 -- read-create
* An alternate routing metric for this route. The
* semantics of this metric are determined by the routing-
* protocol specified in the route's inetCidrRouteProto
* value. If this metric is not used, its value should be
* set to -1.
*
* inetCidrRouteMetric3 -- read-create
* An alternate routing metric for this route. The
* semantics of this metric are determined by the routing-
* protocol specified in the route's inetCidrRouteProto
* value. If this metric is not used, its value should be
* set to -1.
*
* inetCidrRouteMetric4 -- read-create
* An alternate routing metric for this route. The
* semantics of this metric are determined by the routing-
* protocol specified in the route's inetCidrRouteProto
* value. If this metric is not used, its value should be
* set to -1.
*
* inetCidrRouteMetric5 -- read-create
* An alternate routing metric for this route. The
* semantics of this metric are determined by the routing-
* protocol specified in the route's inetCidrRouteProto
* value. If this metric is not used, its value should be
* set to -1.
*
* inetCidrRouteStatus -- read-create
* The row status variable, used according to row
* installation and removal conventions.
*
* A row entry cannot be modified when the status is
* marked as active(1).
*/
/* An internal routine to retrieve the values of the variables, used
* by the method routines inetCidrRouteEntry_get and inetCidrRouteEntry_next.
* You need to replace the type STRUCT_inetCidrRouteEntry with something
* appropriate to your system. */
typedef struct
{
int tcount;
OIDC_T * tlist;
Ipcom_mib2_InetCidrRouteEntry* dataPtr;
boolean_t getnext; /* FALSE = getexact */
} inetCidrRouteEntry_cookie_t;
typedef struct
{
Ipcom_mib2_Gauge32 inetCidrRouteNumber;
Ipcom_mib2_Counter32 inetCidrRouteDiscards;
} ipForward_data_t;
#define ipVersion_ipv4 1
#define ipVersion_ipv6 2
#define ipVersion_ipv4z 3
#define ipVersion_ipv6z 4
#define inetCidrRouteEntry_MAX_INSTANCE_LEN 40
static unsigned
inetCidrRouteEntry_build_instance (Ipcom_mib2_InetCidrRouteEntry * data,
OIDC_T *instance)
{
int i ;
int j ;
i = 0;
j = 0;
/*inetCidrRouteDestType*/
instance[0] = data->inetCidrRouteDestType;
/*inetCidrRouteDest*/
switch(instance[0])
{
case ipVersion_ipv4:
case ipVersion_ipv4z:
instance [1] = 4;
break;
case ipVersion_ipv6:
case ipVersion_ipv6z:
instance [1] = 16;
break;
default:
instance [1] = 0;
break;
}
for (i = 0; i < instance [1]; i++)
instance [2 + i] = data->inetCidrRouteDest[i];
/*inetCidrRoutePfxLen*/
instance [instance[1] + 2] = data->inetCidrRoutePfxLen;
/*inetCidrRoutePolicy*/
j = instance[1] + 3;
for( i = 0; i < 3; i++){
instance[j+i] = data->inetCidrRoutePolicy[i];
}
/*inetCidrRouteNextHopType*/
j = instance [1] + 3 + 3;
instance [j] = data->inetCidrRouteNextHopType;
/*inetCidrRouteNextHop*/
switch(instance[j])
{
case ipVersion_ipv4:
case ipVersion_ipv4z:
instance [j+1] = 4;
break;
case ipVersion_ipv6:
case ipVersion_ipv6z:
instance [j+1] = 16;
break;
default:
instance [j+1] = 0;
break;
}
for (i = 0; i < instance [j+1] ;i++)
instance [j + 2 + i] = data->inetCidrRouteNextHop[i];
return (j + 2 + instance [j + 1]);
}
static int
inetCidrRouteEntry_callback (Ipcom_mib2_InetCidrRouteEntry * entry,
void *user)
{
inetCidrRouteEntry_cookie_t * cookie = (inetCidrRouteEntry_cookie_t *)user;
boolean_t stopIterating = FALSE;
boolean_t saveData = FALSE;
OIDC_T instance [inetCidrRouteEntry_MAX_INSTANCE_LEN];
unsigned instanceLen = 0;
int cmpval = 0;
instanceLen = inetCidrRouteEntry_build_instance (entry, instance);
cmpval = oidcmp2 (instanceLen, instance, cookie->tcount, cookie->tlist);
if (cookie->getnext)
{
if (cmpval > 0)
{
if (cookie->dataPtr == NULL)
saveData = TRUE;
else
{
OIDC_T prevInstance [inetCidrRouteEntry_MAX_INSTANCE_LEN];
unsigned prevInstanceLen = 0;
prevInstanceLen = inetCidrRouteEntry_build_instance (cookie->dataPtr,
prevInstance);
if (oidcmp2 (instanceLen, instance, prevInstanceLen, prevInstance) < 0)
saveData = TRUE;
}
}
}
else /* Get exact */
{
if (cmpval == 0)
{
saveData = TRUE;
stopIterating = TRUE;
}
}
if (saveData)
{
if (cookie->dataPtr == NULL)
cookie->dataPtr = SNMP_memory_alloc (sizeof (Ipcom_mib2_InetCidrRouteEntry));
if (cookie->dataPtr != NULL)
memcpy (cookie->dataPtr, entry, sizeof (Ipcom_mib2_InetCidrRouteEntry));
}
/* Return values defined are part of callback API. */
return (stopIterating? 1: 0);
}
static Ipcom_mib2_InetCidrRouteEntry*
inetCidrRouteEntry_lookup (int tcount,
OIDC_T * tlist,
boolean_t getnext)
{
inetCidrRouteEntry_cookie_t cookie;
/* Make sure the instance length is correct if we need an exact match. */
/*if (!getnext && (tcount != inetCidrRouteEntry_MAX_INSTANCE_LEN))
return (NULL);*/
cookie.tcount = tcount;
cookie.tlist = tlist;
cookie.dataPtr = NULL;
cookie.getnext = getnext;
ipcom_mib2_iterate_inetCidrRouteTable(inetCidrRouteEntry_callback,(void *)&cookie);
return (cookie.dataPtr);
}
static int inetCidrRouteEntry_get_value
(
OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
Ipcom_mib2_InetCidrRouteEntry *data)
{
switch(lastmatch)
{
case LEAF_inetCidrRouteIfIndex:
getproc_got_int32(pktp, vbp,
data->inetCidrRouteIfIndex);
break;
case LEAF_inetCidrRouteType:
/* Values:
* other(1) = VAL_inetCidrRouteType_other
* reject(2) = VAL_inetCidrRouteType_reject
* local(3) = VAL_inetCidrRouteType_local
* remote(4) = VAL_inetCidrRouteType_remote
* blackhole(5) = VAL_inetCidrRouteType_blackhole
*/
getproc_got_int32(pktp, vbp, data->inetCidrRouteType);
break;
case LEAF_inetCidrRouteProto:
/* Values:
* other(1) = VAL_inetCidrRouteProto_other
* local(2) = VAL_inetCidrRouteProto_local
* netmgmt(3) = VAL_inetCidrRouteProto_netmgmt
* icmp(4) = VAL_inetCidrRouteProto_icmp
* egp(5) = VAL_inetCidrRouteProto_egp
* ggp(6) = VAL_inetCidrRouteProto_ggp
* hello(7) = VAL_inetCidrRouteProto_hello
* rip(8) = VAL_inetCidrRouteProto_rip
* isIs(9) = VAL_inetCidrRouteProto_isIs
* esIs(10) = VAL_inetCidrRouteProto_esIs
* ciscoIgrp(11) = VAL_inetCidrRouteProto_ciscoIgrp
* bbnSpfIgp(12) = VAL_inetCidrRouteProto_bbnSpfIgp
* ospf(13) = VAL_inetCidrRouteProto_ospf
* bgp(14) = VAL_inetCidrRouteProto_bgp
* idpr(15) = VAL_inetCidrRouteProto_idpr
* ciscoEigrp(16) = VAL_inetCidrRouteProto_ciscoEigrp
* dvmrp(17) = VAL_inetCidrRouteProto_dvmrp
*/
getproc_got_int32(pktp, vbp, data->inetCidrRouteProto);
break;
case LEAF_inetCidrRouteAge:
getproc_got_uint32(pktp, vbp, data->inetCidrRouteAge, VT_GAUGE);
break;
case LEAF_inetCidrRouteNextHopAS:
getproc_got_uint32(pktp, vbp, data->inetCidrRouteNextHopAS, VT_GAUGE);
break;
case LEAF_inetCidrRouteMetric1:
getproc_got_int32(pktp, vbp, data->inetCidrRouteMetric1);
case LEAF_inetCidrRouteMetric2:
getproc_got_int32(pktp, vbp, data->inetCidrRouteMetric2);
break;
case LEAF_inetCidrRouteMetric3:
getproc_got_int32(pktp, vbp, data->inetCidrRouteMetric3);
break;
case LEAF_inetCidrRouteMetric4:
getproc_got_int32(pktp, vbp, data->inetCidrRouteMetric4);
break;
case LEAF_inetCidrRouteMetric5:
getproc_got_int32(pktp, vbp, data->inetCidrRouteMetric5);
break;
case LEAF_inetCidrRouteStatus:
/* Values:
* active(1) = VAL_inetCidrRouteStatus_active
* notInService(2) = VAL_inetCidrRouteStatus_notInService
* notReady(3) = VAL_inetCidrRouteStatus_notReady
* createAndGo(4) = VAL_inetCidrRouteStatus_createAndGo
* createAndWait(5) = VAL_inetCidrRouteStatus_createAndWait
* destroy(6) = VAL_inetCidrRouteStatus_destroy
*/
getproc_got_int32(pktp, vbp, data->inetCidrRouteStatus);
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
void inetCidrRouteEntry_get
(
OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp
)
{
Ipcom_mib2_InetCidrRouteEntry* data;
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance (pktp, vbp, tcount, tlist);
if ((data = inetCidrRouteEntry_lookup (tcount, tlist, FALSE)) == NULL)
{
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins (pktp, vbp);
}
else
{
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link)
{
if ((error = inetCidrRouteEntry_get_value (vbp->vb_ml.ml_last_match, pktp, vbp, data)) != NO_ERROR)
getproc_error (pktp, vbp, error);
}
SNMP_memory_free (data);
}
}
void inetCidrRouteEntry_next
(
OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp
)
{
Ipcom_mib2_InetCidrRouteEntry* data;
OIDC_T best_inst [inetCidrRouteEntry_MAX_INSTANCE_LEN];
int error;
unsigned best_inst_len;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance (pktp, vbp, tcount, tlist);
if ((data = inetCidrRouteEntry_lookup (tcount, tlist, TRUE)) != NULL)
{
best_inst_len = inetCidrRouteEntry_build_instance (data, best_inst);
/* we found a next so get the values and set the instance for all
* the varbinds for this row of this table. */
for ( ; vbp ; vbp = vbp->vb_link)
{
if ((error = inetCidrRouteEntry_get_value (vbp->vb_ml.ml_last_match, pktp, vbp, data)) == NO_ERROR)
nextproc_next_instance (pktp, vbp, best_inst_len, best_inst);
else
nextproc_error (pktp, vbp, error);
}
SNMP_memory_free (data);
}
else /* there's no more in this table */
{
for ( ; vbp ; vbp = vbp->vb_link )
nextproc_no_next (pktp, vbp);
}
}
void inetCidrRouteEntry_test
(
OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp
)
{
/* No SNMP modification of routing table permitted */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
for ( ; vbp ; vbp = vbp->vb_link )
testproc_error (pktp, vbp, WRONG_VALUE);
}
void inetCidrRouteEntry_set
(
OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp
)
{
/* If we ever get here, something is seriously wrong. */
for ( ; vbp; vbp = vbp->vb_link)
setproc_error (pktp, vbp, COMMIT_FAILED);
}
/*
* Method routines for the ipForward variables:
*
* inetCidrRouteNumber -- read-only
* The number of current inetCidrRouteTable entries that
* are not invalid.
*
* inetCidrRouteDiscards -- read-only
* The number of valid route entries discarded from the
* inetCidrRouteTable. Discarded route entries do not
* appear in the inetCidrRouteTable. One possible reason
* for discarding an entry would be to free-up buffer space
* for other route table entries.
*/
/* An internal routine to retrieve the values of the variables, used
* by the method routines ipForward_get and ipForward_next.
*/
static int ipForward_lookup(ipForward_data_t * dataP)
{
int retVal = 0;
retVal |= ipcom_mib2_get_inetCidrRouteNumber(&(dataP->inetCidrRouteNumber));
retVal |= ipcom_mib2_get_inetCidrRouteDiscards(&(dataP->inetCidrRouteDiscards));
return (retVal);
}
static int ipForward_get_value
(
OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
ipForward_data_t *data
)
{
switch(lastmatch)
{
case LEAF_inetCidrRouteNumber:
getproc_got_uint32(pktp, vbp, data->inetCidrRouteNumber, VT_GAUGE);
break;
case LEAF_inetCidrRouteDiscards:
getproc_got_uint32(pktp, vbp,
data->inetCidrRouteDiscards,
VT_COUNTER);
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
void ipForward_get
(
OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp
)
{
ipForward_data_t data;
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance (pktp, vbp, tcount, tlist);
/* check that the instance is exactly .0 */
if (!((tcount == 1) && (*tlist == 0)))
{
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins(pktp, vbp);
}
else if (ipForward_lookup(&data) != 0)
{
for ( ; vbp; vbp = vbp->vb_link)
getproc_error(pktp, vbp, GEN_ERR);
}
else
{
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link)
{
if ((error = ipForward_get_value (vbp->vb_ml.ml_last_match, pktp, vbp, &data)) != NO_ERROR)
getproc_error(pktp, vbp, error);
}
}
}
+665
View File
@@ -0,0 +1,665 @@
-- This file was automatically generated by Wind River's
-- MIB Compiler, version 10.1.
-- This file was generated using the -partialm switch.
--
-- YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
-- BY REGENERATING IT WITH THE MIB COMPILER.
--
-- Last build date: Mon Jul 9 13:55:44 2007
-- from file:
-- /home/n/interpeak/mipmib/wrsnmp/rfc2006.mib
MIP-MIB-A
-- put your FORCE-INCLUDE's here
--
--FORCE-INCLUDE <wrn/wm/snmp/engine/mib.h>
--FORCE-INCLUDE <wrn/wm/snmp/engine/snmpdefs.h>
--FORCE-INCLUDE <wrn/wm/snmp/engine/snmpstat.h>
--FORCE-INCLUDE "mip4_mibhand.h"
-- put your global DEFAULT's here
--
-- put your EXCLUDE's here
--
--EXCLUDE mipSecViolationTable
--EXCLUDE faVisitorEntry
--EXCLUDE faAdvertisement
--EXCLUDE faCOAEntry
--EXCLUDE maAdvertisement
--EXCLUDE maAdvConfigEntry
--EXCLUDE mnRegistration
--EXCLUDE mnRegistrationEntry
--EXCLUDE mnDiscovery
--EXCLUDE mnRecentAdvReceived
--EXCLUDE mnFAEntry
--EXCLUDE mnHAEntry
--EXCLUDE mnSystem
--EXCLUDE mipSecurity
--EXCLUDE mipSecAssocEntry
--EXCLUDE mipSystem
--EXCLUDE haRegistration
DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-TYPE
FROM SNMPv2-SMI;
-- Below is an OBJECT-TYPE entry for every object in the
-- MIP-MIB MIB module.
-- You may position DEFAULT statements at any point in the MIB tree
-- by putting them inside the appropriate OBJECT-TYPE declaration.
-- You need not modify any to which you don't want to add DEFAULTs.
-- (Or, you may remove any OBJECT-TYPE declaration to which you
-- don't add DEFAULT statements, as long as you don't add DEFAULT
-- statements to any of its descendants that reference its
-- descriptor, directly or indirectly.)
zeroDotZero OBJECT-TYPE
::= { ccitt 0 }
org OBJECT-TYPE
::= { iso 3 }
dod OBJECT-TYPE
::= { org 6 }
internet OBJECT-TYPE
::= { dod 1 }
directory OBJECT-TYPE
::= { internet 1 }
mgmt OBJECT-TYPE
::= { internet 2 }
mib-2 OBJECT-TYPE
::= { mgmt 1 }
mipMIB OBJECT-TYPE
--DEFAULT node-type {replaceable}
::= { mib-2 44 }
mipMIBObjects OBJECT-TYPE
::= { mipMIB 1 }
mipSystem OBJECT-TYPE
::= { mipMIBObjects 1 }
mipEntities OBJECT-TYPE
::= { mipSystem 1 }
mipEnable OBJECT-TYPE
::= { mipSystem 2 }
mipEncapsulationSupported OBJECT-TYPE
::= { mipSystem 3 }
mipSecurity OBJECT-TYPE
::= { mipMIBObjects 2 }
mipSecAssocTable OBJECT-TYPE
::= { mipSecurity 1 }
mipSecAssocEntry OBJECT-TYPE
::= { mipSecAssocTable 1 }
mipSecPeerAddress OBJECT-TYPE
::= { mipSecAssocEntry 1 }
mipSecSPI OBJECT-TYPE
::= { mipSecAssocEntry 2 }
mipSecAlgorithmType OBJECT-TYPE
::= { mipSecAssocEntry 3 }
mipSecAlgorithmMode OBJECT-TYPE
::= { mipSecAssocEntry 4 }
mipSecKey OBJECT-TYPE
::= { mipSecAssocEntry 5 }
mipSecReplayMethod OBJECT-TYPE
::= { mipSecAssocEntry 6 }
mipSecTotalViolations OBJECT-TYPE
::= { mipSecurity 2 }
mipSecViolationTable OBJECT-TYPE
::= { mipSecurity 3 }
mipSecViolationEntry OBJECT-TYPE
::= { mipSecViolationTable 1 }
mipSecViolatorAddress OBJECT-TYPE
::= { mipSecViolationEntry 1 }
mipSecViolationCounter OBJECT-TYPE
::= { mipSecViolationEntry 2 }
mipSecRecentViolationSPI OBJECT-TYPE
::= { mipSecViolationEntry 3 }
mipSecRecentViolationTime OBJECT-TYPE
::= { mipSecViolationEntry 4 }
mipSecRecentViolationIDLow OBJECT-TYPE
::= { mipSecViolationEntry 5 }
mipSecRecentViolationIDHigh OBJECT-TYPE
::= { mipSecViolationEntry 6 }
mipSecRecentViolationReason OBJECT-TYPE
::= { mipSecViolationEntry 7 }
mipMN OBJECT-TYPE
::= { mipMIBObjects 3 }
mnSystem OBJECT-TYPE
::= { mipMN 1 }
mnState OBJECT-TYPE
::= { mnSystem 1 }
mnHomeAddress OBJECT-TYPE
::= { mnSystem 2 }
mnHATable OBJECT-TYPE
::= { mnSystem 3 }
mnHAEntry OBJECT-TYPE
::= { mnHATable 1 }
mnHAAddress OBJECT-TYPE
::= { mnHAEntry 1 }
mnCurrentHA OBJECT-TYPE
::= { mnHAEntry 2 }
mnHAStatus OBJECT-TYPE
::= { mnHAEntry 3 }
mnDiscovery OBJECT-TYPE
::= { mipMN 2 }
mnFATable OBJECT-TYPE
::= { mnDiscovery 1 }
mnFAEntry OBJECT-TYPE
::= { mnFATable 1 }
mnFAAddress OBJECT-TYPE
::= { mnFAEntry 1 }
mnCOA OBJECT-TYPE
::= { mnFAEntry 2 }
mnRecentAdvReceived OBJECT-TYPE
::= { mnDiscovery 2 }
mnAdvSourceAddress OBJECT-TYPE
::= { mnRecentAdvReceived 1 }
mnAdvSequence OBJECT-TYPE
::= { mnRecentAdvReceived 2 }
mnAdvFlags OBJECT-TYPE
::= { mnRecentAdvReceived 3 }
mnAdvMaxRegLifetime OBJECT-TYPE
::= { mnRecentAdvReceived 4 }
mnAdvMaxAdvLifetime OBJECT-TYPE
::= { mnRecentAdvReceived 5 }
mnAdvTimeReceived OBJECT-TYPE
::= { mnRecentAdvReceived 6 }
mnSolicitationsSent OBJECT-TYPE
::= { mnDiscovery 3 }
mnAdvertisementsReceived OBJECT-TYPE
::= { mnDiscovery 4 }
mnAdvsDroppedInvalidExtension OBJECT-TYPE
::= { mnDiscovery 5 }
mnAdvsIgnoredUnknownExtension OBJECT-TYPE
::= { mnDiscovery 6 }
mnMoveFromHAToFA OBJECT-TYPE
::= { mnDiscovery 7 }
mnMoveFromFAToFA OBJECT-TYPE
::= { mnDiscovery 8 }
mnMoveFromFAToHA OBJECT-TYPE
::= { mnDiscovery 9 }
mnGratuitousARPsSend OBJECT-TYPE
::= { mnDiscovery 10 }
mnAgentRebootsDectected OBJECT-TYPE
::= { mnDiscovery 11 }
mnRegistration OBJECT-TYPE
::= { mipMN 3 }
mnRegistrationTable OBJECT-TYPE
::= { mnRegistration 1 }
mnRegistrationEntry OBJECT-TYPE
::= { mnRegistrationTable 1 }
mnRegAgentAddress OBJECT-TYPE
::= { mnRegistrationEntry 1 }
mnRegCOA OBJECT-TYPE
::= { mnRegistrationEntry 2 }
mnRegFlags OBJECT-TYPE
::= { mnRegistrationEntry 3 }
mnRegIDLow OBJECT-TYPE
::= { mnRegistrationEntry 4 }
mnRegIDHigh OBJECT-TYPE
::= { mnRegistrationEntry 5 }
mnRegTimeRequested OBJECT-TYPE
::= { mnRegistrationEntry 6 }
mnRegTimeRemaining OBJECT-TYPE
::= { mnRegistrationEntry 7 }
mnRegTimeSent OBJECT-TYPE
::= { mnRegistrationEntry 8 }
mnRegIsAccepted OBJECT-TYPE
::= { mnRegistrationEntry 9 }
mnCOAIsLocal OBJECT-TYPE
::= { mnRegistrationEntry 10 }
mnRegRequestsSent OBJECT-TYPE
::= { mnRegistration 2 }
mnDeRegRequestsSent OBJECT-TYPE
::= { mnRegistration 3 }
mnRegRepliesRecieved OBJECT-TYPE
::= { mnRegistration 4 }
mnDeRegRepliesRecieved OBJECT-TYPE
::= { mnRegistration 5 }
mnRepliesInvalidHomeAddress OBJECT-TYPE
::= { mnRegistration 6 }
mnRepliesUnknownHA OBJECT-TYPE
::= { mnRegistration 7 }
mnRepliesUnknownFA OBJECT-TYPE
::= { mnRegistration 8 }
mnRepliesInvalidID OBJECT-TYPE
::= { mnRegistration 9 }
mnRepliesDroppedInvalidExtension OBJECT-TYPE
::= { mnRegistration 10 }
mnRepliesIgnoredUnknownExtension OBJECT-TYPE
::= { mnRegistration 11 }
mnRepliesHAAuthenticationFailure OBJECT-TYPE
::= { mnRegistration 12 }
mnRepliesFAAuthenticationFailure OBJECT-TYPE
::= { mnRegistration 13 }
mnRegRequestsAccepted OBJECT-TYPE
::= { mnRegistration 14 }
mnRegRequestsDeniedByHA OBJECT-TYPE
::= { mnRegistration 15 }
mnRegRequestsDeniedByFA OBJECT-TYPE
::= { mnRegistration 16 }
mnRegRequestsDeniedByHADueToID OBJECT-TYPE
::= { mnRegistration 17 }
mnRegRequestsWithDirectedBroadcast OBJECT-TYPE
::= { mnRegistration 18 }
mipMA OBJECT-TYPE
::= { mipMIBObjects 4 }
maAdvertisement OBJECT-TYPE
::= { mipMA 2 }
maAdvConfigTable OBJECT-TYPE
::= { maAdvertisement 1 }
maAdvConfigEntry OBJECT-TYPE
::= { maAdvConfigTable 1 }
maInterfaceAddress OBJECT-TYPE
::= { maAdvConfigEntry 1 }
maAdvMaxRegLifetime OBJECT-TYPE
::= { maAdvConfigEntry 2 }
maAdvPrefixLengthInclusion OBJECT-TYPE
::= { maAdvConfigEntry 3 }
maAdvAddress OBJECT-TYPE
::= { maAdvConfigEntry 4 }
maAdvMaxInterval OBJECT-TYPE
::= { maAdvConfigEntry 5 }
maAdvMinInterval OBJECT-TYPE
::= { maAdvConfigEntry 6 }
maAdvMaxAdvLifetime OBJECT-TYPE
::= { maAdvConfigEntry 7 }
maAdvResponseSolicitationOnly OBJECT-TYPE
::= { maAdvConfigEntry 8 }
maAdvStatus OBJECT-TYPE
::= { maAdvConfigEntry 9 }
maAdvertisementsSent OBJECT-TYPE
::= { maAdvertisement 2 }
maAdvsSentForSolicitation OBJECT-TYPE
::= { maAdvertisement 3 }
maSolicitationsReceived OBJECT-TYPE
::= { maAdvertisement 4 }
mipFA OBJECT-TYPE
::= { mipMIBObjects 5 }
faSystem OBJECT-TYPE
::= { mipFA 1 }
faCOATable OBJECT-TYPE
::= { faSystem 1 }
faCOAEntry OBJECT-TYPE
::= { faCOATable 1 }
faSupportedCOA OBJECT-TYPE
::= { faCOAEntry 1 }
faCOAStatus OBJECT-TYPE
::= { faCOAEntry 2 }
faAdvertisement OBJECT-TYPE
::= { mipFA 2 }
faIsBusy OBJECT-TYPE
::= { faAdvertisement 1 }
faRegistrationRequired OBJECT-TYPE
::= { faAdvertisement 2 }
faRegistration OBJECT-TYPE
::= { mipFA 3 }
faVisitorTable OBJECT-TYPE
::= { faRegistration 1 }
faVisitorEntry OBJECT-TYPE
::= { faVisitorTable 1 }
faVisitorIPAddress OBJECT-TYPE
::= { faVisitorEntry 1 }
faVisitorHomeAddress OBJECT-TYPE
::= { faVisitorEntry 2 }
faVisitorHomeAgentAddress OBJECT-TYPE
::= { faVisitorEntry 3 }
faVisitorTimeGranted OBJECT-TYPE
::= { faVisitorEntry 4 }
faVisitorTimeRemaining OBJECT-TYPE
::= { faVisitorEntry 5 }
faVisitorRegFlags OBJECT-TYPE
::= { faVisitorEntry 6 }
faVisitorRegIDLow OBJECT-TYPE
::= { faVisitorEntry 7 }
faVisitorRegIDHigh OBJECT-TYPE
::= { faVisitorEntry 8 }
faVisitorRegIsAccepted OBJECT-TYPE
::= { faVisitorEntry 9 }
faRegRequestsReceived OBJECT-TYPE
::= { faRegistration 2 }
faRegRequestsRelayed OBJECT-TYPE
::= { faRegistration 3 }
faReasonUnspecified OBJECT-TYPE
::= { faRegistration 4 }
faAdmProhibited OBJECT-TYPE
::= { faRegistration 5 }
faInsufficientResource OBJECT-TYPE
::= { faRegistration 6 }
faMNAuthenticationFailure OBJECT-TYPE
::= { faRegistration 7 }
faRegLifetimeTooLong OBJECT-TYPE
::= { faRegistration 8 }
faPoorlyFormedRequests OBJECT-TYPE
::= { faRegistration 9 }
faEncapsulationUnavailable OBJECT-TYPE
::= { faRegistration 10 }
faVJCompressionUnavailable OBJECT-TYPE
::= { faRegistration 11 }
faHAUnreachable OBJECT-TYPE
::= { faRegistration 12 }
faRegRepliesRecieved OBJECT-TYPE
::= { faRegistration 13 }
faRegRepliesRelayed OBJECT-TYPE
::= { faRegistration 14 }
faHAAuthenticationFailure OBJECT-TYPE
::= { faRegistration 15 }
faPoorlyFormedReplies OBJECT-TYPE
::= { faRegistration 16 }
mipHA OBJECT-TYPE
::= { mipMIBObjects 6 }
haRegistration OBJECT-TYPE
::= { mipHA 3 }
haMobilityBindingTable OBJECT-TYPE
::= { haRegistration 1 }
haMobilityBindingEntry OBJECT-TYPE
::= { haMobilityBindingTable 1 }
haMobilityBindingMN OBJECT-TYPE
::= { haMobilityBindingEntry 1 }
haMobilityBindingCOA OBJECT-TYPE
::= { haMobilityBindingEntry 2 }
haMobilityBindingSourceAddress OBJECT-TYPE
::= { haMobilityBindingEntry 3 }
haMobilityBindingRegFlags OBJECT-TYPE
::= { haMobilityBindingEntry 4 }
haMobilityBindingRegIDLow OBJECT-TYPE
::= { haMobilityBindingEntry 5 }
haMobilityBindingRegIDHigh OBJECT-TYPE
::= { haMobilityBindingEntry 6 }
haMobilityBindingTimeGranted OBJECT-TYPE
::= { haMobilityBindingEntry 7 }
haMobilityBindingTimeRemaining OBJECT-TYPE
::= { haMobilityBindingEntry 8 }
haCounterTable OBJECT-TYPE
::= { haRegistration 2 }
haCounterEntry OBJECT-TYPE
::= { haCounterTable 1 }
haServiceRequestsAccepted OBJECT-TYPE
::= { haCounterEntry 2 }
haServiceRequestsDenied OBJECT-TYPE
::= { haCounterEntry 3 }
haOverallServiceTime OBJECT-TYPE
::= { haCounterEntry 4 }
haRecentServiceAcceptedTime OBJECT-TYPE
::= { haCounterEntry 5 }
haRecentServiceDeniedTime OBJECT-TYPE
::= { haCounterEntry 6 }
haRecentServiceDeniedCode OBJECT-TYPE
::= { haCounterEntry 7 }
haRegistrationAccepted OBJECT-TYPE
::= { haRegistration 3 }
haMultiBindingUnsupported OBJECT-TYPE
::= { haRegistration 4 }
haReasonUnspecified OBJECT-TYPE
::= { haRegistration 5 }
haAdmProhibited OBJECT-TYPE
::= { haRegistration 6 }
haInsufficientResource OBJECT-TYPE
::= { haRegistration 7 }
haMNAuthenticationFailure OBJECT-TYPE
::= { haRegistration 8 }
haFAAuthenticationFailure OBJECT-TYPE
::= { haRegistration 9 }
haIDMismatch OBJECT-TYPE
::= { haRegistration 10 }
haPoorlyFormedRequest OBJECT-TYPE
::= { haRegistration 11 }
haTooManyBindings OBJECT-TYPE
::= { haRegistration 12 }
haUnknownHA OBJECT-TYPE
::= { haRegistration 13 }
haGratuitiousARPsSent OBJECT-TYPE
::= { haRegistration 14 }
haProxyARPsSent OBJECT-TYPE
::= { haRegistration 15 }
haRegRequestsReceived OBJECT-TYPE
::= { haRegistration 16 }
haDeRegRequestsReceived OBJECT-TYPE
::= { haRegistration 17 }
haRegRepliesSent OBJECT-TYPE
::= { haRegistration 18 }
haDeRegRepliesSent OBJECT-TYPE
::= { haRegistration 19 }
mipMIBNotificationPrefix OBJECT-TYPE
::= { mipMIB 2 }
mipMIBNotifications OBJECT-TYPE
::= { mipMIBNotificationPrefix 0 }
mipAuthFailure OBJECT-TYPE
::= { mipMIBNotifications 1 }
mipMIBConformance OBJECT-TYPE
::= { mipMIB 3 }
mipGroups OBJECT-TYPE
::= { mipMIBConformance 1 }
mipSystemGroup OBJECT-TYPE
::= { mipGroups 1 }
mipSecAssociationGroup OBJECT-TYPE
::= { mipGroups 2 }
mipSecViolationGroup OBJECT-TYPE
::= { mipGroups 3 }
mnSystemGroup OBJECT-TYPE
::= { mipGroups 4 }
mnDiscoveryGroup OBJECT-TYPE
::= { mipGroups 5 }
mnRegistrationGroup OBJECT-TYPE
::= { mipGroups 6 }
maAdvertisementGroup OBJECT-TYPE
::= { mipGroups 7 }
faSystemGroup OBJECT-TYPE
::= { mipGroups 8 }
faAdvertisementGroup OBJECT-TYPE
::= { mipGroups 9 }
faRegistrationGroup OBJECT-TYPE
::= { mipGroups 10 }
haRegistrationGroup OBJECT-TYPE
::= { mipGroups 11 }
haRegNodeCountersGroup OBJECT-TYPE
::= { mipGroups 12 }
mipSecNotifcationsGroup OBJECT-TYPE
::= { mipGroups 13 }
mipCompliances OBJECT-TYPE
::= { mipMIBConformance 2 }
mipCompliance OBJECT-TYPE
::= { mipCompliances 1 }
END
@@ -0,0 +1,369 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -mib.c switch.
****
**** This file contains a representation of a MIB tree suitable
**** for use by an SNMP agent running Wind River's WindManage SNMP package.
****
**** DO NOT EDIT THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:27 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2006.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/mip4.ctl
**** starting from node: mipMIB
******************************************************************************
******************************************************************************
*/
#define _MIB 1
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmpstat.h>
#include "mip4_mibhand.h"
#ifndef STATIC
#define STATIC static
#endif
/**
** Subtree Object Identifier for Add_Node_From_Root
** mipMIB OBJECT IDENTIFIER ::= { mib-2 44 }
**/
STATIC OIDC_T oid_mip4_root_node[] = { 1, 3, 6, 1, 2, 1, 44 };
OBJ_ID_T objid_mip4_root_node = {
sizeof(oid_mip4_root_node)/sizeof(OIDC_T),
oid_mip4_root_node
};
STATIC
MIBARC_T a_mipMN[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipMN = NODE_NT("mipMN",
REPLACEABLE, a_mipMN);
STATIC
MIBARC_T a_mipMA[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipMA = NODE_NT("mipMA",
REPLACEABLE, a_mipMA);
STATIC
MIBARC_T a_faCOATable[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_faCOATable = NODE_NT("faCOATable",
REPLACEABLE, a_faCOATable);
STATIC
MIBARC_T a_faSystem[] = {
ARC(1, n_faCOATable),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_faSystem = NODE_NT("faSystem",
REPLACEABLE, a_faSystem);
STATIC
MIBARC_T a_faVisitorTable[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_faVisitorTable = NODE_NT("faVisitorTable",
REPLACEABLE, a_faVisitorTable);
LEAF_NT_ASYS( l_faRegRequestsReceived, REPLACEABLE, "faRegRequestsReceived", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faRegRequestsRelayed, REPLACEABLE, "faRegRequestsRelayed", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faReasonUnspecified, REPLACEABLE, "faReasonUnspecified", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faAdmProhibited, REPLACEABLE, "faAdmProhibited", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faInsufficientResource, REPLACEABLE, "faInsufficientResource", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faMNAuthenticationFailure, REPLACEABLE, "faMNAuthenticationFailure", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faRegLifetimeTooLong, REPLACEABLE, "faRegLifetimeTooLong", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faPoorlyFormedRequests, REPLACEABLE, "faPoorlyFormedRequests", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faEncapsulationUnavailable, REPLACEABLE, "faEncapsulationUnavailable", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faVJCompressionUnavailable, REPLACEABLE, "faVJCompressionUnavailable", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faHAUnreachable, REPLACEABLE, "faHAUnreachable", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faRegRepliesRecieved, REPLACEABLE, "faRegRepliesRecieved", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faRegRepliesRelayed, REPLACEABLE, "faRegRepliesRelayed", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faHAAuthenticationFailure, REPLACEABLE, "faHAAuthenticationFailure", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_faPoorlyFormedReplies, REPLACEABLE, "faPoorlyFormedReplies", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
faRegistration_get, null_set_async, faRegistration_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_faRegistration[] = {
ARC(1, n_faVisitorTable),
ARC(2, l_faRegRequestsReceived),
ARC(3, l_faRegRequestsRelayed),
ARC(4, l_faReasonUnspecified),
ARC(5, l_faAdmProhibited),
ARC(6, l_faInsufficientResource),
ARC(7, l_faMNAuthenticationFailure),
ARC(8, l_faRegLifetimeTooLong),
ARC(9, l_faPoorlyFormedRequests),
ARC(10, l_faEncapsulationUnavailable),
ARC(11, l_faVJCompressionUnavailable),
ARC(12, l_faHAUnreachable),
ARC(13, l_faRegRepliesRecieved),
ARC(14, l_faRegRepliesRelayed),
ARC(15, l_faHAAuthenticationFailure),
ARC(16, l_faPoorlyFormedReplies),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_faRegistration = NODE_NT("faRegistration",
REPLACEABLE, a_faRegistration);
STATIC
MIBARC_T a_mipFA[] = {
ARC(1, n_faSystem),
ARC(3, n_faRegistration),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipFA = NODE_NT("mipFA",
REPLACEABLE, a_mipFA);
STATIC
MIBARC_T a_mipHA[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipHA = NODE_NT("mipHA",
REPLACEABLE, a_mipHA);
STATIC
MIBARC_T a_mipMIBObjects[] = {
ARC(3, n_mipMN),
ARC(4, n_mipMA),
ARC(5, n_mipFA),
ARC(6, n_mipHA),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipMIBObjects = NODE_NT("mipMIBObjects",
REPLACEABLE, a_mipMIBObjects);
STATIC
MIBARC_T a_mipAuthFailure[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipAuthFailure = NODE_NT("mipAuthFailure",
REPLACEABLE, a_mipAuthFailure);
STATIC
MIBARC_T a_mipMIBNotifications[] = {
ARC(1, n_mipAuthFailure),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipMIBNotifications = NODE_NT("mipMIBNotifications",
REPLACEABLE, a_mipMIBNotifications);
STATIC
MIBARC_T a_mipMIBNotificationPrefix[] = {
ARC(0, n_mipMIBNotifications),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipMIBNotificationPrefix = NODE_NT("mipMIBNotificationPrefix",
REPLACEABLE, a_mipMIBNotificationPrefix);
STATIC
MIBARC_T a_mipSystemGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipSystemGroup = NODE_NT("mipSystemGroup",
REPLACEABLE, a_mipSystemGroup);
STATIC
MIBARC_T a_mipSecAssociationGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipSecAssociationGroup = NODE_NT("mipSecAssociationGroup",
REPLACEABLE, a_mipSecAssociationGroup);
STATIC
MIBARC_T a_mipSecViolationGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipSecViolationGroup = NODE_NT("mipSecViolationGroup",
REPLACEABLE, a_mipSecViolationGroup);
STATIC
MIBARC_T a_mnSystemGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mnSystemGroup = NODE_NT("mnSystemGroup",
REPLACEABLE, a_mnSystemGroup);
STATIC
MIBARC_T a_mnDiscoveryGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mnDiscoveryGroup = NODE_NT("mnDiscoveryGroup",
REPLACEABLE, a_mnDiscoveryGroup);
STATIC
MIBARC_T a_mnRegistrationGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mnRegistrationGroup = NODE_NT("mnRegistrationGroup",
REPLACEABLE, a_mnRegistrationGroup);
STATIC
MIBARC_T a_maAdvertisementGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_maAdvertisementGroup = NODE_NT("maAdvertisementGroup",
REPLACEABLE, a_maAdvertisementGroup);
STATIC
MIBARC_T a_faSystemGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_faSystemGroup = NODE_NT("faSystemGroup",
REPLACEABLE, a_faSystemGroup);
STATIC
MIBARC_T a_faAdvertisementGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_faAdvertisementGroup = NODE_NT("faAdvertisementGroup",
REPLACEABLE, a_faAdvertisementGroup);
STATIC
MIBARC_T a_faRegistrationGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_faRegistrationGroup = NODE_NT("faRegistrationGroup",
REPLACEABLE, a_faRegistrationGroup);
STATIC
MIBARC_T a_haRegistrationGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_haRegistrationGroup = NODE_NT("haRegistrationGroup",
REPLACEABLE, a_haRegistrationGroup);
STATIC
MIBARC_T a_haRegNodeCountersGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_haRegNodeCountersGroup = NODE_NT("haRegNodeCountersGroup",
REPLACEABLE, a_haRegNodeCountersGroup);
STATIC
MIBARC_T a_mipSecNotifcationsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipSecNotifcationsGroup = NODE_NT("mipSecNotifcationsGroup",
REPLACEABLE, a_mipSecNotifcationsGroup);
STATIC
MIBARC_T a_mipGroups[] = {
ARC(1, n_mipSystemGroup),
ARC(2, n_mipSecAssociationGroup),
ARC(3, n_mipSecViolationGroup),
ARC(4, n_mnSystemGroup),
ARC(5, n_mnDiscoveryGroup),
ARC(6, n_mnRegistrationGroup),
ARC(7, n_maAdvertisementGroup),
ARC(8, n_faSystemGroup),
ARC(9, n_faAdvertisementGroup),
ARC(10, n_faRegistrationGroup),
ARC(11, n_haRegistrationGroup),
ARC(12, n_haRegNodeCountersGroup),
ARC(13, n_mipSecNotifcationsGroup),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipGroups = NODE_NT("mipGroups",
REPLACEABLE, a_mipGroups);
STATIC
MIBARC_T a_mipCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipCompliance = NODE_NT("mipCompliance",
REPLACEABLE, a_mipCompliance);
STATIC
MIBARC_T a_mipCompliances[] = {
ARC(1, n_mipCompliance),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipCompliances = NODE_NT("mipCompliances",
REPLACEABLE, a_mipCompliances);
STATIC
MIBARC_T a_mipMIBConformance[] = {
ARC(1, n_mipGroups),
ARC(2, n_mipCompliances),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mipMIBConformance = NODE_NT("mipMIBConformance",
REPLACEABLE, a_mipMIBConformance);
STATIC
MIBARC_T a_mipMIB[] = {
ARC(1, n_mipMIBObjects),
ARC(2, n_mipMIBNotificationPrefix),
ARC(3, n_mipMIBConformance),
END_OF_ARC_LIST };
MIBNODE_T mip4_root_node = NODE_NT("mipMIB",
REPLACEABLE, a_mipMIB);
@@ -0,0 +1,79 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -skel.h switch.
****
**** This file contains declarations of stub functions to aid in building
**** the agent MIB interface. It declares all the MIB get, set, test and
**** next method routines that you will need to supply. You'll probably
**** want to FORCE-INCLUDE this file when using the -mib.c output mode.
****
**** To generate the skeletal stub functions themselves, run the MIB compiler
**** with the -skel switch.
****
**** YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
**** BY REGENERATING IT WITH THE MIB COMPILER.
****
**** Last build date: Fri Apr 02 13:08:27 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2006.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/mip4.ctl
******************************************************************************
******************************************************************************
*/
void system_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void system_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void system_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void system_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void interfaces_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void interfaces_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void atEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void atEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void atEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void atEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddrEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddrEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipRouteEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipRouteEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipRouteEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipRouteEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToMediaEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToMediaEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToMediaEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToMediaEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmp_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcp_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udp_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udpEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udpEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egp_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egpNeighEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egpNeighEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egpNeighEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egpNeighEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmp_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmp_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmp_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void faRegistration_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void faRegistration_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,294 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.1.
**** This file was generated using the -leaf switch.
****
**** This file #defines C preprocessor macros providing a variety of
**** information for the leaf objects in the MIB.
****
**** The file includes a LEAF_xxx macro for each leaf object in the
**** MIB (xxx is replaced by the object's name). The value of the
**** LEAF_xxx macro is the final component of the object's object
**** identifier.
****
**** If the object's SYNTAX clause included named INTEGER values,
**** then there is a VAL_xxx_yyy macro for each named value (xxx is
**** replaced by the object's name and yyy by the value's name). The
**** value of the VAL_xxx_yyy macro is the value associated with the
**** named value.
****
**** If the object's SYNTAX clause specified a set of range limitations
**** for the value of the object, then there are one or more sets of
**** MIN_xxx and MAX_xxx macros specifying the lower and upper bound of
**** each range limitation.
****
**** If the object's SYNTAX clause specified a set of size constraints
**** for the value of the object, then there are one or more sets of
**** MINSIZE_xxx and MAXSIZE_xxx macros specifying the lower and upper
**** bound of each size constraint. (If the size constraint is a single
**** value rather than a range then the MINSIZE_xxx and MAXSIZE_xxx
**** macros are replaced by a single SIZE_xxx macro.)
****
**** DO NOT MODIFY THIS FILE BY HAND.
****
**** Last build date: Tue May 15 13:01:32 2007
**** from file:
**** rfc2006.mib
**** starting from node: mipMIB
******************************************************************************
******************************************************************************
*/
#ifdef WRSNMP
#define LEAF_mipEntities 1
#define VAL_mipEntities_mobileNode 0L
#define VAL_mipEntities_foreignAgent 1L
#define VAL_mipEntities_homeAgent 2L
#define LEAF_mipEnable 2
#define VAL_mipEnable_enabled 1L
#define VAL_mipEnable_disabled 2L
#define LEAF_mipEncapsulationSupported 3
#define VAL_mipEncapsulationSupported_ipInIp 0L
#define VAL_mipEncapsulationSupported_gre 1L
#define VAL_mipEncapsulationSupported_minEnc 2L
#define VAL_mipEncapsulationSupported_other 3L
#define LEAF_mipSecPeerAddress 1
#define LEAF_mipSecSPI 2
#define MIN_mipSecSPI 0L
#define MAX_mipSecSPI 4294967295L
#define LEAF_mipSecAlgorithmType 3
#define VAL_mipSecAlgorithmType_other 1L
#define VAL_mipSecAlgorithmType_md5 2L
#define LEAF_mipSecAlgorithmMode 4
#define VAL_mipSecAlgorithmMode_other 1L
#define VAL_mipSecAlgorithmMode_prefixSuffix 2L
#define LEAF_mipSecKey 5
#define SIZE_mipSecKey 16L
#define LEAF_mipSecReplayMethod 6
#define VAL_mipSecReplayMethod_other 1L
#define VAL_mipSecReplayMethod_timestamps 2L
#define VAL_mipSecReplayMethod_nonces 3L
#define LEAF_mipSecTotalViolations 2
#define LEAF_mipSecViolatorAddress 1
#define LEAF_mipSecViolationCounter 2
#define LEAF_mipSecRecentViolationSPI 3
#define LEAF_mipSecRecentViolationTime 4
#define LEAF_mipSecRecentViolationIDLow 5
#define LEAF_mipSecRecentViolationIDHigh 6
#define LEAF_mipSecRecentViolationReason 7
#define VAL_mipSecRecentViolationReason_noMobilitySecurityAssociation 1L
#define VAL_mipSecRecentViolationReason_badAuthenticator 2L
#define VAL_mipSecRecentViolationReason_badIdentifier 3L
#define VAL_mipSecRecentViolationReason_badSPI 4L
#define VAL_mipSecRecentViolationReason_missingSecurityExtension 5L
#define VAL_mipSecRecentViolationReason_other 6L
#define LEAF_mnState 1
#define VAL_mnState_home 1L
#define VAL_mnState_registered 2L
#define VAL_mnState_pending 3L
#define VAL_mnState_isolated 4L
#define VAL_mnState_unknown 5L
#define LEAF_mnHomeAddress 2
#define LEAF_mnHAAddress 1
#define LEAF_mnCurrentHA 2
#define VAL_mnCurrentHA_true 1L
#define VAL_mnCurrentHA_false 2L
#define LEAF_mnHAStatus 3
#define VAL_mnHAStatus_active 1L
#define VAL_mnHAStatus_notInService 2L
#define VAL_mnHAStatus_notReady 3L
#define VAL_mnHAStatus_createAndGo 4L
#define VAL_mnHAStatus_createAndWait 5L
#define VAL_mnHAStatus_destroy 6L
#define LEAF_mnFAAddress 1
#define LEAF_mnCOA 2
#define LEAF_mnAdvSourceAddress 1
#define LEAF_mnAdvSequence 2
#define MIN_mnAdvSequence 0L
#define MAX_mnAdvSequence 65535L
#define LEAF_mnAdvFlags 3
#define VAL_mnAdvFlags_vjCompression 0L
#define VAL_mnAdvFlags_gre 1L
#define VAL_mnAdvFlags_minEnc 2L
#define VAL_mnAdvFlags_foreignAgent 3L
#define VAL_mnAdvFlags_homeAgent 4L
#define VAL_mnAdvFlags_busy 5L
#define VAL_mnAdvFlags_regRequired 6L
#define LEAF_mnAdvMaxRegLifetime 4
#define MIN_mnAdvMaxRegLifetime 0L
#define MAX_mnAdvMaxRegLifetime 65535L
#define LEAF_mnAdvMaxAdvLifetime 5
#define MIN_mnAdvMaxAdvLifetime 0L
#define MAX_mnAdvMaxAdvLifetime 65535L
#define LEAF_mnAdvTimeReceived 6
#define LEAF_mnSolicitationsSent 3
#define LEAF_mnAdvertisementsReceived 4
#define LEAF_mnAdvsDroppedInvalidExtension 5
#define LEAF_mnAdvsIgnoredUnknownExtension 6
#define LEAF_mnMoveFromHAToFA 7
#define LEAF_mnMoveFromFAToFA 8
#define LEAF_mnMoveFromFAToHA 9
#define LEAF_mnGratuitousARPsSend 10
#define LEAF_mnAgentRebootsDectected 11
#define LEAF_mnRegAgentAddress 1
#define LEAF_mnRegCOA 2
#define LEAF_mnRegFlags 3
#define VAL_mnRegFlags_vjCompression 0L
#define VAL_mnRegFlags_gre 1L
#define VAL_mnRegFlags_minEnc 2L
#define VAL_mnRegFlags_decapsulationbyMN 3L
#define VAL_mnRegFlags_broadcastDatagram 4L
#define VAL_mnRegFlags_simultaneousBindings 5L
#define LEAF_mnRegIDLow 4
#define LEAF_mnRegIDHigh 5
#define LEAF_mnRegTimeRequested 6
#define LEAF_mnRegTimeRemaining 7
#define LEAF_mnRegTimeSent 8
#define LEAF_mnRegIsAccepted 9
#define VAL_mnRegIsAccepted_true 1L
#define VAL_mnRegIsAccepted_false 2L
#define LEAF_mnCOAIsLocal 10
#define VAL_mnCOAIsLocal_true 1L
#define VAL_mnCOAIsLocal_false 2L
#define LEAF_mnRegRequestsSent 2
#define LEAF_mnDeRegRequestsSent 3
#define LEAF_mnRegRepliesRecieved 4
#define LEAF_mnDeRegRepliesRecieved 5
#define LEAF_mnRepliesInvalidHomeAddress 6
#define LEAF_mnRepliesUnknownHA 7
#define LEAF_mnRepliesUnknownFA 8
#define LEAF_mnRepliesInvalidID 9
#define LEAF_mnRepliesDroppedInvalidExtension 10
#define LEAF_mnRepliesIgnoredUnknownExtension 11
#define LEAF_mnRepliesHAAuthenticationFailure 12
#define LEAF_mnRepliesFAAuthenticationFailure 13
#define LEAF_mnRegRequestsAccepted 14
#define LEAF_mnRegRequestsDeniedByHA 15
#define LEAF_mnRegRequestsDeniedByFA 16
#define LEAF_mnRegRequestsDeniedByHADueToID 17
#define LEAF_mnRegRequestsWithDirectedBroadcast 18
#define LEAF_maInterfaceAddress 1
#define LEAF_maAdvMaxRegLifetime 2
#define MIN_maAdvMaxRegLifetime 0L
#define MAX_maAdvMaxRegLifetime 65535L
#define LEAF_maAdvPrefixLengthInclusion 3
#define VAL_maAdvPrefixLengthInclusion_true 1L
#define VAL_maAdvPrefixLengthInclusion_false 2L
#define LEAF_maAdvAddress 4
#define LEAF_maAdvMaxInterval 5
#define MIN_maAdvMaxInterval 4L
#define MAX_maAdvMaxInterval 1800L
#define LEAF_maAdvMinInterval 6
#define MIN_maAdvMinInterval 3L
#define MAX_maAdvMinInterval 1800L
#define LEAF_maAdvMaxAdvLifetime 7
#define MIN_maAdvMaxAdvLifetime 4L
#define MAX_maAdvMaxAdvLifetime 9000L
#define LEAF_maAdvResponseSolicitationOnly 8
#define VAL_maAdvResponseSolicitationOnly_true 1L
#define VAL_maAdvResponseSolicitationOnly_false 2L
#define LEAF_maAdvStatus 9
#define VAL_maAdvStatus_active 1L
#define VAL_maAdvStatus_notInService 2L
#define VAL_maAdvStatus_notReady 3L
#define VAL_maAdvStatus_createAndGo 4L
#define VAL_maAdvStatus_createAndWait 5L
#define VAL_maAdvStatus_destroy 6L
#define LEAF_maAdvertisementsSent 2
#define LEAF_maAdvsSentForSolicitation 3
#define LEAF_maSolicitationsReceived 4
#define LEAF_faSupportedCOA 1
#define LEAF_faCOAStatus 2
#define VAL_faCOAStatus_active 1L
#define VAL_faCOAStatus_notInService 2L
#define VAL_faCOAStatus_notReady 3L
#define VAL_faCOAStatus_createAndGo 4L
#define VAL_faCOAStatus_createAndWait 5L
#define VAL_faCOAStatus_destroy 6L
#define LEAF_faIsBusy 1
#define VAL_faIsBusy_true 1L
#define VAL_faIsBusy_false 2L
#define LEAF_faRegistrationRequired 2
#define VAL_faRegistrationRequired_true 1L
#define VAL_faRegistrationRequired_false 2L
#define LEAF_faVisitorIPAddress 1
#define LEAF_faVisitorHomeAddress 2
#define LEAF_faVisitorHomeAgentAddress 3
#define LEAF_faVisitorTimeGranted 4
#define LEAF_faVisitorTimeRemaining 5
#define LEAF_faVisitorRegFlags 6
#define VAL_faVisitorRegFlags_vjCompression 0L
#define VAL_faVisitorRegFlags_gre 1L
#define VAL_faVisitorRegFlags_minEnc 2L
#define VAL_faVisitorRegFlags_decapsulationbyMN 3L
#define VAL_faVisitorRegFlags_broadcastDatagram 4L
#define VAL_faVisitorRegFlags_simultaneousBindings 5L
#define LEAF_faVisitorRegIDLow 7
#define LEAF_faVisitorRegIDHigh 8
#define LEAF_faVisitorRegIsAccepted 9
#define VAL_faVisitorRegIsAccepted_true 1L
#define VAL_faVisitorRegIsAccepted_false 2L
#define LEAF_faRegRequestsReceived 2
#define LEAF_faRegRequestsRelayed 3
#define LEAF_faReasonUnspecified 4
#define LEAF_faAdmProhibited 5
#define LEAF_faInsufficientResource 6
#define LEAF_faMNAuthenticationFailure 7
#define LEAF_faRegLifetimeTooLong 8
#define LEAF_faPoorlyFormedRequests 9
#define LEAF_faEncapsulationUnavailable 10
#define LEAF_faVJCompressionUnavailable 11
#define LEAF_faHAUnreachable 12
#define LEAF_faRegRepliesRecieved 13
#define LEAF_faRegRepliesRelayed 14
#define LEAF_faHAAuthenticationFailure 15
#define LEAF_faPoorlyFormedReplies 16
#define LEAF_haMobilityBindingMN 1
#define LEAF_haMobilityBindingCOA 2
#define LEAF_haMobilityBindingSourceAddress 3
#define LEAF_haMobilityBindingRegFlags 4
#define VAL_haMobilityBindingRegFlags_vjCompression 0L
#define VAL_haMobilityBindingRegFlags_gre 1L
#define VAL_haMobilityBindingRegFlags_minEnc 2L
#define VAL_haMobilityBindingRegFlags_decapsulationbyMN 3L
#define VAL_haMobilityBindingRegFlags_broadcastDatagram 4L
#define VAL_haMobilityBindingRegFlags_simultaneousBindings 5L
#define LEAF_haMobilityBindingRegIDLow 5
#define LEAF_haMobilityBindingRegIDHigh 6
#define LEAF_haMobilityBindingTimeGranted 7
#define LEAF_haMobilityBindingTimeRemaining 8
#define LEAF_haServiceRequestsAccepted 2
#define LEAF_haServiceRequestsDenied 3
#define LEAF_haOverallServiceTime 4
#define LEAF_haRecentServiceAcceptedTime 5
#define LEAF_haRecentServiceDeniedTime 6
#define LEAF_haRecentServiceDeniedCode 7
#define VAL_haRecentServiceDeniedCode_reasonUnspecified 128L
#define VAL_haRecentServiceDeniedCode_admProhibited 129L
#define VAL_haRecentServiceDeniedCode_insufficientResource 130L
#define VAL_haRecentServiceDeniedCode_mnAuthenticationFailure 131L
#define VAL_haRecentServiceDeniedCode_faAuthenticationFailure 132L
#define VAL_haRecentServiceDeniedCode_idMismatch 133L
#define VAL_haRecentServiceDeniedCode_poorlyFormedRequest 134L
#define VAL_haRecentServiceDeniedCode_tooManyBindings 135L
#define VAL_haRecentServiceDeniedCode_unknownHA 136L
#define LEAF_haRegistrationAccepted 3
#define LEAF_haMultiBindingUnsupported 4
#define LEAF_haReasonUnspecified 5
#define LEAF_haAdmProhibited 6
#define LEAF_haInsufficientResource 7
#define LEAF_haMNAuthenticationFailure 8
#define LEAF_haFAAuthenticationFailure 9
#define LEAF_haIDMismatch 10
#define LEAF_haPoorlyFormedRequest 11
#define LEAF_haTooManyBindings 12
#define LEAF_haUnknownHA 13
#define LEAF_haGratuitiousARPsSent 14
#define LEAF_haProxyARPsSent 15
#define LEAF_haRegRequestsReceived 16
#define LEAF_haDeRegRequestsReceived 17
#define LEAF_haRegRepliesSent 18
#define LEAF_haDeRegRepliesSent 19
#endif /* WRSNMP */
+742
View File
@@ -0,0 +1,742 @@
-- This file was automatically generated by Wind River's
-- MIB Compiler, version 10.1.
-- This file was generated using the -partialm switch.
--
-- YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
-- BY REGENERATING IT WITH THE MIB COMPILER.
--
-- Last build date: Mon Jul 9 14:08:10 2007
-- from files:
-- /usr/share/mibs/ietf/INET-ADDRESS-MIB, /usr/share/mibs/ietf/SNMPv2-MIB,
-- /home/n/interpeak/IANAifType-MIB, /usr/share/mibs/ietf/IF-MIB,
-- /usr/share/mibs/ietf/IP-MIB, /home/n/interpeak/mipmib/wrsnmp/rfc4295.mib
MOBILEIPV6-MIB-A
-- put your FORCE-INCLUDE's here
--
--FORCE-INCLUDE <wrn/wm/snmp/engine/mib.h>
--FORCE-INCLUDE <wrn/wm/snmp/engine/snmpdefs.h>
--FORCE-INCLUDE <wrn/wm/snmp/engine/snmpstat.h>
--FORCE-INCLUDE <mip6_mibhand.h>
-- put your global DEFAULT's here
--
-- put your EXCLUDE's here
--
--EXCLUDE mip6BindingCacheEntry
--EXCLUDE mip6BindingHistoryEntry
--EXCLUDE mip6NodeTrafficEntry
--EXCLUDE mip6MnHomeAddressEntry
--EXCLUDE mip6CnGlobalStats
--EXCLUDE mip6CnCounterEntry
--EXCLUDE mip6HaAdvertisement
--EXCLUDE mip6HaConfEntry
--EXCLUDE mip6HaListEntry
--EXCLUDE mip6HaGlAddrEntry
--EXCLUDE mip6HaGlobalStats
--EXCLUDE mip6HaCounterEntry
DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-TYPE
FROM SNMPv2-SMI;
-- Below is an OBJECT-TYPE entry for every object in the
-- MOBILEIPV6-MIB MIB module.
-- You may position DEFAULT statements at any point in the MIB tree
-- by putting them inside the appropriate OBJECT-TYPE declaration.
-- You need not modify any to which you don't want to add DEFAULTs.
-- (Or, you may remove any OBJECT-TYPE declaration to which you
-- don't add DEFAULT statements, as long as you don't add DEFAULT
-- statements to any of its descendants that reference its
-- descriptor, directly or indirectly.)
zeroDotZero OBJECT-TYPE
::= { ccitt 0 }
org OBJECT-TYPE
::= { iso 3 }
dod OBJECT-TYPE
::= { org 6 }
internet OBJECT-TYPE
::= { dod 1 }
directory OBJECT-TYPE
::= { internet 1 }
mgmt OBJECT-TYPE
::= { internet 2 }
mib-2 OBJECT-TYPE
::= { mgmt 1 }
mip6MIB OBJECT-TYPE
--DEFAULT node-type {replaceable}
::= { mib-2 133 }
mip6Notifications OBJECT-TYPE
::= { mip6MIB 0 }
mip6MnRegistered OBJECT-TYPE
::= { mip6Notifications 1 }
mip6MnDeRegistered OBJECT-TYPE
::= { mip6Notifications 2 }
mip6MnCOAChanged OBJECT-TYPE
::= { mip6Notifications 3 }
mip6MnBindingExpiredAtHA OBJECT-TYPE
::= { mip6Notifications 4 }
mip6MnBindingExpiredAtCN OBJECT-TYPE
::= { mip6Notifications 5 }
mip6Objects OBJECT-TYPE
::= { mip6MIB 1 }
mip6Core OBJECT-TYPE
::= { mip6Objects 1 }
mip6System OBJECT-TYPE
::= { mip6Core 1 }
mip6Capabilities OBJECT-TYPE
::= { mip6System 1 }
mip6Status OBJECT-TYPE
::= { mip6System 2 }
mip6Bindings OBJECT-TYPE
::= { mip6Core 2 }
mip6BindingCacheTable OBJECT-TYPE
::= { mip6Bindings 1 }
mip6BindingCacheEntry OBJECT-TYPE
::= { mip6BindingCacheTable 1 }
mip6BindingHomeAddressType OBJECT-TYPE
::= { mip6BindingCacheEntry 1 }
mip6BindingHomeAddress OBJECT-TYPE
::= { mip6BindingCacheEntry 2 }
mip6BindingCOAType OBJECT-TYPE
::= { mip6BindingCacheEntry 3 }
mip6BindingCOA OBJECT-TYPE
::= { mip6BindingCacheEntry 4 }
mip6BindingTimeRegistered OBJECT-TYPE
::= { mip6BindingCacheEntry 5 }
mip6BindingTimeGranted OBJECT-TYPE
::= { mip6BindingCacheEntry 6 }
mip6BindingTimeRemaining OBJECT-TYPE
::= { mip6BindingCacheEntry 7 }
mip6BindingHomeRegn OBJECT-TYPE
::= { mip6BindingCacheEntry 8 }
mip6BindingMaxSeq OBJECT-TYPE
::= { mip6BindingCacheEntry 9 }
mip6BindingUsageTS OBJECT-TYPE
::= { mip6BindingCacheEntry 10 }
mip6BindingUsageCount OBJECT-TYPE
::= { mip6BindingCacheEntry 11 }
mip6BindingAdminStatus OBJECT-TYPE
::= { mip6BindingCacheEntry 12 }
mip6BindingHistoryTable OBJECT-TYPE
::= { mip6Bindings 2 }
mip6BindingHistoryEntry OBJECT-TYPE
::= { mip6BindingHistoryTable 1 }
mip6BindingHstHomeAddressType OBJECT-TYPE
::= { mip6BindingHistoryEntry 1 }
mip6BindingHstHomeAddress OBJECT-TYPE
::= { mip6BindingHistoryEntry 2 }
mip6BindingHstIndex OBJECT-TYPE
::= { mip6BindingHistoryEntry 3 }
mip6BindingHstCOAType OBJECT-TYPE
::= { mip6BindingHistoryEntry 4 }
mip6BindingHstCOA OBJECT-TYPE
::= { mip6BindingHistoryEntry 5 }
mip6BindingHstTimeRegistered OBJECT-TYPE
::= { mip6BindingHistoryEntry 6 }
mip6BindingHstTimeExpired OBJECT-TYPE
::= { mip6BindingHistoryEntry 7 }
mip6BindingHstHomeRegn OBJECT-TYPE
::= { mip6BindingHistoryEntry 8 }
mip6BindingHstUsageTS OBJECT-TYPE
::= { mip6BindingHistoryEntry 9 }
mip6BindingHstUsageCount OBJECT-TYPE
::= { mip6BindingHistoryEntry 10 }
mip6Stats OBJECT-TYPE
::= { mip6Core 3 }
mip6TotalTraffic OBJECT-TYPE
::= { mip6Stats 1 }
mip6InOctets OBJECT-TYPE
::= { mip6TotalTraffic 1 }
mip6HCInOctets OBJECT-TYPE
::= { mip6TotalTraffic 2 }
mip6InPkts OBJECT-TYPE
::= { mip6TotalTraffic 3 }
mip6HCInPkts OBJECT-TYPE
::= { mip6TotalTraffic 4 }
mip6OutOctets OBJECT-TYPE
::= { mip6TotalTraffic 5 }
mip6HCOutOctets OBJECT-TYPE
::= { mip6TotalTraffic 6 }
mip6OutPkts OBJECT-TYPE
::= { mip6TotalTraffic 7 }
mip6HCOutPkts OBJECT-TYPE
::= { mip6TotalTraffic 8 }
mip6CounterDiscontinuityTime OBJECT-TYPE
::= { mip6TotalTraffic 9 }
mip6NodeTrafficTable OBJECT-TYPE
::= { mip6Stats 2 }
mip6NodeTrafficEntry OBJECT-TYPE
::= { mip6NodeTrafficTable 1 }
mip6NodeInOctets OBJECT-TYPE
::= { mip6NodeTrafficEntry 1 }
mip6HCNodeInOctets OBJECT-TYPE
::= { mip6NodeTrafficEntry 2 }
mip6NodeInPkts OBJECT-TYPE
::= { mip6NodeTrafficEntry 3 }
mip6HCNodeInPkts OBJECT-TYPE
::= { mip6NodeTrafficEntry 4 }
mip6NodeOutOctets OBJECT-TYPE
::= { mip6NodeTrafficEntry 5 }
mip6HCNodeOutOctets OBJECT-TYPE
::= { mip6NodeTrafficEntry 6 }
mip6NodeOutPkts OBJECT-TYPE
::= { mip6NodeTrafficEntry 7 }
mip6HCNodeOutPkts OBJECT-TYPE
::= { mip6NodeTrafficEntry 8 }
mip6NodeCtrDiscontinuityTime OBJECT-TYPE
::= { mip6NodeTrafficEntry 9 }
mip6Mn OBJECT-TYPE
::= { mip6Objects 2 }
mip6MnSystem OBJECT-TYPE
::= { mip6Mn 1 }
mip6MnHomeAddressTable OBJECT-TYPE
::= { mip6MnSystem 1 }
mip6MnHomeAddressEntry OBJECT-TYPE
::= { mip6MnHomeAddressTable 1 }
mip6MnHomeAddressType OBJECT-TYPE
::= { mip6MnHomeAddressEntry 1 }
mip6MnHomeAddress OBJECT-TYPE
::= { mip6MnHomeAddressEntry 2 }
mip6MnHomeAddressState OBJECT-TYPE
::= { mip6MnHomeAddressEntry 3 }
mip6MnConf OBJECT-TYPE
::= { mip6Mn 2 }
mip6MnDiscoveryRequests OBJECT-TYPE
::= { mip6MnConf 1 }
mip6MnDiscoveryReplies OBJECT-TYPE
::= { mip6MnConf 2 }
mip6MnDiscoveryTimeouts OBJECT-TYPE
::= { mip6MnConf 3 }
mip6MnPrefixSolicitationsSent OBJECT-TYPE
::= { mip6MnConf 4 }
mip6MnPrefixAdvsRecd OBJECT-TYPE
::= { mip6MnConf 5 }
mip6MnPrefixAdvsIgnored OBJECT-TYPE
::= { mip6MnConf 6 }
mip6MnMovedToFN OBJECT-TYPE
::= { mip6MnConf 7 }
mip6MnMovedToHN OBJECT-TYPE
::= { mip6MnConf 8 }
mip6MnRegistration OBJECT-TYPE
::= { mip6Mn 3 }
mip6MnBLTable OBJECT-TYPE
::= { mip6MnRegistration 1 }
mip6MnBLEntry OBJECT-TYPE
::= { mip6MnBLTable 1 }
mip6MnBLNodeAddressType OBJECT-TYPE
::= { mip6MnBLEntry 1 }
mip6MnBLNodeAddress OBJECT-TYPE
::= { mip6MnBLEntry 2 }
mip6MnBLCOAType OBJECT-TYPE
::= { mip6MnBLEntry 3 }
mip6MnBLCOA OBJECT-TYPE
::= { mip6MnBLEntry 4 }
mip6MnBLLifeTimeRequested OBJECT-TYPE
::= { mip6MnBLEntry 5 }
mip6MnBLLifeTimeGranted OBJECT-TYPE
::= { mip6MnBLEntry 6 }
mip6MnBLMaxSeq OBJECT-TYPE
::= { mip6MnBLEntry 7 }
mip6MnBLTimeSent OBJECT-TYPE
::= { mip6MnBLEntry 8 }
mip6MnBLAccepted OBJECT-TYPE
::= { mip6MnBLEntry 9 }
mip6MnBLAcceptedTime OBJECT-TYPE
::= { mip6MnBLEntry 10 }
mip6MnBLRetransmissions OBJECT-TYPE
::= { mip6MnBLEntry 11 }
mip6MnBLDontSendBUFlag OBJECT-TYPE
::= { mip6MnBLEntry 12 }
mip6MnRegnCounters OBJECT-TYPE
::= { mip6MnRegistration 2 }
mip6MnMobilityMessagesSent OBJECT-TYPE
::= { mip6MnRegnCounters 1 }
mip6MnMobilityMessagesRecd OBJECT-TYPE
::= { mip6MnRegnCounters 2 }
mip6MnBUsToHA OBJECT-TYPE
::= { mip6MnRegnCounters 3 }
mip6MnBUAcksFromHA OBJECT-TYPE
::= { mip6MnRegnCounters 4 }
mip6MnBUsToCN OBJECT-TYPE
::= { mip6MnRegnCounters 5 }
mip6MnBUAcksFromCN OBJECT-TYPE
::= { mip6MnRegnCounters 6 }
mip6MnBindingErrorsFromCN OBJECT-TYPE
::= { mip6MnRegnCounters 7 }
mip6MnICMPErrorsRecd OBJECT-TYPE
::= { mip6MnRegnCounters 8 }
mip6MnBRRequestsRecd OBJECT-TYPE
::= { mip6MnRegnCounters 9 }
mip6Cn OBJECT-TYPE
::= { mip6Objects 3 }
mip6CnSystem OBJECT-TYPE
::= { mip6Cn 1 }
mip6CnStats OBJECT-TYPE
::= { mip6Cn 2 }
mip6CnGlobalStats OBJECT-TYPE
::= { mip6CnStats 1 }
mip6CnHomeTestInitsRecd OBJECT-TYPE
::= { mip6CnGlobalStats 1 }
mip6CnHomeTestsSent OBJECT-TYPE
::= { mip6CnGlobalStats 2 }
mip6CnCareOfTestInitsRecd OBJECT-TYPE
::= { mip6CnGlobalStats 3 }
mip6CnCareOfTestsSent OBJECT-TYPE
::= { mip6CnGlobalStats 4 }
mip6CnBUsRecd OBJECT-TYPE
::= { mip6CnGlobalStats 5 }
mip6CnBUAcksSent OBJECT-TYPE
::= { mip6CnGlobalStats 6 }
mip6CnBRsSent OBJECT-TYPE
::= { mip6CnGlobalStats 7 }
mip6CnBindingErrors OBJECT-TYPE
::= { mip6CnGlobalStats 8 }
mip6CnBUsAccepted OBJECT-TYPE
::= { mip6CnGlobalStats 9 }
mip6CnBUsRejected OBJECT-TYPE
::= { mip6CnGlobalStats 10 }
mip6CnReasonUnspecified OBJECT-TYPE
::= { mip6CnGlobalStats 11 }
mip6CnInsufficientResource OBJECT-TYPE
::= { mip6CnGlobalStats 12 }
mip6CnHomeRegnNotSupported OBJECT-TYPE
::= { mip6CnGlobalStats 13 }
mip6CnSeqNumberOutOfWindow OBJECT-TYPE
::= { mip6CnGlobalStats 14 }
mip6CnExpiredHomeNonceIndex OBJECT-TYPE
::= { mip6CnGlobalStats 15 }
mip6CnExpiredCareOfNonceIndex OBJECT-TYPE
::= { mip6CnGlobalStats 16 }
mip6CnExpiredNonce OBJECT-TYPE
::= { mip6CnGlobalStats 17 }
mip6CnRegTypeChangeDisallowed OBJECT-TYPE
::= { mip6CnGlobalStats 18 }
mip6CnCounterTable OBJECT-TYPE
::= { mip6CnStats 2 }
mip6CnCounterEntry OBJECT-TYPE
::= { mip6CnCounterTable 1 }
mip6CnBURequestsAccepted OBJECT-TYPE
::= { mip6CnCounterEntry 1 }
mip6CnBURequestsRejected OBJECT-TYPE
::= { mip6CnCounterEntry 2 }
mip6CnBCEntryCreationTime OBJECT-TYPE
::= { mip6CnCounterEntry 3 }
mip6CnBUAcceptedTime OBJECT-TYPE
::= { mip6CnCounterEntry 4 }
mip6CnBURejectionTime OBJECT-TYPE
::= { mip6CnCounterEntry 5 }
mip6CnBURejectionCode OBJECT-TYPE
::= { mip6CnCounterEntry 6 }
mip6CnCtrDiscontinuityTime OBJECT-TYPE
::= { mip6CnCounterEntry 7 }
mip6Ha OBJECT-TYPE
::= { mip6Objects 4 }
mip6HaAdvertisement OBJECT-TYPE
::= { mip6Ha 1 }
mip6HaAdvsRecd OBJECT-TYPE
::= { mip6HaAdvertisement 1 }
mip6HaAdvsSent OBJECT-TYPE
::= { mip6HaAdvertisement 2 }
mip6HaConfTable OBJECT-TYPE
::= { mip6HaAdvertisement 3 }
mip6HaConfEntry OBJECT-TYPE
::= { mip6HaConfTable 1 }
mip6HaAdvPreference OBJECT-TYPE
::= { mip6HaConfEntry 1 }
mip6HaAdvLifetime OBJECT-TYPE
::= { mip6HaConfEntry 2 }
mip6HaPrefixAdv OBJECT-TYPE
::= { mip6HaConfEntry 3 }
mip6HaPrefixSolicitation OBJECT-TYPE
::= { mip6HaConfEntry 4 }
mip6HaMCastCtlMsgSupport OBJECT-TYPE
::= { mip6HaConfEntry 5 }
mip6HaListTable OBJECT-TYPE
::= { mip6HaAdvertisement 4 }
mip6HaListEntry OBJECT-TYPE
::= { mip6HaListTable 1 }
mip6HaLinkLocalAddressType OBJECT-TYPE
::= { mip6HaListEntry 1 }
mip6HaLinkLocalAddress OBJECT-TYPE
::= { mip6HaListEntry 2 }
mip6HaPreference OBJECT-TYPE
::= { mip6HaListEntry 3 }
mip6HaRecvLifeTime OBJECT-TYPE
::= { mip6HaListEntry 4 }
mip6HaRecvTimeStamp OBJECT-TYPE
::= { mip6HaListEntry 5 }
mip6HaGlAddrTable OBJECT-TYPE
::= { mip6HaAdvertisement 5 }
mip6HaGlAddrEntry OBJECT-TYPE
::= { mip6HaGlAddrTable 1 }
mip6HaGaAddrSeqNo OBJECT-TYPE
::= { mip6HaGlAddrEntry 1 }
mip6HaGaGlobalAddressType OBJECT-TYPE
::= { mip6HaGlAddrEntry 2 }
mip6HaGaGlobalAddress OBJECT-TYPE
::= { mip6HaGlAddrEntry 3 }
mip6HaStats OBJECT-TYPE
::= { mip6Ha 2 }
mip6HaGlobalStats OBJECT-TYPE
::= { mip6HaStats 1 }
mip6HaHomeTestInitsRecd OBJECT-TYPE
::= { mip6HaGlobalStats 1 }
mip6HaHomeTestsSent OBJECT-TYPE
::= { mip6HaGlobalStats 2 }
mip6HaBUsRecd OBJECT-TYPE
::= { mip6HaGlobalStats 3 }
mip6HaBUAcksSent OBJECT-TYPE
::= { mip6HaGlobalStats 4 }
mip6HaBRAdviceSent OBJECT-TYPE
::= { mip6HaGlobalStats 5 }
mip6HaBUsAccepted OBJECT-TYPE
::= { mip6HaGlobalStats 6 }
mip6HaPrefDiscoverReqd OBJECT-TYPE
::= { mip6HaGlobalStats 7 }
mip6HaReasonUnspecified OBJECT-TYPE
::= { mip6HaGlobalStats 8 }
mip6HaAdmProhibited OBJECT-TYPE
::= { mip6HaGlobalStats 9 }
mip6HaInsufficientResource OBJECT-TYPE
::= { mip6HaGlobalStats 10 }
mip6HaHomeRegnNotSupported OBJECT-TYPE
::= { mip6HaGlobalStats 11 }
mip6HaNotHomeSubnet OBJECT-TYPE
::= { mip6HaGlobalStats 12 }
mip6HaNotHomeAgentForThisMN OBJECT-TYPE
::= { mip6HaGlobalStats 13 }
mip6HaDupAddrDetectionFailed OBJECT-TYPE
::= { mip6HaGlobalStats 14 }
mip6HaSeqNumberOutOfWindow OBJECT-TYPE
::= { mip6HaGlobalStats 15 }
mip6HaExpiredHomeNonceIndex OBJECT-TYPE
::= { mip6HaGlobalStats 16 }
mip6HaRegTypeChangeDisallowed OBJECT-TYPE
::= { mip6HaGlobalStats 17 }
mip6HaCounterTable OBJECT-TYPE
::= { mip6HaStats 2 }
mip6HaCounterEntry OBJECT-TYPE
::= { mip6HaCounterTable 1 }
mip6HaBURequestsAccepted OBJECT-TYPE
::= { mip6HaCounterEntry 1 }
mip6HaBURequestsDenied OBJECT-TYPE
::= { mip6HaCounterEntry 2 }
mip6HaBCEntryCreationTime OBJECT-TYPE
::= { mip6HaCounterEntry 3 }
mip6HaBUAcceptedTime OBJECT-TYPE
::= { mip6HaCounterEntry 4 }
mip6HaBURejectionTime OBJECT-TYPE
::= { mip6HaCounterEntry 5 }
mip6HaRecentBURejectionCode OBJECT-TYPE
::= { mip6HaCounterEntry 6 }
mip6HaCtrDiscontinuityTime OBJECT-TYPE
::= { mip6HaCounterEntry 7 }
mip6Conformance OBJECT-TYPE
::= { mip6MIB 2 }
mip6Groups OBJECT-TYPE
::= { mip6Conformance 1 }
mip6SystemGroup OBJECT-TYPE
::= { mip6Groups 1 }
mip6BindingCacheGroup OBJECT-TYPE
::= { mip6Groups 2 }
mip6BindingHstGroup OBJECT-TYPE
::= { mip6Groups 3 }
mip6TotalTrafficGroup OBJECT-TYPE
::= { mip6Groups 4 }
mip6NodeTrafficGroup OBJECT-TYPE
::= { mip6Groups 5 }
mip6MnSystemGroup OBJECT-TYPE
::= { mip6Groups 6 }
mip6MnConfGroup OBJECT-TYPE
::= { mip6Groups 7 }
mip6MnRegistrationGroup OBJECT-TYPE
::= { mip6Groups 8 }
mip6CnStatsGroup OBJECT-TYPE
::= { mip6Groups 9 }
mip6HaSystemGroup OBJECT-TYPE
::= { mip6Groups 10 }
mip6HaListGroup OBJECT-TYPE
::= { mip6Groups 11 }
mip6HaStatsGroup OBJECT-TYPE
::= { mip6Groups 12 }
mip6CnGlobalStatsGroup OBJECT-TYPE
::= { mip6Groups 13 }
mip6HaGlobalStatsGroup OBJECT-TYPE
::= { mip6Groups 14 }
mip6BindingCacheCtlGroup OBJECT-TYPE
::= { mip6Groups 15 }
mip6NotificationGroup OBJECT-TYPE
::= { mip6Groups 16 }
mip6Compliances OBJECT-TYPE
::= { mip6Conformance 2 }
mip6CoreCompliance OBJECT-TYPE
::= { mip6Compliances 1 }
mip6Compliance2 OBJECT-TYPE
::= { mip6Compliances 2 }
mip6Compliance3 OBJECT-TYPE
::= { mip6Compliances 3 }
mip6CoreReadOnlyCompliance OBJECT-TYPE
::= { mip6Compliances 4 }
mip6ReadOnlyCompliance2 OBJECT-TYPE
::= { mip6Compliances 5 }
mip6ReadOnlyCompliance3 OBJECT-TYPE
::= { mip6Compliances 6 }
mip6MnCoreCompliance OBJECT-TYPE
::= { mip6Compliances 7 }
mip6MnCompliance2 OBJECT-TYPE
::= { mip6Compliances 8 }
mip6CnCoreCompliance OBJECT-TYPE
::= { mip6Compliances 9 }
mip6CnCompliance OBJECT-TYPE
::= { mip6Compliances 10 }
mip6HaCoreCompliance OBJECT-TYPE
::= { mip6Compliances 11 }
mip6HaCompliance2 OBJECT-TYPE
::= { mip6Compliances 12 }
mip6HaCompliance3 OBJECT-TYPE
::= { mip6Compliances 13 }
mip6HaCoreReadOnlyCompliance OBJECT-TYPE
::= { mip6Compliances 14 }
mip6HaReadOnlyCompliance2 OBJECT-TYPE
::= { mip6Compliances 15 }
mip6HaReadOnlyCompliance3 OBJECT-TYPE
::= { mip6Compliances 16 }
mip6NotificationCompliance OBJECT-TYPE
::= { mip6Compliances 17 }
END
@@ -0,0 +1,824 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -mib.c switch.
****
**** This file contains a representation of a MIB tree suitable
**** for use by an SNMP agent running Wind River's WindManage SNMP package.
****
**** DO NOT EDIT THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:27 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc3418.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4295.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/mip6.ctl
**** starting from node: mip6MIB
******************************************************************************
******************************************************************************
*/
#define _MIB 1
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmpstat.h>
#include <mip6_mibhand.h>
#ifndef STATIC
#define STATIC static
#endif
/**
** Subtree Object Identifier for Add_Node_From_Root
** mip6MIB OBJECT IDENTIFIER ::= { mib-2 133 }
**/
STATIC OIDC_T oid_mip6_root_node[] = { 1, 3, 6, 1, 2, 1, 133 };
OBJ_ID_T objid_mip6_root_node = {
sizeof(oid_mip6_root_node)/sizeof(OIDC_T),
oid_mip6_root_node
};
STATIC
MIBARC_T a_mip6MnRegistered[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnRegistered = NODE_NT("mip6MnRegistered",
REPLACEABLE, a_mip6MnRegistered);
STATIC
MIBARC_T a_mip6MnDeRegistered[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnDeRegistered = NODE_NT("mip6MnDeRegistered",
REPLACEABLE, a_mip6MnDeRegistered);
STATIC
MIBARC_T a_mip6MnCOAChanged[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnCOAChanged = NODE_NT("mip6MnCOAChanged",
REPLACEABLE, a_mip6MnCOAChanged);
STATIC
MIBARC_T a_mip6MnBindingExpiredAtHA[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnBindingExpiredAtHA = NODE_NT("mip6MnBindingExpiredAtHA",
REPLACEABLE, a_mip6MnBindingExpiredAtHA);
STATIC
MIBARC_T a_mip6MnBindingExpiredAtCN[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnBindingExpiredAtCN = NODE_NT("mip6MnBindingExpiredAtCN",
REPLACEABLE, a_mip6MnBindingExpiredAtCN);
STATIC
MIBARC_T a_mip6Notifications[] = {
ARC(1, n_mip6MnRegistered),
ARC(2, n_mip6MnDeRegistered),
ARC(3, n_mip6MnCOAChanged),
ARC(4, n_mip6MnBindingExpiredAtHA),
ARC(5, n_mip6MnBindingExpiredAtCN),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Notifications = NODE_NT("mip6Notifications",
REPLACEABLE, a_mip6Notifications);
LEAF_NT_ASYS( l_mip6Capabilities, REPLACEABLE, "mip6Capabilities", VT_STRING,
READ_ACCESS, SCALAR, null_test_async,
mip6System_get, null_set_async, mip6System_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6Status, REPLACEABLE, "mip6Status", VT_NUMBER,
READ_WRITE_ACCESS, SCALAR, mip6System_test,
mip6System_get, mip6System_set, mip6System_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_mip6System[] = {
ARC(1, l_mip6Capabilities),
ARC(2, l_mip6Status),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6System = NODE_NT("mip6System",
REPLACEABLE, a_mip6System);
STATIC
MIBARC_T a_mip6BindingCacheTable[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6BindingCacheTable = NODE_NT("mip6BindingCacheTable",
REPLACEABLE, a_mip6BindingCacheTable);
STATIC
MIBARC_T a_mip6BindingHistoryTable[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6BindingHistoryTable = NODE_NT("mip6BindingHistoryTable",
REPLACEABLE, a_mip6BindingHistoryTable);
STATIC
MIBARC_T a_mip6Bindings[] = {
ARC(1, n_mip6BindingCacheTable),
ARC(2, n_mip6BindingHistoryTable),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Bindings = NODE_NT("mip6Bindings",
REPLACEABLE, a_mip6Bindings);
LEAF_NT_ASYS( l_mip6InOctets, REPLACEABLE, "mip6InOctets", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6TotalTraffic_get, null_set_async, mip6TotalTraffic_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6HCInOctets, REPLACEABLE, "mip6HCInOctets", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
mip6TotalTraffic_get, null_set_async, mip6TotalTraffic_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6InPkts, REPLACEABLE, "mip6InPkts", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6TotalTraffic_get, null_set_async, mip6TotalTraffic_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6HCInPkts, REPLACEABLE, "mip6HCInPkts", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
mip6TotalTraffic_get, null_set_async, mip6TotalTraffic_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6OutOctets, REPLACEABLE, "mip6OutOctets", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6TotalTraffic_get, null_set_async, mip6TotalTraffic_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6HCOutOctets, REPLACEABLE, "mip6HCOutOctets", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
mip6TotalTraffic_get, null_set_async, mip6TotalTraffic_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6OutPkts, REPLACEABLE, "mip6OutPkts", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6TotalTraffic_get, null_set_async, mip6TotalTraffic_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6HCOutPkts, REPLACEABLE, "mip6HCOutPkts", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
mip6TotalTraffic_get, null_set_async, mip6TotalTraffic_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6CounterDiscontinuityTime, REPLACEABLE, "mip6CounterDiscontinuityTime", VT_TIMETICKS,
READ_ACCESS, SCALAR, null_test_async,
mip6TotalTraffic_get, null_set_async, mip6TotalTraffic_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_mip6TotalTraffic[] = {
ARC(1, l_mip6InOctets),
ARC(2, l_mip6HCInOctets),
ARC(3, l_mip6InPkts),
ARC(4, l_mip6HCInPkts),
ARC(5, l_mip6OutOctets),
ARC(6, l_mip6HCOutOctets),
ARC(7, l_mip6OutPkts),
ARC(8, l_mip6HCOutPkts),
ARC(9, l_mip6CounterDiscontinuityTime),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6TotalTraffic = NODE_NT("mip6TotalTraffic",
REPLACEABLE, a_mip6TotalTraffic);
STATIC
MIBARC_T a_mip6NodeTrafficTable[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6NodeTrafficTable = NODE_NT("mip6NodeTrafficTable",
REPLACEABLE, a_mip6NodeTrafficTable);
STATIC
MIBARC_T a_mip6Stats[] = {
ARC(1, n_mip6TotalTraffic),
ARC(2, n_mip6NodeTrafficTable),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Stats = NODE_NT("mip6Stats",
REPLACEABLE, a_mip6Stats);
STATIC
MIBARC_T a_mip6Core[] = {
ARC(1, n_mip6System),
ARC(2, n_mip6Bindings),
ARC(3, n_mip6Stats),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Core = NODE_NT("mip6Core",
REPLACEABLE, a_mip6Core);
STATIC
MIBARC_T a_mip6MnHomeAddressTable[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnHomeAddressTable = NODE_NT("mip6MnHomeAddressTable",
REPLACEABLE, a_mip6MnHomeAddressTable);
STATIC
MIBARC_T a_mip6MnSystem[] = {
ARC(1, n_mip6MnHomeAddressTable),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnSystem = NODE_NT("mip6MnSystem",
REPLACEABLE, a_mip6MnSystem);
LEAF_NT_ASYS( l_mip6MnDiscoveryRequests, REPLACEABLE, "mip6MnDiscoveryRequests", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnConf_get, null_set_async, mip6MnConf_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnDiscoveryReplies, REPLACEABLE, "mip6MnDiscoveryReplies", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnConf_get, null_set_async, mip6MnConf_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnDiscoveryTimeouts, REPLACEABLE, "mip6MnDiscoveryTimeouts", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnConf_get, null_set_async, mip6MnConf_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnPrefixSolicitationsSent, REPLACEABLE, "mip6MnPrefixSolicitationsSent", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnConf_get, null_set_async, mip6MnConf_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnPrefixAdvsRecd, REPLACEABLE, "mip6MnPrefixAdvsRecd", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnConf_get, null_set_async, mip6MnConf_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnPrefixAdvsIgnored, REPLACEABLE, "mip6MnPrefixAdvsIgnored", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnConf_get, null_set_async, mip6MnConf_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnMovedToFN, REPLACEABLE, "mip6MnMovedToFN", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnConf_get, null_set_async, mip6MnConf_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnMovedToHN, REPLACEABLE, "mip6MnMovedToHN", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnConf_get, null_set_async, mip6MnConf_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_mip6MnConf[] = {
ARC(1, l_mip6MnDiscoveryRequests),
ARC(2, l_mip6MnDiscoveryReplies),
ARC(3, l_mip6MnDiscoveryTimeouts),
ARC(4, l_mip6MnPrefixSolicitationsSent),
ARC(5, l_mip6MnPrefixAdvsRecd),
ARC(6, l_mip6MnPrefixAdvsIgnored),
ARC(7, l_mip6MnMovedToFN),
ARC(8, l_mip6MnMovedToHN),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnConf = NODE_NT("mip6MnConf",
REPLACEABLE, a_mip6MnConf);
STATIC
MIBARC_T a_mip6MnBLNodeAddressType[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnBLNodeAddressType = NODE_NT("mip6MnBLNodeAddressType",
REPLACEABLE, a_mip6MnBLNodeAddressType);
STATIC
MIBARC_T a_mip6MnBLNodeAddress[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnBLNodeAddress = NODE_NT("mip6MnBLNodeAddress",
REPLACEABLE, a_mip6MnBLNodeAddress);
LEAF_NT_ASYS( l_mip6MnBLCOAType, REPLACEABLE, "mip6MnBLCOAType", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
mip6MnBLEntry_get, null_set_async, mip6MnBLEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBLCOA, REPLACEABLE, "mip6MnBLCOA", VT_STRING,
READ_ACCESS, TABULAR, null_test_async,
mip6MnBLEntry_get, null_set_async, mip6MnBLEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBLLifeTimeRequested, REPLACEABLE, "mip6MnBLLifeTimeRequested", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
mip6MnBLEntry_get, null_set_async, mip6MnBLEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBLLifeTimeGranted, REPLACEABLE, "mip6MnBLLifeTimeGranted", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
mip6MnBLEntry_get, null_set_async, mip6MnBLEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBLMaxSeq, REPLACEABLE, "mip6MnBLMaxSeq", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
mip6MnBLEntry_get, null_set_async, mip6MnBLEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBLTimeSent, REPLACEABLE, "mip6MnBLTimeSent", VT_STRING,
READ_ACCESS, TABULAR, null_test_async,
mip6MnBLEntry_get, null_set_async, mip6MnBLEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBLAccepted, REPLACEABLE, "mip6MnBLAccepted", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
mip6MnBLEntry_get, null_set_async, mip6MnBLEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBLAcceptedTime, REPLACEABLE, "mip6MnBLAcceptedTime", VT_STRING,
READ_ACCESS, TABULAR, null_test_async,
mip6MnBLEntry_get, null_set_async, mip6MnBLEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBLRetransmissions, REPLACEABLE, "mip6MnBLRetransmissions", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
mip6MnBLEntry_get, null_set_async, mip6MnBLEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBLDontSendBUFlag, REPLACEABLE, "mip6MnBLDontSendBUFlag", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
mip6MnBLEntry_get, null_set_async, mip6MnBLEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_mip6MnBLEntry[] = {
ARC(1, n_mip6MnBLNodeAddressType),
ARC(2, n_mip6MnBLNodeAddress),
ARC(3, l_mip6MnBLCOAType),
ARC(4, l_mip6MnBLCOA),
ARC(5, l_mip6MnBLLifeTimeRequested),
ARC(6, l_mip6MnBLLifeTimeGranted),
ARC(7, l_mip6MnBLMaxSeq),
ARC(8, l_mip6MnBLTimeSent),
ARC(9, l_mip6MnBLAccepted),
ARC(10, l_mip6MnBLAcceptedTime),
ARC(11, l_mip6MnBLRetransmissions),
ARC(12, l_mip6MnBLDontSendBUFlag),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnBLEntry = NODE_NT("mip6MnBLEntry",
REPLACEABLE, a_mip6MnBLEntry);
STATIC
MIBARC_T a_mip6MnBLTable[] = {
ARC(1, n_mip6MnBLEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnBLTable = NODE_NT("mip6MnBLTable",
REPLACEABLE, a_mip6MnBLTable);
LEAF_NT_ASYS( l_mip6MnMobilityMessagesSent, REPLACEABLE, "mip6MnMobilityMessagesSent", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnRegnCounters_get, null_set_async, mip6MnRegnCounters_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnMobilityMessagesRecd, REPLACEABLE, "mip6MnMobilityMessagesRecd", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnRegnCounters_get, null_set_async, mip6MnRegnCounters_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBUsToHA, REPLACEABLE, "mip6MnBUsToHA", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnRegnCounters_get, null_set_async, mip6MnRegnCounters_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBUAcksFromHA, REPLACEABLE, "mip6MnBUAcksFromHA", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnRegnCounters_get, null_set_async, mip6MnRegnCounters_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBUsToCN, REPLACEABLE, "mip6MnBUsToCN", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnRegnCounters_get, null_set_async, mip6MnRegnCounters_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBUAcksFromCN, REPLACEABLE, "mip6MnBUAcksFromCN", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnRegnCounters_get, null_set_async, mip6MnRegnCounters_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBindingErrorsFromCN, REPLACEABLE, "mip6MnBindingErrorsFromCN", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnRegnCounters_get, null_set_async, mip6MnRegnCounters_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnICMPErrorsRecd, REPLACEABLE, "mip6MnICMPErrorsRecd", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnRegnCounters_get, null_set_async, mip6MnRegnCounters_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_mip6MnBRRequestsRecd, REPLACEABLE, "mip6MnBRRequestsRecd", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
mip6MnRegnCounters_get, null_set_async, mip6MnRegnCounters_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_mip6MnRegnCounters[] = {
ARC(1, l_mip6MnMobilityMessagesSent),
ARC(2, l_mip6MnMobilityMessagesRecd),
ARC(3, l_mip6MnBUsToHA),
ARC(4, l_mip6MnBUAcksFromHA),
ARC(5, l_mip6MnBUsToCN),
ARC(6, l_mip6MnBUAcksFromCN),
ARC(7, l_mip6MnBindingErrorsFromCN),
ARC(8, l_mip6MnICMPErrorsRecd),
ARC(9, l_mip6MnBRRequestsRecd),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnRegnCounters = NODE_NT("mip6MnRegnCounters",
REPLACEABLE, a_mip6MnRegnCounters);
STATIC
MIBARC_T a_mip6MnRegistration[] = {
ARC(1, n_mip6MnBLTable),
ARC(2, n_mip6MnRegnCounters),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnRegistration = NODE_NT("mip6MnRegistration",
REPLACEABLE, a_mip6MnRegistration);
STATIC
MIBARC_T a_mip6Mn[] = {
ARC(1, n_mip6MnSystem),
ARC(2, n_mip6MnConf),
ARC(3, n_mip6MnRegistration),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Mn = NODE_NT("mip6Mn",
REPLACEABLE, a_mip6Mn);
STATIC
MIBARC_T a_mip6CnSystem[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6CnSystem = NODE_NT("mip6CnSystem",
REPLACEABLE, a_mip6CnSystem);
STATIC
MIBARC_T a_mip6CnCounterTable[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6CnCounterTable = NODE_NT("mip6CnCounterTable",
REPLACEABLE, a_mip6CnCounterTable);
STATIC
MIBARC_T a_mip6CnStats[] = {
ARC(2, n_mip6CnCounterTable),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6CnStats = NODE_NT("mip6CnStats",
REPLACEABLE, a_mip6CnStats);
STATIC
MIBARC_T a_mip6Cn[] = {
ARC(1, n_mip6CnSystem),
ARC(2, n_mip6CnStats),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Cn = NODE_NT("mip6Cn",
REPLACEABLE, a_mip6Cn);
STATIC
MIBARC_T a_mip6HaCounterTable[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaCounterTable = NODE_NT("mip6HaCounterTable",
REPLACEABLE, a_mip6HaCounterTable);
STATIC
MIBARC_T a_mip6HaStats[] = {
ARC(2, n_mip6HaCounterTable),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaStats = NODE_NT("mip6HaStats",
REPLACEABLE, a_mip6HaStats);
STATIC
MIBARC_T a_mip6Ha[] = {
ARC(2, n_mip6HaStats),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Ha = NODE_NT("mip6Ha",
REPLACEABLE, a_mip6Ha);
STATIC
MIBARC_T a_mip6Objects[] = {
ARC(1, n_mip6Core),
ARC(2, n_mip6Mn),
ARC(3, n_mip6Cn),
ARC(4, n_mip6Ha),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Objects = NODE_NT("mip6Objects",
REPLACEABLE, a_mip6Objects);
STATIC
MIBARC_T a_mip6SystemGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6SystemGroup = NODE_NT("mip6SystemGroup",
REPLACEABLE, a_mip6SystemGroup);
STATIC
MIBARC_T a_mip6BindingCacheGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6BindingCacheGroup = NODE_NT("mip6BindingCacheGroup",
REPLACEABLE, a_mip6BindingCacheGroup);
STATIC
MIBARC_T a_mip6BindingHstGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6BindingHstGroup = NODE_NT("mip6BindingHstGroup",
REPLACEABLE, a_mip6BindingHstGroup);
STATIC
MIBARC_T a_mip6TotalTrafficGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6TotalTrafficGroup = NODE_NT("mip6TotalTrafficGroup",
REPLACEABLE, a_mip6TotalTrafficGroup);
STATIC
MIBARC_T a_mip6NodeTrafficGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6NodeTrafficGroup = NODE_NT("mip6NodeTrafficGroup",
REPLACEABLE, a_mip6NodeTrafficGroup);
STATIC
MIBARC_T a_mip6MnSystemGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnSystemGroup = NODE_NT("mip6MnSystemGroup",
REPLACEABLE, a_mip6MnSystemGroup);
STATIC
MIBARC_T a_mip6MnConfGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnConfGroup = NODE_NT("mip6MnConfGroup",
REPLACEABLE, a_mip6MnConfGroup);
STATIC
MIBARC_T a_mip6MnRegistrationGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnRegistrationGroup = NODE_NT("mip6MnRegistrationGroup",
REPLACEABLE, a_mip6MnRegistrationGroup);
STATIC
MIBARC_T a_mip6CnStatsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6CnStatsGroup = NODE_NT("mip6CnStatsGroup",
REPLACEABLE, a_mip6CnStatsGroup);
STATIC
MIBARC_T a_mip6HaSystemGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaSystemGroup = NODE_NT("mip6HaSystemGroup",
REPLACEABLE, a_mip6HaSystemGroup);
STATIC
MIBARC_T a_mip6HaListGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaListGroup = NODE_NT("mip6HaListGroup",
REPLACEABLE, a_mip6HaListGroup);
STATIC
MIBARC_T a_mip6HaStatsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaStatsGroup = NODE_NT("mip6HaStatsGroup",
REPLACEABLE, a_mip6HaStatsGroup);
STATIC
MIBARC_T a_mip6CnGlobalStatsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6CnGlobalStatsGroup = NODE_NT("mip6CnGlobalStatsGroup",
REPLACEABLE, a_mip6CnGlobalStatsGroup);
STATIC
MIBARC_T a_mip6HaGlobalStatsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaGlobalStatsGroup = NODE_NT("mip6HaGlobalStatsGroup",
REPLACEABLE, a_mip6HaGlobalStatsGroup);
STATIC
MIBARC_T a_mip6BindingCacheCtlGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6BindingCacheCtlGroup = NODE_NT("mip6BindingCacheCtlGroup",
REPLACEABLE, a_mip6BindingCacheCtlGroup);
STATIC
MIBARC_T a_mip6NotificationGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6NotificationGroup = NODE_NT("mip6NotificationGroup",
REPLACEABLE, a_mip6NotificationGroup);
STATIC
MIBARC_T a_mip6Groups[] = {
ARC(1, n_mip6SystemGroup),
ARC(2, n_mip6BindingCacheGroup),
ARC(3, n_mip6BindingHstGroup),
ARC(4, n_mip6TotalTrafficGroup),
ARC(5, n_mip6NodeTrafficGroup),
ARC(6, n_mip6MnSystemGroup),
ARC(7, n_mip6MnConfGroup),
ARC(8, n_mip6MnRegistrationGroup),
ARC(9, n_mip6CnStatsGroup),
ARC(10, n_mip6HaSystemGroup),
ARC(11, n_mip6HaListGroup),
ARC(12, n_mip6HaStatsGroup),
ARC(13, n_mip6CnGlobalStatsGroup),
ARC(14, n_mip6HaGlobalStatsGroup),
ARC(15, n_mip6BindingCacheCtlGroup),
ARC(16, n_mip6NotificationGroup),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Groups = NODE_NT("mip6Groups",
REPLACEABLE, a_mip6Groups);
STATIC
MIBARC_T a_mip6CoreCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6CoreCompliance = NODE_NT("mip6CoreCompliance",
REPLACEABLE, a_mip6CoreCompliance);
STATIC
MIBARC_T a_mip6Compliance2[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Compliance2 = NODE_NT("mip6Compliance2",
REPLACEABLE, a_mip6Compliance2);
STATIC
MIBARC_T a_mip6Compliance3[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Compliance3 = NODE_NT("mip6Compliance3",
REPLACEABLE, a_mip6Compliance3);
STATIC
MIBARC_T a_mip6CoreReadOnlyCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6CoreReadOnlyCompliance = NODE_NT("mip6CoreReadOnlyCompliance",
REPLACEABLE, a_mip6CoreReadOnlyCompliance);
STATIC
MIBARC_T a_mip6ReadOnlyCompliance2[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6ReadOnlyCompliance2 = NODE_NT("mip6ReadOnlyCompliance2",
REPLACEABLE, a_mip6ReadOnlyCompliance2);
STATIC
MIBARC_T a_mip6ReadOnlyCompliance3[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6ReadOnlyCompliance3 = NODE_NT("mip6ReadOnlyCompliance3",
REPLACEABLE, a_mip6ReadOnlyCompliance3);
STATIC
MIBARC_T a_mip6MnCoreCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnCoreCompliance = NODE_NT("mip6MnCoreCompliance",
REPLACEABLE, a_mip6MnCoreCompliance);
STATIC
MIBARC_T a_mip6MnCompliance2[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6MnCompliance2 = NODE_NT("mip6MnCompliance2",
REPLACEABLE, a_mip6MnCompliance2);
STATIC
MIBARC_T a_mip6CnCoreCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6CnCoreCompliance = NODE_NT("mip6CnCoreCompliance",
REPLACEABLE, a_mip6CnCoreCompliance);
STATIC
MIBARC_T a_mip6CnCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6CnCompliance = NODE_NT("mip6CnCompliance",
REPLACEABLE, a_mip6CnCompliance);
STATIC
MIBARC_T a_mip6HaCoreCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaCoreCompliance = NODE_NT("mip6HaCoreCompliance",
REPLACEABLE, a_mip6HaCoreCompliance);
STATIC
MIBARC_T a_mip6HaCompliance2[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaCompliance2 = NODE_NT("mip6HaCompliance2",
REPLACEABLE, a_mip6HaCompliance2);
STATIC
MIBARC_T a_mip6HaCompliance3[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaCompliance3 = NODE_NT("mip6HaCompliance3",
REPLACEABLE, a_mip6HaCompliance3);
STATIC
MIBARC_T a_mip6HaCoreReadOnlyCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaCoreReadOnlyCompliance = NODE_NT("mip6HaCoreReadOnlyCompliance",
REPLACEABLE, a_mip6HaCoreReadOnlyCompliance);
STATIC
MIBARC_T a_mip6HaReadOnlyCompliance2[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaReadOnlyCompliance2 = NODE_NT("mip6HaReadOnlyCompliance2",
REPLACEABLE, a_mip6HaReadOnlyCompliance2);
STATIC
MIBARC_T a_mip6HaReadOnlyCompliance3[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6HaReadOnlyCompliance3 = NODE_NT("mip6HaReadOnlyCompliance3",
REPLACEABLE, a_mip6HaReadOnlyCompliance3);
STATIC
MIBARC_T a_mip6NotificationCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6NotificationCompliance = NODE_NT("mip6NotificationCompliance",
REPLACEABLE, a_mip6NotificationCompliance);
STATIC
MIBARC_T a_mip6Compliances[] = {
ARC(1, n_mip6CoreCompliance),
ARC(2, n_mip6Compliance2),
ARC(3, n_mip6Compliance3),
ARC(4, n_mip6CoreReadOnlyCompliance),
ARC(5, n_mip6ReadOnlyCompliance2),
ARC(6, n_mip6ReadOnlyCompliance3),
ARC(7, n_mip6MnCoreCompliance),
ARC(8, n_mip6MnCompliance2),
ARC(9, n_mip6CnCoreCompliance),
ARC(10, n_mip6CnCompliance),
ARC(11, n_mip6HaCoreCompliance),
ARC(12, n_mip6HaCompliance2),
ARC(13, n_mip6HaCompliance3),
ARC(14, n_mip6HaCoreReadOnlyCompliance),
ARC(15, n_mip6HaReadOnlyCompliance2),
ARC(16, n_mip6HaReadOnlyCompliance3),
ARC(17, n_mip6NotificationCompliance),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Compliances = NODE_NT("mip6Compliances",
REPLACEABLE, a_mip6Compliances);
STATIC
MIBARC_T a_mip6Conformance[] = {
ARC(1, n_mip6Groups),
ARC(2, n_mip6Compliances),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_mip6Conformance = NODE_NT("mip6Conformance",
REPLACEABLE, a_mip6Conformance);
STATIC
MIBARC_T a_mip6MIB[] = {
ARC(0, n_mip6Notifications),
ARC(1, n_mip6Objects),
ARC(2, n_mip6Conformance),
END_OF_ARC_LIST };
MIBNODE_T mip6_root_node = NODE_NT("mip6MIB",
REPLACEABLE, a_mip6MIB);
@@ -0,0 +1,155 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -skel.h switch.
****
**** This file contains declarations of stub functions to aid in building
**** the agent MIB interface. It declares all the MIB get, set, test and
**** next method routines that you will need to supply. You'll probably
**** want to FORCE-INCLUDE this file when using the -mib.c output mode.
****
**** To generate the skeletal stub functions themselves, run the MIB compiler
**** with the -skel switch.
****
**** YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
**** BY REGENERATING IT WITH THE MIB COMPILER.
****
**** Last build date: Fri Apr 02 13:08:27 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc3418.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4295.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/mip6.ctl
******************************************************************************
******************************************************************************
*/
void system_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void system_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void system_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void system_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void null_next_async(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sysOREntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sysOREntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void interfaces_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void interfaces_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void atEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void atEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void atEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void atEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ip_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddrEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddrEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipRouteEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipRouteEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipRouteEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipRouteEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToMediaEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToMediaEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToMediaEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToMediaEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv4InterfaceEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6InterfaceEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipSystemStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipSystemStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipTrafficStats_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipTrafficStats_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipIfStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipIfStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressPrefixEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressPrefixEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipAddressEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipNetToPhysicalEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6ScopeZoneIndexEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6ScopeZoneIndexEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipDefaultRouterEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipDefaultRouterEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ipv6RouterAdvertEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmp_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpMsgStatsEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void icmpMsgStatsEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcp_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void tcpConnEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udp_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udpEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void udpEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egp_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egpNeighEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egpNeighEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egpNeighEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void egpNeighEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmp_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmp_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmp_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmp_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifXEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifXEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifXEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifXEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifStackEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifStackEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifStackEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifStackEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifTestEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifTestEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifTestEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifTestEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifRcvAddressEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifRcvAddressEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifRcvAddressEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifRcvAddressEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifMIBObjects_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void ifMIBObjects_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6System_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6System_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6System_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6System_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6TotalTraffic_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6TotalTraffic_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6MnConf_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6MnConf_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6MnBLEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6MnBLEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6MnRegnCounters_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void mip6MnRegnCounters_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void snmpSet_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
@@ -0,0 +1,347 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.1.
**** This file was generated using the -leaf switch.
****
**** This file #defines C preprocessor macros providing a variety of
**** information for the leaf objects in the MIB.
****
**** The file includes a LEAF_xxx macro for each leaf object in the
**** MIB (xxx is replaced by the object's name). The value of the
**** LEAF_xxx macro is the final component of the object's object
**** identifier.
****
**** If the object's SYNTAX clause included named INTEGER values,
**** then there is a VAL_xxx_yyy macro for each named value (xxx is
**** replaced by the object's name and yyy by the value's name). The
**** value of the VAL_xxx_yyy macro is the value associated with the
**** named value.
****
**** If the object's SYNTAX clause specified a set of range limitations
**** for the value of the object, then there are one or more sets of
**** MIN_xxx and MAX_xxx macros specifying the lower and upper bound of
**** each range limitation.
****
**** If the object's SYNTAX clause specified a set of size constraints
**** for the value of the object, then there are one or more sets of
**** MINSIZE_xxx and MAXSIZE_xxx macros specifying the lower and upper
**** bound of each size constraint. (If the size constraint is a single
**** value rather than a range then the MINSIZE_xxx and MAXSIZE_xxx
**** macros are replaced by a single SIZE_xxx macro.)
****
**** DO NOT MODIFY THIS FILE BY HAND.
****
**** Last build date: Mon May 14 10:15:54 2007
**** from files:
**** /usr/share/mibs/ietf/INET-ADDRESS-MIB, /usr/share/mibs/ietf/SNMPv2-MIB,
**** ../../IANAifType-MIB, /usr/share/mibs/ietf/IF-MIB,
**** /usr/share/mibs/ietf/IP-MIB, rfc4295.mib
**** starting from node: mip6MIB
******************************************************************************
******************************************************************************
*/
#ifdef WRSNMP
#define LEAF_mip6Capabilities 1
#define VAL_mip6Capabilities_mobileNode 0L
#define VAL_mip6Capabilities_homeAgent 1L
#define VAL_mip6Capabilities_correspondentNode 2L
#define LEAF_mip6Status 2
#define VAL_mip6Status_enabled 1L
#define VAL_mip6Status_disabled 2L
#define LEAF_mip6BindingHomeAddressType 1
#define VAL_mip6BindingHomeAddressType_unknown 0L
#define VAL_mip6BindingHomeAddressType_ipv4 1L
#define VAL_mip6BindingHomeAddressType_ipv6 2L
#define VAL_mip6BindingHomeAddressType_ipv4z 3L
#define VAL_mip6BindingHomeAddressType_ipv6z 4L
#define VAL_mip6BindingHomeAddressType_dns 16L
#define LEAF_mip6BindingHomeAddress 2
#define MINSIZE_mip6BindingHomeAddress 0L
#define MAXSIZE_mip6BindingHomeAddress 255L
#define LEAF_mip6BindingCOAType 3
#define VAL_mip6BindingCOAType_unknown 0L
#define VAL_mip6BindingCOAType_ipv4 1L
#define VAL_mip6BindingCOAType_ipv6 2L
#define VAL_mip6BindingCOAType_ipv4z 3L
#define VAL_mip6BindingCOAType_ipv6z 4L
#define VAL_mip6BindingCOAType_dns 16L
#define LEAF_mip6BindingCOA 4
#define MINSIZE_mip6BindingCOA 0L
#define MAXSIZE_mip6BindingCOA 255L
#define LEAF_mip6BindingTimeRegistered 5
#define SIZE_mip6BindingTimeRegistered_1 8L
#define SIZE_mip6BindingTimeRegistered_2 11L
#define LEAF_mip6BindingTimeGranted 6
#define LEAF_mip6BindingTimeRemaining 7
#define LEAF_mip6BindingHomeRegn 8
#define VAL_mip6BindingHomeRegn_true 1L
#define VAL_mip6BindingHomeRegn_false 2L
#define LEAF_mip6BindingMaxSeq 9
#define MIN_mip6BindingMaxSeq 0L
#define MAX_mip6BindingMaxSeq 65536L
#define LEAF_mip6BindingUsageTS 10
#define SIZE_mip6BindingUsageTS_1 8L
#define SIZE_mip6BindingUsageTS_2 11L
#define LEAF_mip6BindingUsageCount 11
#define LEAF_mip6BindingAdminStatus 12
#define VAL_mip6BindingAdminStatus_active 1L
#define VAL_mip6BindingAdminStatus_inactive 2L
#define LEAF_mip6BindingHstHomeAddressType 1
#define VAL_mip6BindingHstHomeAddressType_unknown 0L
#define VAL_mip6BindingHstHomeAddressType_ipv4 1L
#define VAL_mip6BindingHstHomeAddressType_ipv6 2L
#define VAL_mip6BindingHstHomeAddressType_ipv4z 3L
#define VAL_mip6BindingHstHomeAddressType_ipv6z 4L
#define VAL_mip6BindingHstHomeAddressType_dns 16L
#define LEAF_mip6BindingHstHomeAddress 2
#define MINSIZE_mip6BindingHstHomeAddress 0L
#define MAXSIZE_mip6BindingHstHomeAddress 255L
#define LEAF_mip6BindingHstIndex 3
#define MIN_mip6BindingHstIndex 1L
#define MAX_mip6BindingHstIndex 4294967295L
#define LEAF_mip6BindingHstCOAType 4
#define VAL_mip6BindingHstCOAType_unknown 0L
#define VAL_mip6BindingHstCOAType_ipv4 1L
#define VAL_mip6BindingHstCOAType_ipv6 2L
#define VAL_mip6BindingHstCOAType_ipv4z 3L
#define VAL_mip6BindingHstCOAType_ipv6z 4L
#define VAL_mip6BindingHstCOAType_dns 16L
#define LEAF_mip6BindingHstCOA 5
#define MINSIZE_mip6BindingHstCOA 0L
#define MAXSIZE_mip6BindingHstCOA 255L
#define LEAF_mip6BindingHstTimeRegistered 6
#define SIZE_mip6BindingHstTimeRegistered_1 8L
#define SIZE_mip6BindingHstTimeRegistered_2 11L
#define LEAF_mip6BindingHstTimeExpired 7
#define SIZE_mip6BindingHstTimeExpired_1 8L
#define SIZE_mip6BindingHstTimeExpired_2 11L
#define LEAF_mip6BindingHstHomeRegn 8
#define VAL_mip6BindingHstHomeRegn_true 1L
#define VAL_mip6BindingHstHomeRegn_false 2L
#define LEAF_mip6BindingHstUsageTS 9
#define SIZE_mip6BindingHstUsageTS_1 8L
#define SIZE_mip6BindingHstUsageTS_2 11L
#define LEAF_mip6BindingHstUsageCount 10
#define LEAF_mip6InOctets 1
#define LEAF_mip6HCInOctets 2
#define LEAF_mip6InPkts 3
#define LEAF_mip6HCInPkts 4
#define LEAF_mip6OutOctets 5
#define LEAF_mip6HCOutOctets 6
#define LEAF_mip6OutPkts 7
#define LEAF_mip6HCOutPkts 8
#define LEAF_mip6CounterDiscontinuityTime 9
#define LEAF_mip6NodeInOctets 1
#define LEAF_mip6HCNodeInOctets 2
#define LEAF_mip6NodeInPkts 3
#define LEAF_mip6HCNodeInPkts 4
#define LEAF_mip6NodeOutOctets 5
#define LEAF_mip6HCNodeOutOctets 6
#define LEAF_mip6NodeOutPkts 7
#define LEAF_mip6HCNodeOutPkts 8
#define LEAF_mip6NodeCtrDiscontinuityTime 9
#define LEAF_mip6MnHomeAddressType 1
#define VAL_mip6MnHomeAddressType_unknown 0L
#define VAL_mip6MnHomeAddressType_ipv4 1L
#define VAL_mip6MnHomeAddressType_ipv6 2L
#define VAL_mip6MnHomeAddressType_ipv4z 3L
#define VAL_mip6MnHomeAddressType_ipv6z 4L
#define VAL_mip6MnHomeAddressType_dns 16L
#define LEAF_mip6MnHomeAddress 2
#define MINSIZE_mip6MnHomeAddress 0L
#define MAXSIZE_mip6MnHomeAddress 255L
#define LEAF_mip6MnHomeAddressState 3
#define VAL_mip6MnHomeAddressState_unknown 1L
#define VAL_mip6MnHomeAddressState_home 2L
#define VAL_mip6MnHomeAddressState_registered 3L
#define VAL_mip6MnHomeAddressState_pending 4L
#define VAL_mip6MnHomeAddressState_isolated 5L
#define LEAF_mip6MnDiscoveryRequests 1
#define LEAF_mip6MnDiscoveryReplies 2
#define LEAF_mip6MnDiscoveryTimeouts 3
#define LEAF_mip6MnPrefixSolicitationsSent 4
#define LEAF_mip6MnPrefixAdvsRecd 5
#define LEAF_mip6MnPrefixAdvsIgnored 6
#define LEAF_mip6MnMovedToFN 7
#define LEAF_mip6MnMovedToHN 8
#define LEAF_mip6MnBLNodeAddressType 1
#define VAL_mip6MnBLNodeAddressType_unknown 0L
#define VAL_mip6MnBLNodeAddressType_ipv4 1L
#define VAL_mip6MnBLNodeAddressType_ipv6 2L
#define VAL_mip6MnBLNodeAddressType_ipv4z 3L
#define VAL_mip6MnBLNodeAddressType_ipv6z 4L
#define VAL_mip6MnBLNodeAddressType_dns 16L
#define LEAF_mip6MnBLNodeAddress 2
#define MINSIZE_mip6MnBLNodeAddress 0L
#define MAXSIZE_mip6MnBLNodeAddress 255L
#define LEAF_mip6MnBLCOAType 3
#define VAL_mip6MnBLCOAType_unknown 0L
#define VAL_mip6MnBLCOAType_ipv4 1L
#define VAL_mip6MnBLCOAType_ipv6 2L
#define VAL_mip6MnBLCOAType_ipv4z 3L
#define VAL_mip6MnBLCOAType_ipv6z 4L
#define VAL_mip6MnBLCOAType_dns 16L
#define LEAF_mip6MnBLCOA 4
#define MINSIZE_mip6MnBLCOA 0L
#define MAXSIZE_mip6MnBLCOA 255L
#define LEAF_mip6MnBLLifeTimeRequested 5
#define LEAF_mip6MnBLLifeTimeGranted 6
#define LEAF_mip6MnBLMaxSeq 7
#define MIN_mip6MnBLMaxSeq 0L
#define MAX_mip6MnBLMaxSeq 65536L
#define LEAF_mip6MnBLTimeSent 8
#define SIZE_mip6MnBLTimeSent_1 8L
#define SIZE_mip6MnBLTimeSent_2 11L
#define LEAF_mip6MnBLAccepted 9
#define VAL_mip6MnBLAccepted_true 1L
#define VAL_mip6MnBLAccepted_false 2L
#define LEAF_mip6MnBLAcceptedTime 10
#define SIZE_mip6MnBLAcceptedTime_1 8L
#define SIZE_mip6MnBLAcceptedTime_2 11L
#define LEAF_mip6MnBLRetransmissions 11
#define LEAF_mip6MnBLDontSendBUFlag 12
#define VAL_mip6MnBLDontSendBUFlag_true 1L
#define VAL_mip6MnBLDontSendBUFlag_false 2L
#define LEAF_mip6MnMobilityMessagesSent 1
#define LEAF_mip6MnMobilityMessagesRecd 2
#define LEAF_mip6MnBUsToHA 3
#define LEAF_mip6MnBUAcksFromHA 4
#define LEAF_mip6MnBUsToCN 5
#define LEAF_mip6MnBUAcksFromCN 6
#define LEAF_mip6MnBindingErrorsFromCN 7
#define LEAF_mip6MnICMPErrorsRecd 8
#define LEAF_mip6MnBRRequestsRecd 9
#define LEAF_mip6CnHomeTestInitsRecd 1
#define LEAF_mip6CnHomeTestsSent 2
#define LEAF_mip6CnCareOfTestInitsRecd 3
#define LEAF_mip6CnCareOfTestsSent 4
#define LEAF_mip6CnBUsRecd 5
#define LEAF_mip6CnBUAcksSent 6
#define LEAF_mip6CnBRsSent 7
#define LEAF_mip6CnBindingErrors 8
#define LEAF_mip6CnBUsAccepted 9
#define LEAF_mip6CnBUsRejected 10
#define LEAF_mip6CnReasonUnspecified 11
#define LEAF_mip6CnInsufficientResource 12
#define LEAF_mip6CnHomeRegnNotSupported 13
#define LEAF_mip6CnSeqNumberOutOfWindow 14
#define LEAF_mip6CnExpiredHomeNonceIndex 15
#define LEAF_mip6CnExpiredCareOfNonceIndex 16
#define LEAF_mip6CnExpiredNonce 17
#define LEAF_mip6CnRegTypeChangeDisallowed 18
#define LEAF_mip6CnBURequestsAccepted 1
#define LEAF_mip6CnBURequestsRejected 2
#define LEAF_mip6CnBCEntryCreationTime 3
#define SIZE_mip6CnBCEntryCreationTime_1 8L
#define SIZE_mip6CnBCEntryCreationTime_2 11L
#define LEAF_mip6CnBUAcceptedTime 4
#define SIZE_mip6CnBUAcceptedTime_1 8L
#define SIZE_mip6CnBUAcceptedTime_2 11L
#define LEAF_mip6CnBURejectionTime 5
#define SIZE_mip6CnBURejectionTime_1 8L
#define SIZE_mip6CnBURejectionTime_2 11L
#define LEAF_mip6CnBURejectionCode 6
#define VAL_mip6CnBURejectionCode_reasonUnspecified 1L
#define VAL_mip6CnBURejectionCode_admProhibited 2L
#define VAL_mip6CnBURejectionCode_insufficientResource 3L
#define VAL_mip6CnBURejectionCode_homeRegistrationNotSupported 4L
#define VAL_mip6CnBURejectionCode_notHomeSubnet 5L
#define VAL_mip6CnBURejectionCode_notHomeAgentForThisMobileNode 6L
#define VAL_mip6CnBURejectionCode_duplicateAddressDetectionFailed 7L
#define VAL_mip6CnBURejectionCode_sequenceNumberOutOfWindow 8L
#define VAL_mip6CnBURejectionCode_expiredHomeNonceIndex 9L
#define VAL_mip6CnBURejectionCode_expiredCareofNonceIndex 10L
#define VAL_mip6CnBURejectionCode_expiredNonces 11L
#define VAL_mip6CnBURejectionCode_registrationTypeChangeDisallowed 12L
#define LEAF_mip6CnCtrDiscontinuityTime 7
#define LEAF_mip6HaAdvsRecd 1
#define LEAF_mip6HaAdvsSent 2
#define LEAF_mip6HaAdvPreference 1
#define MIN_mip6HaAdvPreference 0L
#define MAX_mip6HaAdvPreference 65536L
#define LEAF_mip6HaAdvLifetime 2
#define MIN_mip6HaAdvLifetime 1L
#define MAX_mip6HaAdvLifetime 65535L
#define LEAF_mip6HaPrefixAdv 3
#define VAL_mip6HaPrefixAdv_enabled 1L
#define VAL_mip6HaPrefixAdv_disabled 2L
#define LEAF_mip6HaPrefixSolicitation 4
#define VAL_mip6HaPrefixSolicitation_enabled 1L
#define VAL_mip6HaPrefixSolicitation_disabled 2L
#define LEAF_mip6HaMCastCtlMsgSupport 5
#define VAL_mip6HaMCastCtlMsgSupport_enabled 1L
#define VAL_mip6HaMCastCtlMsgSupport_disabled 2L
#define LEAF_mip6HaLinkLocalAddressType 1
#define VAL_mip6HaLinkLocalAddressType_unknown 0L
#define VAL_mip6HaLinkLocalAddressType_ipv4 1L
#define VAL_mip6HaLinkLocalAddressType_ipv6 2L
#define VAL_mip6HaLinkLocalAddressType_ipv4z 3L
#define VAL_mip6HaLinkLocalAddressType_ipv6z 4L
#define VAL_mip6HaLinkLocalAddressType_dns 16L
#define LEAF_mip6HaLinkLocalAddress 2
#define MINSIZE_mip6HaLinkLocalAddress 0L
#define MAXSIZE_mip6HaLinkLocalAddress 255L
#define LEAF_mip6HaPreference 3
#define LEAF_mip6HaRecvLifeTime 4
#define LEAF_mip6HaRecvTimeStamp 5
#define SIZE_mip6HaRecvTimeStamp_1 8L
#define SIZE_mip6HaRecvTimeStamp_2 11L
#define LEAF_mip6HaGaAddrSeqNo 1
#define MIN_mip6HaGaAddrSeqNo 1L
#define MAX_mip6HaGaAddrSeqNo 1024L
#define LEAF_mip6HaGaGlobalAddressType 2
#define VAL_mip6HaGaGlobalAddressType_unknown 0L
#define VAL_mip6HaGaGlobalAddressType_ipv4 1L
#define VAL_mip6HaGaGlobalAddressType_ipv6 2L
#define VAL_mip6HaGaGlobalAddressType_ipv4z 3L
#define VAL_mip6HaGaGlobalAddressType_ipv6z 4L
#define VAL_mip6HaGaGlobalAddressType_dns 16L
#define LEAF_mip6HaGaGlobalAddress 3
#define MINSIZE_mip6HaGaGlobalAddress 0L
#define MAXSIZE_mip6HaGaGlobalAddress 255L
#define LEAF_mip6HaHomeTestInitsRecd 1
#define LEAF_mip6HaHomeTestsSent 2
#define LEAF_mip6HaBUsRecd 3
#define LEAF_mip6HaBUAcksSent 4
#define LEAF_mip6HaBRAdviceSent 5
#define LEAF_mip6HaBUsAccepted 6
#define LEAF_mip6HaPrefDiscoverReqd 7
#define LEAF_mip6HaReasonUnspecified 8
#define LEAF_mip6HaAdmProhibited 9
#define LEAF_mip6HaInsufficientResource 10
#define LEAF_mip6HaHomeRegnNotSupported 11
#define LEAF_mip6HaNotHomeSubnet 12
#define LEAF_mip6HaNotHomeAgentForThisMN 13
#define LEAF_mip6HaDupAddrDetectionFailed 14
#define LEAF_mip6HaSeqNumberOutOfWindow 15
#define LEAF_mip6HaExpiredHomeNonceIndex 16
#define LEAF_mip6HaRegTypeChangeDisallowed 17
#define LEAF_mip6HaBURequestsAccepted 1
#define LEAF_mip6HaBURequestsDenied 2
#define LEAF_mip6HaBCEntryCreationTime 3
#define SIZE_mip6HaBCEntryCreationTime_1 8L
#define SIZE_mip6HaBCEntryCreationTime_2 11L
#define LEAF_mip6HaBUAcceptedTime 4
#define SIZE_mip6HaBUAcceptedTime_1 8L
#define SIZE_mip6HaBUAcceptedTime_2 11L
#define LEAF_mip6HaBURejectionTime 5
#define SIZE_mip6HaBURejectionTime_1 8L
#define SIZE_mip6HaBURejectionTime_2 11L
#define LEAF_mip6HaRecentBURejectionCode 6
#define VAL_mip6HaRecentBURejectionCode_reasonUnspecified 1L
#define VAL_mip6HaRecentBURejectionCode_admProhibited 2L
#define VAL_mip6HaRecentBURejectionCode_insufficientResource 3L
#define VAL_mip6HaRecentBURejectionCode_homeRegistrationNotSupported 4L
#define VAL_mip6HaRecentBURejectionCode_notHomeSubnet 5L
#define VAL_mip6HaRecentBURejectionCode_notHomeAgentForThisMobileNode 6L
#define VAL_mip6HaRecentBURejectionCode_duplicateAddressDetectionFailed 7L
#define VAL_mip6HaRecentBURejectionCode_sequenceNumberOutOfWindow 8L
#define VAL_mip6HaRecentBURejectionCode_expiredHomeNonceIndex 9L
#define VAL_mip6HaRecentBURejectionCode_expiredCareofNonceIndex 10L
#define VAL_mip6HaRecentBURejectionCode_expiredNonces 11L
#define VAL_mip6HaRecentBURejectionCode_registrationTypeChangeDisallowed 12L
#define LEAF_mip6HaCtrDiscontinuityTime 7
#endif /* WRSNMP */
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,822 @@
#ifdef WRSNMP
#ifdef IPMIPFA
#include <wrn/wm/snmp/engine/asn1conf.h>
#include <wrn/wm/snmp/engine/asn1.h>
#include <wrn/wm/snmp/engine/buffer.h>
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/localio.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmp.h>
#include <wrn/wm/snmp/engine/auxfuncs.h>
#include "mip4_mth.h"
#include <ipcom_type.h>
#include <ipcom_cstyle.h>
#include <ipcom_clib.h>
#include <ipcom_syslog.h>
#include <ipcom_err.h>
#include <ipcom_vxworks.h>
/* only part added by me */
#include <ipmipfa_attr.h>
#define STRUCT_faCOAEntry struct Ipmip4_mib_faCOAEntry
#define STRUCT_faAdvertisement struct Ipmip4_mib_faAdvertisement
#define STRUCT_faVisitorEntry struct Ipmip4_mib_faVisitorEntry
#define STRUCT_faRegistration struct Ipmipfa_mib_RegistrationCounters
int faRegistration_lookup(STRUCT_faRegistration *data)
{
#if 0
STRUCT_faRegistration *entry;
entry = ipmipfa_attr_mib_RegistrationCounters();
if (!entry)
return -1;
memcpy(data, entry, sizeof(*data));
ipcom_free(entry);
#endif
return 0;
}
/* to here */
#if 0
/*
* Method routines for the faCOATable:
*
* faSupportedCOA -- not-accessible
* Care-of-address supported by this foreign agent.
*
* faCOAStatus -- read-create
* The row status for COA entry.
*/
/* An internal routine to retrieve the values of the variables, used
* by the method routines faCOAEntry_get and faCOAEntry_next.
* You need to replace the type STRUCT_faCOAEntry with something
* appropriate to your system. */
static int
faCOAEntry_get_value(OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
STRUCT_faCOAEntry *data) /* !!! */
{
switch(lastmatch) {
case LEAF_faCOAStatus:
/* Values:
* active(1) = VAL_faCOAStatus_active
* notInService(2) = VAL_faCOAStatus_notInService
* notReady(3) = VAL_faCOAStatus_notReady
* createAndGo(4) = VAL_faCOAStatus_createAndGo
* createAndWait(5) = VAL_faCOAStatus_createAndWait
* destroy(6) = VAL_faCOAStatus_destroy
*/
getproc_got_int32(pktp, vbp, data->faCOAStatus); /* !!! */
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
void
faCOAEntry_get(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_faCOAEntry data; /* !!! */
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* use the instance (tcount and tlist) to look up the entry in the
* table. This lookup routine will probably have to be changed to
* suit your system. */
if ((data = faCOAEntry_lookup(tcount, tlist)) == 0) /* !!! */
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins(pktp, vbp);
else {
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link) {
if ((error = faCOAEntry_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, &data)) != NO_ERROR)
getproc_error(pktp, vbp, error);
}
}
}
void
faCOAEntry_next(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
#define faCOAEntry_INSTANCE_LEN 4 /* !!! */
STRUCT_faCOAEntry *data; /* !!! */
STRUCT_faCOAEntry *best; /* !!! */
OIDC_T tmp_inst[faCOAEntry_INSTANCE_LEN];
OIDC_T best_inst[faCOAEntry_INSTANCE_LEN];
int i;
int error;
unsigned inst_len;
unsigned best_inst_len;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* generate the instance of each table entry and find the
* smallest instance that's larger than tcount/tlist */
best = 0;
/* This loop needs to iterate over each entry in your table */
for (data = faCOAEntry_first(); data; /* !!! */
data = faCOAEntry_int_next(data)) { /* !!! */
inst_len = faCOAEntry_build_instance(data, tmp_inst);
if ((oidcmp2(inst_len, tmp_inst, tcount, tlist) > 0) &&
((!best || (oidcmp2(inst_len, tmp_inst,
inst_len, best_inst) < 0)))) {
best = data;
for (i = 0; i < inst_len; i++)
best_inst[i] = tmp_inst[i];
best_inst_len = inst_len;
}
}
if (best) {
/* we found a next so get the values and set the instance for all
* the varbinds for this row of this table.
* NOTE: if you allow holes in the table then this code will have to
* change significantly to accomodate that. */
for ( ; vbp ; vbp = vbp->vb_link) {
if ((error = faCOAEntry_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, best)) == NO_ERROR)
nextproc_next_instance(pktp, vbp, best_inst_len, best_inst);
else
nextproc_error(pktp, vbp, error);
}
}
else /* there's no more in this table */
for ( ; vbp ; vbp = vbp->vb_link )
nextproc_no_next(pktp, vbp);
}
void
faCOAEntry_test(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
/* Change the appropriate definition to 1 if you want row creation
* or consistency checking. If you will never need these it's
* probably best to just delete the code to make the testproc a
* little more readable. */
#define faCOAEntry_CONSISTENCY_CHECK 0 /* !!! */
#define faCOAEntry_ROW_CREATION 0 /* !!! */
STRUCT_faCOAEntry *data; /* !!! */
#if faCOAEntry_CONSISTENCY_CHECK
STRUCT_faCOAEntry check_data; /* !!! */
#endif
int error;
VB_T *group_vbp;
if ((data = faCOAEntry_lookup(tcount, tlist)) == 0) { /* !!! */
/* optionally do row creation here !!! */
testproc_error(pktp, vbp, NO_SUCH_NAME);
return;
}
#if faCOAEntry_CONSISTENCY_CHECK
/* get a copy of the data to modify for now to see if we end up with
* something that's consistent after doing all the sets */
check_data = *data;
#endif
/* stash the looked up information here for the setproc */
vbp->vb_priv = data;
/* find all the varbinds that share the same getproc and instance and
* group them together. */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* now check each varbind */
for (group_vbp = vbp;
group_vbp;
group_vbp = group_vbp->vb_link) {
/* !!! Add any value checking you wish to do. */
switch (group_vbp->vb_ml.ml_last_match) {
case LEAF_faCOAStatus:
/* !!! modify this switch to give an error for values your
* implementation doesn't allow */
switch (VB_GET_INT32(group_vbp)) {
case VAL_faCOAStatus_active:
case VAL_faCOAStatus_notInService:
case VAL_faCOAStatus_notReady:
case VAL_faCOAStatus_createAndGo:
case VAL_faCOAStatus_createAndWait:
case VAL_faCOAStatus_destroy:
break;
default:
testproc_error(pktp, group_vbp, WRONG_VALUE);
continue;
}
#if faCOAStatus_CONSISTENCY_CHECK
check_data.faCOAStatus = VB_GET_INT32(group_vbp); /* !!! */
#endif
testproc_good(pktp, group_vbp);
break;
default:
testproc_error(pktp, group_vbp, GEN_ERR);
return;
}
}
#if faCOAEntry_CONSISTENCY_CHECK
/* check that the result of all the sets will work */
if (!error && (faCOAEntry_consistency_check(&check_data) != 0)) /* !!! */
testproc_error(pktp, vbp, INCONSISTENT_VALUE);
#endif
}
void
faCOAEntry_set(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_faCOAEntry *data = vbp->vb_priv; /* !!! */
for ( ; vbp; vbp = vbp->vb_link) {
switch (vbp->vb_ml.ml_last_match) {
case LEAF_faCOAStatus:
data->faCOAStatus = VB_GET_INT32(vbp); /* !!! */
setproc_good(pktp, vbp);
break;
default:
setproc_error(pktp, vbp, COMMIT_FAILED);
return;
}
}
}
/*
* Method routines for the faAdvertisement variables:
*
* faIsBusy -- read-only
* Whether or not the foreign agent is too busy to
* accept additional registrations. If true(1), the agent
* is busy and any Agent advertisements sent from this
* agent should have the 'B' bit set to 1.
*
* faRegistrationRequired -- read-write
* Whether or not this foreign agent requires
* registration even from those mobile nodes that have
* acquired their own, colocated care-of address. If
*
* true(1), registration is required and any Agent
* Advertisements sent from this agent should have the
* 'R' bit set to 1.
*/
/* An internal routine to retrieve the values of the variables, used
* by the method routines faAdvertisement_get and faAdvertisement_next.
* You need to replace the type STRUCT_faAdvertisement with something
* appropriate to your system. */
static int
faAdvertisement_get_value(OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
STRUCT_faAdvertisement *data) /* !!! */
{
switch(lastmatch) {
case LEAF_faIsBusy:
/* Values:
* true(1) = VAL_faIsBusy_true
* false(2) = VAL_faIsBusy_false
*/
getproc_got_int32(pktp, vbp, data->faIsBusy); /* !!! */
break;
case LEAF_faRegistrationRequired:
/* Values:
* true(1) = VAL_faRegistrationRequired_true
* false(2) = VAL_faRegistrationRequired_false
*/
getproc_got_int32(pktp, vbp, data->faRegistrationRequired); /* !!! */
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
void
faAdvertisement_get(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_faAdvertisement data; /* !!! */
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* check that the instance is exactly .0 */
if (!((tcount == 1) && (*tlist == 0)))
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins(pktp, vbp);
/* grab the actual data for this variable. this lookup routine will
* probably have to be changed for your system. for scalar variables
* there might not even be any lookup routine. */
else if (faAdvertisement_lookup(&data) != 0) /* !!! */
for ( ; vbp; vbp = vbp->vb_link)
getproc_error(pktp, vbp, GEN_ERR);
else {
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link) {
if ((error = faAdvertisement_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, &data)) != NO_ERROR)
getproc_error(pktp, vbp, error);
}
}
}
void
faAdvertisement_next(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_faAdvertisement data; /* !!! */
OIDC_T instance = 0;
/* the only time there's a next for a scalar is if we're given
* no instance at all. */
if (tcount != 0)
nextproc_no_next(pktp, vbp);
/* grab the data for these variables. you'll probably have to change
* this lookup routine for your system. for scalar variables there
* might not even be any lookup routine. */
else if (faAdvertisement_lookup(&data)) /* !!! */
getproc_error(pktp, vbp, GEN_ERR);
else {
/* find all the varbinds in this group and retrieve their
* values from the same data structure */
for (group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
vbp; vbp = vbp->vb_link) {
nextproc_next_instance(pktp, vbp, 1, &instance);
faAdvertisement_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, &data);
}
}
}
void
faAdvertisement_test(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
VB_T *group_vbp;
/* Only scalar variables here, check for .0 */
if (!((tcount == 1) && (*tlist == 0))) {
testproc_error(pktp, vbp, NO_SUCH_NAME);
return;
}
/* find all the varbinds that share the same getproc and instance and
* group them together. */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* now check each varbind */
for (group_vbp = vbp;
group_vbp;
group_vbp = group_vbp->vb_link) {
/* !!! Add any value checking you wish to do. */
switch (group_vbp->vb_ml.ml_last_match) {
case LEAF_faRegistrationRequired:
/* !!! modify this switch to give an error for values your
* implementation doesn't allow */
switch (VB_GET_INT32(group_vbp)) {
case VAL_faRegistrationRequired_true:
case VAL_faRegistrationRequired_false:
break;
default:
testproc_error(pktp, group_vbp, WRONG_VALUE);
continue;
}
testproc_good(pktp, group_vbp);
break;
default:
testproc_error(pktp, group_vbp, GEN_ERR);
return;
}
}
}
void
faAdvertisement_set(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
for ( ; vbp; vbp = vbp->vb_link) {
switch (vbp->vb_ml.ml_last_match) {
case LEAF_faRegistrationRequired:
faRegistrationRequired = VB_GET_INT32(vbp); /* !!! */
setproc_good(pktp, vbp);
break;
default:
setproc_error(pktp, vbp, COMMIT_FAILED);
return;
}
}
}
/*
* Method routines for the faVisitorTable:
*
* faVisitorIPAddress -- read-only
* Source IP address of visitor's Registration Request.
*
* faVisitorHomeAddress -- read-only
* Home (IP) address of visiting mobile node.
*
* faVisitorHomeAgentAddress -- read-only
* Home agent IP address for that visiting mobile node.
*
* faVisitorTimeGranted -- read-only
* The lifetime in seconds granted to the mobile node
* for this registration. Only valid if
* faVisitorRegIsAccepted is true(1).
*
* faVisitorTimeRemaining -- read-only
* The number of seconds remaining until the
* registration is expired. It has the same initial value
* as faVisitorTimeGranted, and is counted down by the
* foreign agent.
*
* faVisitorRegFlags -- read-only
* Registration flags sent by mobile node.
*
* faVisitorRegIDLow -- read-only
* Low 32 bits of Identification used in that
* registration by the mobile node.
*
* faVisitorRegIDHigh -- read-only
* High 32 bits of Identification used in that
* registration by the mobile node.
*
* faVisitorRegIsAccepted -- read-only
* Whether the registration has been accepted or not. If
* it is false(2), this registration is still pending for
* reply.
*/
/* An internal routine to retrieve the values of the variables, used
* by the method routines faVisitorEntry_get and faVisitorEntry_next.
* You need to replace the type STRUCT_faVisitorEntry with something
* appropriate to your system. */
static int
faVisitorEntry_get_value(OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
STRUCT_faVisitorEntry *data) /* !!! */
{
switch(lastmatch) {
case LEAF_faVisitorIPAddress:
getproc_got_ip_address(pktp, vbp, data->faVisitorIPAddress); /* !!! */
break;
case LEAF_faVisitorHomeAddress:
getproc_got_ip_address(pktp, vbp, data->faVisitorHomeAddress); /* !!! */
break;
case LEAF_faVisitorHomeAgentAddress:
getproc_got_ip_address(pktp, vbp, data->faVisitorHomeAgentAddress); /* !!! */
break;
case LEAF_faVisitorTimeGranted:
getproc_got_int32(pktp, vbp, data->faVisitorTimeGranted); /* !!! */
break;
case LEAF_faVisitorTimeRemaining:
getproc_got_uint32(pktp, vbp, data->faVisitorTimeRemaining, VT_GAUGE); /* !!! */
break;
case LEAF_faVisitorRegFlags:
/* !!! This code uses the getproc_got_octet_string() API,
* which always allocates a new buffer to store the data
* provided. For more control over memory allocations,
* use getproc_got_string() instead.
*/
/* if the data being returned is in dynamic storage and needs
* to be free'd, change the 0 argument to a 1. */
getproc_got_string(pktp, vbp, string_length(data->faVisitorRegFlags), data->faVisitorRegFlags, 0, VT_STRING); /* !!! */
break;
case LEAF_faVisitorRegIDLow:
getproc_got_int32(pktp, vbp, data->faVisitorRegIDLow); /* !!! */
break;
case LEAF_faVisitorRegIDHigh:
getproc_got_int32(pktp, vbp, data->faVisitorRegIDHigh); /* !!! */
break;
case LEAF_faVisitorRegIsAccepted:
/* Values:
* true(1) = VAL_faVisitorRegIsAccepted_true
* false(2) = VAL_faVisitorRegIsAccepted_false
*/
getproc_got_int32(pktp, vbp, data->faVisitorRegIsAccepted); /* !!! */
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
void
faVisitorEntry_get(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_faVisitorEntry data; /* !!! */
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* use the instance (tcount and tlist) to look up the entry in the
* table. This lookup routine will probably have to be changed to
* suit your system. */
if ((data = faVisitorEntry_lookup(tcount, tlist)) == 0) /* !!! */
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins(pktp, vbp);
else {
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link) {
if ((error = faVisitorEntry_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, &data)) != NO_ERROR)
getproc_error(pktp, vbp, error);
}
}
}
void
faVisitorEntry_next(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
#define faVisitorEntry_INSTANCE_LEN 4 /* !!! */
STRUCT_faVisitorEntry *data; /* !!! */
STRUCT_faVisitorEntry *best; /* !!! */
OIDC_T tmp_inst[faVisitorEntry_INSTANCE_LEN];
OIDC_T best_inst[faVisitorEntry_INSTANCE_LEN];
int i;
int error;
unsigned inst_len;
unsigned best_inst_len;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* generate the instance of each table entry and find the
* smallest instance that's larger than tcount/tlist */
best = 0;
/* This loop needs to iterate over each entry in your table */
for (data = faVisitorEntry_first(); data; /* !!! */
data = faVisitorEntry_int_next(data)) { /* !!! */
inst_len = faVisitorEntry_build_instance(data, tmp_inst);
if ((oidcmp2(inst_len, tmp_inst, tcount, tlist) > 0) &&
((!best || (oidcmp2(inst_len, tmp_inst,
inst_len, best_inst) < 0)))) {
best = data;
for (i = 0; i < inst_len; i++)
best_inst[i] = tmp_inst[i];
best_inst_len = inst_len;
}
}
if (best) {
/* we found a next so get the values and set the instance for all
* the varbinds for this row of this table.
* NOTE: if you allow holes in the table then this code will have to
* change significantly to accomodate that. */
for ( ; vbp ; vbp = vbp->vb_link) {
if ((error = faVisitorEntry_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, best)) == NO_ERROR)
nextproc_next_instance(pktp, vbp, best_inst_len, best_inst);
else
nextproc_error(pktp, vbp, error);
}
}
else /* there's no more in this table */
for ( ; vbp ; vbp = vbp->vb_link )
nextproc_no_next(pktp, vbp);
}
#endif
/*
* Method routines for the faRegistration variables:
*
* faRegRequestsReceived -- read-only
* Total number of valid Registration Requests
* received.
*
* faRegRequestsRelayed -- read-only
* Total number of Registration Requests relayed to home
* agent by foreign agent.
*
* faReasonUnspecified -- read-only
* Total number of Registration Requests denied by
* foreign agent -- reason unspecified (Code 64).
*
* faAdmProhibited -- read-only
* Total number of Registration Requests denied by
* foreign agent -- administratively prohibited (Code
* 65).
*
* faInsufficientResource -- read-only
* Total number of Registration Requests denied by
* foreign agent -- insufficient resources (Code 66).
*
* faMNAuthenticationFailure -- read-only
* Total number of Registration Requests denied by
* foreign agent -- mobile node failed authentication
* (Code 67).
*
* faRegLifetimeTooLong -- read-only
* Total number of Registration Requests denied by
* foreign agent -- requested lifetime too long (Code
* 69).
*
* faPoorlyFormedRequests -- read-only
* Total number of Registration Requests denied by
* foreign agent -- poorly formed request (Code 70).
*
* faEncapsulationUnavailable -- read-only
* Total number of Registration Requests denied by
* foreign agent -- requested encapsulation unavailable
* (Code 72).
*
* faVJCompressionUnavailable -- read-only
* Total number of Registration Requests denied by
* foreign agent -- requested Van Jacobson header
* compression unavailable (Code 73).
*
* faHAUnreachable -- read-only
* Total number of Registration Requests denied by
* foreign agent -- home agent unreachable (Codes
* 80-95).
*
* faRegRepliesRecieved -- read-only
* Total number of well-formed Registration Replies
* received by foreign agent.
*
* faRegRepliesRelayed -- read-only
* Total number of valid Registration Replies relayed to
* the mobile node by foreign agent.
*
* faHAAuthenticationFailure -- read-only
* Total number of Registration Replies denied by
* foreign agent -- home agent failed authentication
* (Code 68).
*
* faPoorlyFormedReplies -- read-only
* Total number of Registration Replies denied by
* foreign agent -- poorly formed reply (Code 71).
*/
/* An internal routine to retrieve the values of the variables, used
* by the method routines faRegistration_get and faRegistration_next.
* You need to replace the type STRUCT_faRegistration with something
* appropriate to your system. */
static int
faRegistration_get_value(OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
STRUCT_faRegistration *data) /* !!! */
{
switch(lastmatch) {
case LEAF_faRegRequestsReceived:
getproc_got_uint32(pktp, vbp, data->faRegRequestsReceived, VT_COUNTER); /* !!! */
break;
case LEAF_faRegRequestsRelayed:
getproc_got_uint32(pktp, vbp, data->faRegRequestsRelayed, VT_COUNTER); /* !!! */
break;
case LEAF_faReasonUnspecified:
getproc_got_uint32(pktp, vbp, data->faReasonUnspecified, VT_COUNTER); /* !!! */
break;
case LEAF_faAdmProhibited:
getproc_got_uint32(pktp, vbp, data->faAdmProhibited, VT_COUNTER); /* !!! */
break;
case LEAF_faInsufficientResource:
getproc_got_uint32(pktp, vbp, data->faInsufficientResource, VT_COUNTER); /* !!! */
break;
case LEAF_faMNAuthenticationFailure:
getproc_got_uint32(pktp, vbp, data->faMNAuthenticationFailure, VT_COUNTER); /* !!! */
break;
case LEAF_faRegLifetimeTooLong:
getproc_got_uint32(pktp, vbp, data->faRegLifetimeTooLong, VT_COUNTER); /* !!! */
break;
case LEAF_faPoorlyFormedRequests:
getproc_got_uint32(pktp, vbp, data->faPoorlyFormedRequests, VT_COUNTER); /* !!! */
break;
case LEAF_faEncapsulationUnavailable:
getproc_got_uint32(pktp, vbp, data->faEncapsulationUnavailable, VT_COUNTER); /* !!! */
break;
case LEAF_faVJCompressionUnavailable:
getproc_got_uint32(pktp, vbp, data->faVJCompressionUnavailable, VT_COUNTER); /* !!! */
break;
case LEAF_faHAUnreachable:
getproc_got_uint32(pktp, vbp, data->faHAUnreachable, VT_COUNTER); /* !!! */
break;
case LEAF_faRegRepliesRecieved:
getproc_got_uint32(pktp, vbp, data->faRegRepliesRecieved, VT_COUNTER); /* !!! */
break;
case LEAF_faRegRepliesRelayed:
getproc_got_uint32(pktp, vbp, data->faRegRepliesRelayed, VT_COUNTER); /* !!! */
break;
case LEAF_faHAAuthenticationFailure:
getproc_got_uint32(pktp, vbp, data->faHAAuthenticationFailure, VT_COUNTER); /* !!! */
break;
case LEAF_faPoorlyFormedReplies:
getproc_got_uint32(pktp, vbp, data->faPoorlyFormedReplies, VT_COUNTER); /* !!! */
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
void
faRegistration_get(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_faRegistration data; /* !!! */
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* check that the instance is exactly .0 */
if (!((tcount == 1) && (*tlist == 0)))
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins(pktp, vbp);
/* grab the actual data for this variable. this lookup routine will
* probably have to be changed for your system. for scalar variables
* there might not even be any lookup routine. */
else if (faRegistration_lookup(&data) != 0) /* !!! */
for ( ; vbp; vbp = vbp->vb_link)
getproc_error(pktp, vbp, GEN_ERR);
else {
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link) {
if ((error = faRegistration_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, &data)) != NO_ERROR)
getproc_error(pktp, vbp, error);
}
}
}
void
faRegistration_next(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_faRegistration data; /* !!! */
OIDC_T instance = 0;
/* the only time there's a next for a scalar is if we're given
* no instance at all. */
if (tcount != 0)
nextproc_no_next(pktp, vbp);
/* grab the data for these variables. you'll probably have to change
* this lookup routine for your system. for scalar variables there
* might not even be any lookup routine. */
else if (faRegistration_lookup(&data)) /* !!! */
getproc_error(pktp, vbp, GEN_ERR);
else {
/* find all the varbinds in this group and retrieve their
* values from the same data structure */
for (group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
vbp; vbp = vbp->vb_link) {
nextproc_next_instance(pktp, vbp, 1, &instance);
faRegistration_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, &data);
}
}
}
#endif
#endif
/* WRSNMP */
@@ -0,0 +1,556 @@
#ifdef WRSNMP
#include <wrn/wm/snmp/engine/asn1conf.h>
#include <wrn/wm/snmp/engine/asn1.h>
#include <wrn/wm/snmp/engine/buffer.h>
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/localio.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmp.h>
#include <wrn/wm/snmp/engine/auxfuncs.h>
#include "mip4_mth.h"
#define STRUCT_haMobilityBindingEntry struct Ipmip4_mib_haMobilityBindingEntry
#define STRUCT_haCounterEntry struct Ipmip4_mib_haCounterEntry
#define STRUCT_haRegistration struct Ipmip4_mib_haRegistration
#if 0
/*
* Method routines for the haMobilityBindingTable:
*
* haMobilityBindingMN -- read-only
* Mobile node's home (IP) address.
*
* haMobilityBindingCOA -- read-only
* Mobile node's care-of-address. One mobile node can
* have multiple bindings with different
* care-of-addresses.
*
* haMobilityBindingSourceAddress -- read-only
* IP source address of the Registration Request as
* received by the home agent. Will be either a mobile
* node's co-located care-of address or an address of the
* foreign agent.
*
* haMobilityBindingRegFlags -- read-only
* Registration flags sent by mobile node.
*
* haMobilityBindingRegIDLow -- read-only
* Low 32 bits of Identification used in that binding by
* the mobile node.
*
* haMobilityBindingRegIDHigh -- read-only
* High 32 bits of Identification used in that binding by
* the mobile node.
*
* haMobilityBindingTimeGranted -- read-only
* The lifetime in seconds granted to the mobile node
* for this registration.
*
* haMobilityBindingTimeRemaining -- read-only
* The number of seconds remaining until the
* registration is expired. It has the same initial value
* as haMobilityBindingTimeGranted, and is counted down
* by the home agent.
*/
/* An internal routine to retrieve the values of the variables, used
* by the method routines haMobilityBindingEntry_get and haMobilityBindingEntry_next.
* You need to replace the type STRUCT_haMobilityBindingEntry with something
* appropriate to your system. */
static int
haMobilityBindingEntry_get_value(OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
STRUCT_haMobilityBindingEntry *data) /* !!! */
{
switch(lastmatch) {
case LEAF_haMobilityBindingMN:
getproc_got_ip_address(pktp, vbp, data->haMobilityBindingMN); /* !!! */
break;
case LEAF_haMobilityBindingCOA:
getproc_got_ip_address(pktp, vbp, data->haMobilityBindingCOA); /* !!! */
break;
case LEAF_haMobilityBindingSourceAddress:
getproc_got_ip_address(pktp, vbp, data->haMobilityBindingSourceAddress); /* !!! */
break;
case LEAF_haMobilityBindingRegFlags:
/* !!! This code uses the getproc_got_octet_string() API,
* which always allocates a new buffer to store the data
* provided. For more control over memory allocations,
* use getproc_got_string() instead.
*/
/* if the data being returned is in dynamic storage and needs
* to be free'd, change the 0 argument to a 1. */
getproc_got_string(pktp, vbp, string_length(data->haMobilityBindingRegFlags), data->haMobilityBindingRegFlags, 0, VT_STRING); /* !!! */
break;
case LEAF_haMobilityBindingRegIDLow:
getproc_got_int32(pktp, vbp, data->haMobilityBindingRegIDLow); /* !!! */
break;
case LEAF_haMobilityBindingRegIDHigh:
getproc_got_int32(pktp, vbp, data->haMobilityBindingRegIDHigh); /* !!! */
break;
case LEAF_haMobilityBindingTimeGranted:
getproc_got_int32(pktp, vbp, data->haMobilityBindingTimeGranted); /* !!! */
break;
case LEAF_haMobilityBindingTimeRemaining:
getproc_got_uint32(pktp, vbp, data->haMobilityBindingTimeRemaining, VT_GAUGE); /* !!! */
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
void
haMobilityBindingEntry_get(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_haMobilityBindingEntry data; /* !!! */
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* use the instance (tcount and tlist) to look up the entry in the
* table. This lookup routine will probably have to be changed to
* suit your system. */
if ((data = haMobilityBindingEntry_lookup(tcount, tlist)) == 0) /* !!! */
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins(pktp, vbp);
else {
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link) {
if ((error = haMobilityBindingEntry_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, &data)) != NO_ERROR)
getproc_error(pktp, vbp, error);
}
}
}
void
haMobilityBindingEntry_next(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
#define haMobilityBindingEntry_INSTANCE_LEN 8 /* !!! */
STRUCT_haMobilityBindingEntry *data; /* !!! */
STRUCT_haMobilityBindingEntry *best; /* !!! */
OIDC_T tmp_inst[haMobilityBindingEntry_INSTANCE_LEN];
OIDC_T best_inst[haMobilityBindingEntry_INSTANCE_LEN];
int i;
int error;
unsigned inst_len;
unsigned best_inst_len;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* generate the instance of each table entry and find the
* smallest instance that's larger than tcount/tlist */
best = 0;
/* This loop needs to iterate over each entry in your table */
for (data = haMobilityBindingEntry_first(); data; /* !!! */
data = haMobilityBindingEntry_int_next(data)) { /* !!! */
inst_len = haMobilityBindingEntry_build_instance(data, tmp_inst);
if ((oidcmp2(inst_len, tmp_inst, tcount, tlist) > 0) &&
((!best || (oidcmp2(inst_len, tmp_inst,
inst_len, best_inst) < 0)))) {
best = data;
for (i = 0; i < inst_len; i++)
best_inst[i] = tmp_inst[i];
best_inst_len = inst_len;
}
}
if (best) {
/* we found a next so get the values and set the instance for all
* the varbinds for this row of this table.
* NOTE: if you allow holes in the table then this code will have to
* change significantly to accomodate that. */
for ( ; vbp ; vbp = vbp->vb_link) {
if ((error = haMobilityBindingEntry_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, best)) == NO_ERROR)
nextproc_next_instance(pktp, vbp, best_inst_len, best_inst);
else
nextproc_error(pktp, vbp, error);
}
}
else /* there's no more in this table */
for ( ; vbp ; vbp = vbp->vb_link )
nextproc_no_next(pktp, vbp);
}
/*
* Method routines for the haCounterTable:
*
* haServiceRequestsAccepted -- read-only
* Total number of service requests for the mobile node
* accepted by the home agent (Code 0 + Code 1).
*
* haServiceRequestsDenied -- read-only
* Total number of service requests for the mobile node
* denied by the home agent (sum of all registrations
* denied with Code 128 through Code 159).
*
* haOverallServiceTime -- read-only
* Overall service time (in seconds) that has
* accumulated for the mobile node since the home agent
* last rebooted.
*
* haRecentServiceAcceptedTime -- read-only
* The time at which the most recent Registration
* Request was accepted by the home agent for this mobile
* node.
*
* haRecentServiceDeniedTime -- read-only
* The time at which the most recent Registration
* Request was denied by the home agent for this mobile
* node.
*
* haRecentServiceDeniedCode -- read-only
* The Code indicating the reason why the most recent
* Registration Request for this mobile node was rejected
* by the home agent.
*/
/* An internal routine to retrieve the values of the variables, used
* by the method routines haCounterEntry_get and haCounterEntry_next.
* You need to replace the type STRUCT_haCounterEntry with something
* appropriate to your system. */
static int
haCounterEntry_get_value(OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
STRUCT_haCounterEntry *data) /* !!! */
{
switch(lastmatch) {
case LEAF_haServiceRequestsAccepted:
getproc_got_uint32(pktp, vbp, data->haServiceRequestsAccepted, VT_COUNTER); /* !!! */
break;
case LEAF_haServiceRequestsDenied:
getproc_got_uint32(pktp, vbp, data->haServiceRequestsDenied, VT_COUNTER); /* !!! */
break;
case LEAF_haOverallServiceTime:
getproc_got_uint32(pktp, vbp, data->haOverallServiceTime, VT_GAUGE); /* !!! */
break;
case LEAF_haRecentServiceAcceptedTime:
getproc_got_uint32(pktp, vbp, data->haRecentServiceAcceptedTime, VT_TIMETICKS); /* !!! */
break;
case LEAF_haRecentServiceDeniedTime:
getproc_got_uint32(pktp, vbp, data->haRecentServiceDeniedTime, VT_TIMETICKS); /* !!! */
break;
case LEAF_haRecentServiceDeniedCode:
/* Values:
* reasonUnspecified(128) = VAL_haRecentServiceDeniedCode_reasonUnspecified
* admProhibited(129) = VAL_haRecentServiceDeniedCode_admProhibited
* insufficientResource(130) = VAL_haRecentServiceDeniedCode_insufficientResource
* mnAuthenticationFailure(131) = VAL_haRecentServiceDeniedCode_mnAuthenticationFailure
* faAuthenticationFailure(132) = VAL_haRecentServiceDeniedCode_faAuthenticationFailure
* idMismatch(133) = VAL_haRecentServiceDeniedCode_idMismatch
* poorlyFormedRequest(134) = VAL_haRecentServiceDeniedCode_poorlyFormedRequest
* tooManyBindings(135) = VAL_haRecentServiceDeniedCode_tooManyBindings
* unknownHA(136) = VAL_haRecentServiceDeniedCode_unknownHA
*/
getproc_got_int32(pktp, vbp, data->haRecentServiceDeniedCode); /* !!! */
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
void
haCounterEntry_get(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_haCounterEntry data; /* !!! */
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* use the instance (tcount and tlist) to look up the entry in the
* table. This lookup routine will probably have to be changed to
* suit your system. */
if ((data = haCounterEntry_lookup(tcount, tlist)) == 0) /* !!! */
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins(pktp, vbp);
else {
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link) {
if ((error = haCounterEntry_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, &data)) != NO_ERROR)
getproc_error(pktp, vbp, error);
}
}
}
void
haCounterEntry_next(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
#define haCounterEntry_INSTANCE_LEN 4 /* !!! */
STRUCT_haCounterEntry *data; /* !!! */
STRUCT_haCounterEntry *best; /* !!! */
OIDC_T tmp_inst[haCounterEntry_INSTANCE_LEN];
OIDC_T best_inst[haCounterEntry_INSTANCE_LEN];
int i;
int error;
unsigned inst_len;
unsigned best_inst_len;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* generate the instance of each table entry and find the
* smallest instance that's larger than tcount/tlist */
best = 0;
/* This loop needs to iterate over each entry in your table */
for (data = haCounterEntry_first(); data; /* !!! */
data = haCounterEntry_int_next(data)) { /* !!! */
inst_len = haCounterEntry_build_instance(data, tmp_inst);
if ((oidcmp2(inst_len, tmp_inst, tcount, tlist) > 0) &&
((!best || (oidcmp2(inst_len, tmp_inst,
inst_len, best_inst) < 0)))) {
best = data;
for (i = 0; i < inst_len; i++)
best_inst[i] = tmp_inst[i];
best_inst_len = inst_len;
}
}
if (best) {
/* we found a next so get the values and set the instance for all
* the varbinds for this row of this table.
* NOTE: if you allow holes in the table then this code will have to
* change significantly to accomodate that. */
for ( ; vbp ; vbp = vbp->vb_link) {
if ((error = haCounterEntry_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, best)) == NO_ERROR)
nextproc_next_instance(pktp, vbp, best_inst_len, best_inst);
else
nextproc_error(pktp, vbp, error);
}
}
else /* there's no more in this table */
for ( ; vbp ; vbp = vbp->vb_link )
nextproc_no_next(pktp, vbp);
}
/*
* Method routines for the haRegistration variables:
*
* haRegistrationAccepted -- read-only
* Total number of Registration Requests accepted by
* home agent (Code 0).
*
* haMultiBindingUnsupported -- read-only
* Total number of Registration Requests accepted by
* home agent -- simultaneous mobility bindings
* unsupported (Code 1).
*
* haReasonUnspecified -- read-only
* Total number of Registration Requests denied by home
* agent -- reason unspecified (Code 128).
*
* haAdmProhibited -- read-only
* Total number of Registration Requests denied by home
* agent -- administratively prohibited (Code 129).
*
* haInsufficientResource -- read-only
* Total number of Registration Requests denied by home
* agent -- insufficient resources (Code 130).
*
* haMNAuthenticationFailure -- read-only
* Total number of Registration Requests denied by home
* agent -- mobile node failed authentication (Code
* 131).
*
* haFAAuthenticationFailure -- read-only
* Total number of Registration Requests denied by home
* agent -- foreign agent failed authentication (Code
* 132).
*
* haIDMismatch -- read-only
* Total number of Registration Requests denied by home
* agent -- Identification mismatch (Code 133).
*
* haPoorlyFormedRequest -- read-only
* Total number of Registration Requests denied by home
* agent -- poorly formed request (Code 134).
*
* haTooManyBindings -- read-only
* Total number of Registration Requests denied by home
* agent -- too many simultaneous mobility bindings (Code
* 135).
*
* haUnknownHA -- read-only
* Total number of Registration Requests denied by home
* agent -- unknown home agent address (Code 136).
*
* haGratuitiousARPsSent -- read-only
* Total number of gratuition ARPs sent by the home
* agent on behalf of mobile nodes.
*
* haProxyARPsSent -- read-only
* Total number of proxy ARPs sent by the home agent on
* behalf of mobile nodes.
*
* haRegRequestsReceived -- read-only
* Total number of Registration Requests received by
* home agent.
*
* haDeRegRequestsReceived -- read-only
* Total number of Registration Requests received by the
* home agent with a Lifetime of zero (requests to
* deregister).
*
* haRegRepliesSent -- read-only
* Total number of Registration Replies sent by the home
* agent.
*
* haDeRegRepliesSent -- read-only
* Total number of Registration Replies sent by the home
* agent in response to requests to deregister.
*/
/* An internal routine to retrieve the values of the variables, used
* by the method routines haRegistration_get and haRegistration_next.
* You need to replace the type STRUCT_haRegistration with something
* appropriate to your system. */
static int
haRegistration_get_value(OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
STRUCT_haRegistration *data) /* !!! */
{
switch(lastmatch) {
case LEAF_haRegistrationAccepted:
getproc_got_uint32(pktp, vbp, data->haRegistrationAccepted, VT_COUNTER); /* !!! */
break;
case LEAF_haMultiBindingUnsupported:
getproc_got_uint32(pktp, vbp, data->haMultiBindingUnsupported, VT_COUNTER); /* !!! */
break;
case LEAF_haReasonUnspecified:
getproc_got_uint32(pktp, vbp, data->haReasonUnspecified, VT_COUNTER); /* !!! */
break;
case LEAF_haAdmProhibited:
getproc_got_uint32(pktp, vbp, data->haAdmProhibited, VT_COUNTER); /* !!! */
break;
case LEAF_haInsufficientResource:
getproc_got_uint32(pktp, vbp, data->haInsufficientResource, VT_COUNTER); /* !!! */
break;
case LEAF_haMNAuthenticationFailure:
getproc_got_uint32(pktp, vbp, data->haMNAuthenticationFailure, VT_COUNTER); /* !!! */
break;
case LEAF_haFAAuthenticationFailure:
getproc_got_uint32(pktp, vbp, data->haFAAuthenticationFailure, VT_COUNTER); /* !!! */
break;
case LEAF_haIDMismatch:
getproc_got_uint32(pktp, vbp, data->haIDMismatch, VT_COUNTER); /* !!! */
break;
case LEAF_haPoorlyFormedRequest:
getproc_got_uint32(pktp, vbp, data->haPoorlyFormedRequest, VT_COUNTER); /* !!! */
break;
case LEAF_haTooManyBindings:
getproc_got_uint32(pktp, vbp, data->haTooManyBindings, VT_COUNTER); /* !!! */
break;
case LEAF_haUnknownHA:
getproc_got_uint32(pktp, vbp, data->haUnknownHA, VT_COUNTER); /* !!! */
break;
case LEAF_haGratuitiousARPsSent:
getproc_got_uint32(pktp, vbp, data->haGratuitiousARPsSent, VT_COUNTER); /* !!! */
break;
case LEAF_haProxyARPsSent:
getproc_got_uint32(pktp, vbp, data->haProxyARPsSent, VT_COUNTER); /* !!! */
break;
case LEAF_haRegRequestsReceived:
getproc_got_uint32(pktp, vbp, data->haRegRequestsReceived, VT_COUNTER); /* !!! */
break;
case LEAF_haDeRegRequestsReceived:
getproc_got_uint32(pktp, vbp, data->haDeRegRequestsReceived, VT_COUNTER); /* !!! */
break;
case LEAF_haRegRepliesSent:
getproc_got_uint32(pktp, vbp, data->haRegRepliesSent, VT_COUNTER); /* !!! */
break;
case LEAF_haDeRegRepliesSent:
getproc_got_uint32(pktp, vbp, data->haDeRegRepliesSent, VT_COUNTER); /* !!! */
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
void
haRegistration_get(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_haRegistration data; /* !!! */
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
/* check that the instance is exactly .0 */
if (!((tcount == 1) && (*tlist == 0)))
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins(pktp, vbp);
/* grab the actual data for this variable. this lookup routine will
* probably have to be changed for your system. for scalar variables
* there might not even be any lookup routine. */
else if (haRegistration_lookup(&data) != 0) /* !!! */
for ( ; vbp; vbp = vbp->vb_link)
getproc_error(pktp, vbp, GEN_ERR);
else {
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link) {
if ((error = haRegistration_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, &data)) != NO_ERROR)
getproc_error(pktp, vbp, error);
}
}
}
void
haRegistration_next(OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
STRUCT_haRegistration data; /* !!! */
OIDC_T instance = 0;
/* the only time there's a next for a scalar is if we're given
* no instance at all. */
if (tcount != 0)
nextproc_no_next(pktp, vbp);
/* grab the data for these variables. you'll probably have to change
* this lookup routine for your system. for scalar variables there
* might not even be any lookup routine. */
else if (haRegistration_lookup(&data)) /* !!! */
getproc_error(pktp, vbp, GEN_ERR);
else {
/* find all the varbinds in this group and retrieve their
* values from the same data structure */
for (group_by_getproc_and_instance(pktp, vbp, tcount, tlist);
vbp; vbp = vbp->vb_link) {
nextproc_next_instance(pktp, vbp, 1, &instance);
haRegistration_get_value(vbp->vb_ml.ml_last_match, pktp, vbp, &data);
}
}
}
#endif /* WRSNMP */
#endif
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,662 @@
#define _MIB 1
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmpstat.h>
#include "radius_mibhand.h"
#ifndef STATIC
#define STATIC static
#endif
STATIC OIDC_T oid_radius_root_node[] = { 1, 3, 6, 1, 2, 1, 67 };
OBJ_ID_T objid_radius_root_node = {
sizeof(oid_radius_root_node)/sizeof(OIDC_T),
oid_radius_root_node
};
LEAF_NT_ASYS( l_radiusAuthClientInvalidServerAddresses, 0, "radiusAuthClientInvalidServerAddresses", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
radiusAuthClient_get, null_set_async, radiusAuthClient_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientIdentifier, 0, "radiusAuthClientIdentifier", VT_STRING,
READ_ACCESS, SCALAR, null_test_async,
radiusAuthClient_get, null_set_async, radiusAuthClient_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_radiusAuthServerIndex[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthServerIndex = NODE_NT("radiusAuthServerIndex",
0, a_radiusAuthServerIndex);
LEAF_NT_ASYS( l_radiusAuthServerAddress, 0, "radiusAuthServerAddress", VT_IPADDRESS,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientServerPortNumber, 0, "radiusAuthClientServerPortNumber", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientRoundTripTime, 0, "radiusAuthClientRoundTripTime", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientAccessRequests, 0, "radiusAuthClientAccessRequests", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientAccessRetransmissions, 0, "radiusAuthClientAccessRetransmissions", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientAccessAccepts, 0, "radiusAuthClientAccessAccepts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientAccessRejects, 0, "radiusAuthClientAccessRejects", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientAccessChallenges, 0, "radiusAuthClientAccessChallenges", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientMalformedAccessResponses, 0, "radiusAuthClientMalformedAccessResponses", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientBadAuthenticators, 0, "radiusAuthClientBadAuthenticators", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientPendingRequests, 0, "radiusAuthClientPendingRequests", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientTimeouts, 0, "radiusAuthClientTimeouts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientUnknownTypes, 0, "radiusAuthClientUnknownTypes", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientPacketsDropped, 0, "radiusAuthClientPacketsDropped", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerEntry_get, null_set_async, radiusAuthServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_radiusAuthServerEntry[] = {
ARC(1, n_radiusAuthServerIndex),
ARC(2, l_radiusAuthServerAddress),
ARC(3, l_radiusAuthClientServerPortNumber),
ARC(4, l_radiusAuthClientRoundTripTime),
ARC(5, l_radiusAuthClientAccessRequests),
ARC(6, l_radiusAuthClientAccessRetransmissions),
ARC(7, l_radiusAuthClientAccessAccepts),
ARC(8, l_radiusAuthClientAccessRejects),
ARC(9, l_radiusAuthClientAccessChallenges),
ARC(10, l_radiusAuthClientMalformedAccessResponses),
ARC(11, l_radiusAuthClientBadAuthenticators),
ARC(12, l_radiusAuthClientPendingRequests),
ARC(13, l_radiusAuthClientTimeouts),
ARC(14, l_radiusAuthClientUnknownTypes),
ARC(15, l_radiusAuthClientPacketsDropped),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthServerEntry = NODE_NT("radiusAuthServerEntry",
0, a_radiusAuthServerEntry);
STATIC
MIBARC_T a_radiusAuthServerTable[] = {
ARC(1, n_radiusAuthServerEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthServerTable = NODE_NT("radiusAuthServerTable",
0, a_radiusAuthServerTable);
STATIC
MIBARC_T a_radiusAuthServerExtIndex[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthServerExtIndex = NODE_NT("radiusAuthServerExtIndex",
0, a_radiusAuthServerExtIndex);
LEAF_NT_ASYS( l_radiusAuthServerInetAddressType, 0, "radiusAuthServerInetAddressType", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthServerInetAddress, 0, "radiusAuthServerInetAddress", VT_STRING,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientServerInetPortNumber, 0, "radiusAuthClientServerInetPortNumber", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtRoundTripTime, 0, "radiusAuthClientExtRoundTripTime", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtAccessRequests, 0, "radiusAuthClientExtAccessRequests", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtAccessRetransmissions, 0, "radiusAuthClientExtAccessRetransmissions", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtAccessAccepts, 0, "radiusAuthClientExtAccessAccepts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtAccessRejects, 0, "radiusAuthClientExtAccessRejects", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtAccessChallenges, 0, "radiusAuthClientExtAccessChallenges", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtMalformedAccessResponses, 0, "radiusAuthClientExtMalformedAccessResponses", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtBadAuthenticators, 0, "radiusAuthClientExtBadAuthenticators", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtPendingRequests, 0, "radiusAuthClientExtPendingRequests", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtTimeouts, 0, "radiusAuthClientExtTimeouts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtUnknownTypes, 0, "radiusAuthClientExtUnknownTypes", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientExtPacketsDropped, 0, "radiusAuthClientExtPacketsDropped", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAuthClientCounterDiscontinuity, 0, "radiusAuthClientCounterDiscontinuity", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
radiusAuthServerExtEntry_get, null_set_async, radiusAuthServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_radiusAuthServerExtEntry[] = {
ARC(1, n_radiusAuthServerExtIndex),
ARC(2, l_radiusAuthServerInetAddressType),
ARC(3, l_radiusAuthServerInetAddress),
ARC(4, l_radiusAuthClientServerInetPortNumber),
ARC(5, l_radiusAuthClientExtRoundTripTime),
ARC(6, l_radiusAuthClientExtAccessRequests),
ARC(7, l_radiusAuthClientExtAccessRetransmissions),
ARC(8, l_radiusAuthClientExtAccessAccepts),
ARC(9, l_radiusAuthClientExtAccessRejects),
ARC(10, l_radiusAuthClientExtAccessChallenges),
ARC(11, l_radiusAuthClientExtMalformedAccessResponses),
ARC(12, l_radiusAuthClientExtBadAuthenticators),
ARC(13, l_radiusAuthClientExtPendingRequests),
ARC(14, l_radiusAuthClientExtTimeouts),
ARC(15, l_radiusAuthClientExtUnknownTypes),
ARC(16, l_radiusAuthClientExtPacketsDropped),
ARC(17, l_radiusAuthClientCounterDiscontinuity),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthServerExtEntry = NODE_NT("radiusAuthServerExtEntry",
0, a_radiusAuthServerExtEntry);
STATIC
MIBARC_T a_radiusAuthServerExtTable[] = {
ARC(1, n_radiusAuthServerExtEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthServerExtTable = NODE_NT("radiusAuthServerExtTable",
0, a_radiusAuthServerExtTable);
STATIC
MIBARC_T a_radiusAuthClient[] = {
ARC(1, l_radiusAuthClientInvalidServerAddresses),
ARC(2, l_radiusAuthClientIdentifier),
ARC(3, n_radiusAuthServerTable),
ARC(4, n_radiusAuthServerExtTable),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthClient = NODE_NT("radiusAuthClient",
0, a_radiusAuthClient);
STATIC
MIBARC_T a_radiusAuthClientMIBObjects[] = {
ARC(1, n_radiusAuthClient),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthClientMIBObjects = NODE_NT("radiusAuthClientMIBObjects",
0, a_radiusAuthClientMIBObjects);
STATIC
MIBARC_T a_radiusAuthClientMIBCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthClientMIBCompliance = NODE_NT("radiusAuthClientMIBCompliance",
0, a_radiusAuthClientMIBCompliance);
STATIC
MIBARC_T a_radiusAuthClientExtMIBCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthClientExtMIBCompliance = NODE_NT("radiusAuthClientExtMIBCompliance",
0, a_radiusAuthClientExtMIBCompliance);
STATIC
MIBARC_T a_radiusAuthClientMIBCompliances[] = {
ARC(1, n_radiusAuthClientMIBCompliance),
ARC(2, n_radiusAuthClientExtMIBCompliance),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthClientMIBCompliances = NODE_NT("radiusAuthClientMIBCompliances",
0, a_radiusAuthClientMIBCompliances);
STATIC
MIBARC_T a_radiusAuthClientMIBGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthClientMIBGroup = NODE_NT("radiusAuthClientMIBGroup",
0, a_radiusAuthClientMIBGroup);
STATIC
MIBARC_T a_radiusAuthClientExtMIBGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthClientExtMIBGroup = NODE_NT("radiusAuthClientExtMIBGroup",
0, a_radiusAuthClientExtMIBGroup);
STATIC
MIBARC_T a_radiusAuthClientMIBGroups[] = {
ARC(1, n_radiusAuthClientMIBGroup),
ARC(2, n_radiusAuthClientExtMIBGroup),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthClientMIBGroups = NODE_NT("radiusAuthClientMIBGroups",
0, a_radiusAuthClientMIBGroups);
STATIC
MIBARC_T a_radiusAuthClientMIBConformance[] = {
ARC(1, n_radiusAuthClientMIBCompliances),
ARC(2, n_radiusAuthClientMIBGroups),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthClientMIBConformance = NODE_NT("radiusAuthClientMIBConformance",
0, a_radiusAuthClientMIBConformance);
STATIC
MIBARC_T a_radiusAuthClientMIB[] = {
ARC(1, n_radiusAuthClientMIBObjects),
ARC(2, n_radiusAuthClientMIBConformance),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthClientMIB = NODE_NT("radiusAuthClientMIB",
0, a_radiusAuthClientMIB);
STATIC
MIBARC_T a_radiusAuthentication[] = {
ARC(2, n_radiusAuthClientMIB),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAuthentication = NODE_NT("radiusAuthentication",
0, a_radiusAuthentication);
LEAF_NT_ASYS( l_radiusAccClientInvalidServerAddresses, 0, "radiusAccClientInvalidServerAddresses", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
radiusAccClient_get, null_set_async, radiusAccClient_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientIdentifier, 0, "radiusAccClientIdentifier", VT_STRING,
READ_ACCESS, SCALAR, null_test_async,
radiusAccClient_get, null_set_async, radiusAccClient_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_radiusAccServerIndex[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccServerIndex = NODE_NT("radiusAccServerIndex",
0, a_radiusAccServerIndex);
LEAF_NT_ASYS( l_radiusAccServerAddress, 0, "radiusAccServerAddress", VT_IPADDRESS,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientServerPortNumber, 0, "radiusAccClientServerPortNumber", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientRoundTripTime, 0, "radiusAccClientRoundTripTime", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientRequests, 0, "radiusAccClientRequests", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientRetransmissions, 0, "radiusAccClientRetransmissions", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientResponses, 0, "radiusAccClientResponses", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientMalformedResponses, 0, "radiusAccClientMalformedResponses", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientBadAuthenticators, 0, "radiusAccClientBadAuthenticators", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientPendingRequests, 0, "radiusAccClientPendingRequests", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientTimeouts, 0, "radiusAccClientTimeouts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientUnknownTypes, 0, "radiusAccClientUnknownTypes", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientPacketsDropped, 0, "radiusAccClientPacketsDropped", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerEntry_get, null_set_async, radiusAccServerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_radiusAccServerEntry[] = {
ARC(1, n_radiusAccServerIndex),
ARC(2, l_radiusAccServerAddress),
ARC(3, l_radiusAccClientServerPortNumber),
ARC(4, l_radiusAccClientRoundTripTime),
ARC(5, l_radiusAccClientRequests),
ARC(6, l_radiusAccClientRetransmissions),
ARC(7, l_radiusAccClientResponses),
ARC(8, l_radiusAccClientMalformedResponses),
ARC(9, l_radiusAccClientBadAuthenticators),
ARC(10, l_radiusAccClientPendingRequests),
ARC(11, l_radiusAccClientTimeouts),
ARC(12, l_radiusAccClientUnknownTypes),
ARC(13, l_radiusAccClientPacketsDropped),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccServerEntry = NODE_NT("radiusAccServerEntry",
0, a_radiusAccServerEntry);
STATIC
MIBARC_T a_radiusAccServerTable[] = {
ARC(1, n_radiusAccServerEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccServerTable = NODE_NT("radiusAccServerTable",
0, a_radiusAccServerTable);
STATIC
MIBARC_T a_radiusAccServerExtIndex[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccServerExtIndex = NODE_NT("radiusAccServerExtIndex",
0, a_radiusAccServerExtIndex);
LEAF_NT_ASYS( l_radiusAccServerInetAddressType, 0, "radiusAccServerInetAddressType", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccServerInetAddress, 0, "radiusAccServerInetAddress", VT_STRING,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientServerInetPortNumber, 0, "radiusAccClientServerInetPortNumber", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientExtRoundTripTime, 0, "radiusAccClientExtRoundTripTime", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientExtRequests, 0, "radiusAccClientExtRequests", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientExtRetransmissions, 0, "radiusAccClientExtRetransmissions", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientExtResponses, 0, "radiusAccClientExtResponses", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientExtMalformedResponses, 0, "radiusAccClientExtMalformedResponses", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientExtBadAuthenticators, 0, "radiusAccClientExtBadAuthenticators", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientExtPendingRequests, 0, "radiusAccClientExtPendingRequests", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientExtTimeouts, 0, "radiusAccClientExtTimeouts", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientExtUnknownTypes, 0, "radiusAccClientExtUnknownTypes", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientExtPacketsDropped, 0, "radiusAccClientExtPacketsDropped", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_radiusAccClientCounterDiscontinuity, 0, "radiusAccClientCounterDiscontinuity", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
radiusAccServerExtEntry_get, null_set_async, radiusAccServerExtEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_radiusAccServerExtEntry[] = {
ARC(1, n_radiusAccServerExtIndex),
ARC(2, l_radiusAccServerInetAddressType),
ARC(3, l_radiusAccServerInetAddress),
ARC(4, l_radiusAccClientServerInetPortNumber),
ARC(5, l_radiusAccClientExtRoundTripTime),
ARC(6, l_radiusAccClientExtRequests),
ARC(7, l_radiusAccClientExtRetransmissions),
ARC(8, l_radiusAccClientExtResponses),
ARC(9, l_radiusAccClientExtMalformedResponses),
ARC(10, l_radiusAccClientExtBadAuthenticators),
ARC(11, l_radiusAccClientExtPendingRequests),
ARC(12, l_radiusAccClientExtTimeouts),
ARC(13, l_radiusAccClientExtUnknownTypes),
ARC(14, l_radiusAccClientExtPacketsDropped),
ARC(15, l_radiusAccClientCounterDiscontinuity),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccServerExtEntry = NODE_NT("radiusAccServerExtEntry",
0, a_radiusAccServerExtEntry);
STATIC
MIBARC_T a_radiusAccServerExtTable[] = {
ARC(1, n_radiusAccServerExtEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccServerExtTable = NODE_NT("radiusAccServerExtTable",
0, a_radiusAccServerExtTable);
STATIC
MIBARC_T a_radiusAccClient[] = {
ARC(1, l_radiusAccClientInvalidServerAddresses),
ARC(2, l_radiusAccClientIdentifier),
ARC(3, n_radiusAccServerTable),
ARC(4, n_radiusAccServerExtTable),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccClient = NODE_NT("radiusAccClient",
0, a_radiusAccClient);
STATIC
MIBARC_T a_radiusAccClientMIBObjects[] = {
ARC(1, n_radiusAccClient),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccClientMIBObjects = NODE_NT("radiusAccClientMIBObjects",
0, a_radiusAccClientMIBObjects);
STATIC
MIBARC_T a_radiusAccClientMIBCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccClientMIBCompliance = NODE_NT("radiusAccClientMIBCompliance",
0, a_radiusAccClientMIBCompliance);
STATIC
MIBARC_T a_radiusAccClientExtMIBCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccClientExtMIBCompliance = NODE_NT("radiusAccClientExtMIBCompliance",
0, a_radiusAccClientExtMIBCompliance);
STATIC
MIBARC_T a_radiusAccClientMIBCompliances[] = {
ARC(1, n_radiusAccClientMIBCompliance),
ARC(2, n_radiusAccClientExtMIBCompliance),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccClientMIBCompliances = NODE_NT("radiusAccClientMIBCompliances",
0, a_radiusAccClientMIBCompliances);
STATIC
MIBARC_T a_radiusAccClientMIBGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccClientMIBGroup = NODE_NT("radiusAccClientMIBGroup",
0, a_radiusAccClientMIBGroup);
STATIC
MIBARC_T a_radiusAccClientExtMIBGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccClientExtMIBGroup = NODE_NT("radiusAccClientExtMIBGroup",
0, a_radiusAccClientExtMIBGroup);
STATIC
MIBARC_T a_radiusAccClientMIBGroups[] = {
ARC(1, n_radiusAccClientMIBGroup),
ARC(2, n_radiusAccClientExtMIBGroup),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccClientMIBGroups = NODE_NT("radiusAccClientMIBGroups",
0, a_radiusAccClientMIBGroups);
STATIC
MIBARC_T a_radiusAccClientMIBConformance[] = {
ARC(1, n_radiusAccClientMIBCompliances),
ARC(2, n_radiusAccClientMIBGroups),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccClientMIBConformance = NODE_NT("radiusAccClientMIBConformance",
0, a_radiusAccClientMIBConformance);
STATIC
MIBARC_T a_radiusAccClientMIB[] = {
ARC(1, n_radiusAccClientMIBObjects),
ARC(2, n_radiusAccClientMIBConformance),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccClientMIB = NODE_NT("radiusAccClientMIB",
0, a_radiusAccClientMIB);
STATIC
MIBARC_T a_radiusAccounting[] = {
ARC(2, n_radiusAccClientMIB),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_radiusAccounting = NODE_NT("radiusAccounting",
0, a_radiusAccounting);
STATIC
MIBARC_T a_radiusMIB[] = {
ARC(1, n_radiusAuthentication),
ARC(2,n_radiusAccounting),
END_OF_ARC_LIST };
MIBNODE_T radius_root_node = NODE_NT("radiusMIB",
0, a_radiusMIB);
@@ -0,0 +1,139 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -skel.h switch.
****
**** This file contains declarations of stub functions to aid in building
**** the agent MIB interface. It declares all the MIB get, set, test and
**** next method routines that you will need to supply. You'll probably
**** want to FORCE-INCLUDE this file when using the -mib.c output mode.
****
**** To generate the skeletal stub functions themselves, run the MIB compiler
**** with the -skel switch.
****
**** YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
**** BY REGENERATING IT WITH THE MIB COMPILER.
****
**** Last build date: Fri Apr 02 13:08:27 2012
**** from files:
****
**** vxworks-6.9/target/src/wrn/wm/snmp/std-mibs/rfc4668.mib,
**** vxworks-6.9/target/src/wrn/wm/snmp/std-mibs/rfc4670.mib,
******************************************************************************
******************************************************************************/
void radiusAuthClient_get(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAuthClient_next(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void null_next_async(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAuthServerEntry_get(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAuthServerEntry_next(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAuthServerExtEntry_get(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAuthServerExtEntry_next(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAccClient_get(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAccClient_next(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void null_next_async(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAccServerEntry_get(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAccServerEntry_next(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAccServerExtEntry_get(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void radiusAccServerExtEntry_next(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,128 @@
#define LEAF_radiusAuthClientInvalidServerAddresses 1
#define LEAF_radiusAuthClientIdentifier 2
#define MINSIZE_radiusAuthClientIdentifier 0L
#define MAXSIZE_radiusAuthClientIdentifier 255L
#define LEAF_radiusAuthServerIndex 1
#define MIN_radiusAuthServerIndex 1L
#define MAX_radiusAuthServerIndex 2147483647L
#define LEAF_radiusAuthServerAddress 2
#define LEAF_radiusAuthClientServerPortNumber 3
#define MIN_radiusAuthClientServerPortNumber 0L
#define MAX_radiusAuthClientServerPortNumber 65535L
#define LEAF_radiusAuthClientRoundTripTime 4
#define LEAF_radiusAuthClientAccessRequests 5
#define LEAF_radiusAuthClientAccessRetransmissions 6
#define LEAF_radiusAuthClientAccessAccepts 7
#define LEAF_radiusAuthClientAccessRejects 8
#define LEAF_radiusAuthClientAccessChallenges 9
#define LEAF_radiusAuthClientMalformedAccessResponses 10
#define LEAF_radiusAuthClientBadAuthenticators 11
#define LEAF_radiusAuthClientPendingRequests 12
#define LEAF_radiusAuthClientTimeouts 13
#define LEAF_radiusAuthClientUnknownTypes 14
#define LEAF_radiusAuthClientPacketsDropped 15
#define LEAF_radiusAuthServerExtIndex 1
#define MIN_radiusAuthServerExtIndex 1L
#define MAX_radiusAuthServerExtIndex 2147483647L
#define LEAF_radiusAuthServerInetAddressType 2
#define VAL_radiusAuthServerInetAddressType_unknown 0L
#define VAL_radiusAuthServerInetAddressType_ipv4 1L
#define VAL_radiusAuthServerInetAddressType_ipv6 2L
#define VAL_radiusAuthServerInetAddressType_ipv4z 3L
#define VAL_radiusAuthServerInetAddressType_ipv6z 4L
#define VAL_radiusAuthServerInetAddressType_dns 16L
#define LEAF_radiusAuthServerInetAddress 3
#define MINSIZE_radiusAuthServerInetAddress 0L
#define MAXSIZE_radiusAuthServerInetAddress 255L
#define LEAF_radiusAuthClientServerInetPortNumber 4
#define MIN_radiusAuthClientServerInetPortNumber 1L
#define MAX_radiusAuthClientServerInetPortNumber 65535L
#define LEAF_radiusAuthClientExtRoundTripTime 5
#define LEAF_radiusAuthClientExtAccessRequests 6
#define LEAF_radiusAuthClientExtAccessRetransmissions 7
#define LEAF_radiusAuthClientExtAccessAccepts 8
#define LEAF_radiusAuthClientExtAccessRejects 9
#define LEAF_radiusAuthClientExtAccessChallenges 10
#define LEAF_radiusAuthClientExtMalformedAccessResponses 11
#define LEAF_radiusAuthClientExtBadAuthenticators 12
#define LEAF_radiusAuthClientExtPendingRequests 13
#define LEAF_radiusAuthClientExtTimeouts 14
#define LEAF_radiusAuthClientExtUnknownTypes 15
#define LEAF_radiusAuthClientExtPacketsDropped 16
#define LEAF_radiusAuthClientCounterDiscontinuity 17
#define LEAF_snmpEngineID 1
#define MINSIZE_snmpEngineID 5L
#define MAXSIZE_snmpEngineID 32L
#define LEAF_snmpEngineBoots 2
#define MIN_snmpEngineBoots 1L
#define MAX_snmpEngineBoots 2147483647L
#define LEAF_snmpEngineTime 3
#define MIN_snmpEngineTime 0L
#define MAX_snmpEngineTime 2147483647L
#define LEAF_snmpEngineMaxMessageSize 4
#define MIN_snmpEngineMaxMessageSize 484L
#define MAX_snmpEngineMaxMessageSize 2147483647L
#define LEAF_radiusAccClientInvalidServerAddresses 1
#define LEAF_radiusAccClientIdentifier 2
#define MINSIZE_radiusAccClientIdentifier 0L
#define MAXSIZE_radiusAccClientIdentifier 255L
#define LEAF_radiusAccServerIndex 1
#define MIN_radiusAccServerIndex 1L
#define MAX_radiusAccServerIndex 2147483647L
#define LEAF_radiusAccServerAddress 2
#define LEAF_radiusAccClientServerPortNumber 3
#define MIN_radiusAccClientServerPortNumber 0L
#define MAX_radiusAccClientServerPortNumber 65535L
#define LEAF_radiusAccClientRoundTripTime 4
#define LEAF_radiusAccClientRequests 5
#define LEAF_radiusAccClientRetransmissions 6
#define LEAF_radiusAccClientResponses 7
#define LEAF_radiusAccClientMalformedResponses 8
#define LEAF_radiusAccClientBadAuthenticators 9
#define LEAF_radiusAccClientPendingRequests 10
#define LEAF_radiusAccClientTimeouts 11
#define LEAF_radiusAccClientUnknownTypes 12
#define LEAF_radiusAccClientPacketsDropped 13
#define LEAF_radiusAccServerExtIndex 1
#define MIN_radiusAccServerExtIndex 1L
#define MAX_radiusAccServerExtIndex 2147483647L
#define LEAF_radiusAccServerInetAddressType 2
#define VAL_radiusAccServerInetAddressType_unknown 0L
#define VAL_radiusAccServerInetAddressType_ipv4 1L
#define VAL_radiusAccServerInetAddressType_ipv6 2L
#define VAL_radiusAccServerInetAddressType_ipv4z 3L
#define VAL_radiusAccServerInetAddressType_ipv6z 4L
#define VAL_radiusAccServerInetAddressType_dns 16L
#define LEAF_radiusAccServerInetAddress 3
#define MINSIZE_radiusAccServerInetAddress 0L
#define MAXSIZE_radiusAccServerInetAddress 255L
#define LEAF_radiusAccClientServerInetPortNumber 4
#define MIN_radiusAccClientServerInetPortNumber 1L
#define MAX_radiusAccClientServerInetPortNumber 65535L
#define LEAF_radiusAccClientExtRoundTripTime 5
#define LEAF_radiusAccClientExtRequests 6
#define LEAF_radiusAccClientExtRetransmissions 7
#define LEAF_radiusAccClientExtResponses 8
#define LEAF_radiusAccClientExtMalformedResponses 9
#define LEAF_radiusAccClientExtBadAuthenticators 10
#define LEAF_radiusAccClientExtPendingRequests 11
#define LEAF_radiusAccClientExtTimeouts 12
#define LEAF_radiusAccClientExtUnknownTypes 13
#define LEAF_radiusAccClientExtPacketsDropped 14
#define LEAF_radiusAccClientCounterDiscontinuity 15
#define LEAF_snmpEngineID 1
#define MINSIZE_snmpEngineID 5L
#define MAXSIZE_snmpEngineID 32L
#define LEAF_snmpEngineBoots 2
#define MIN_snmpEngineBoots 1L
#define MAX_snmpEngineBoots 2147483647L
#define LEAF_snmpEngineTime 3
#define MIN_snmpEngineTime 0L
#define MAX_snmpEngineTime 2147483647L
#define LEAF_snmpEngineMaxMessageSize 4
#define MIN_snmpEngineMaxMessageSize 484L
#define MAX_snmpEngineMaxMessageSize 2147483647L
+318
View File
@@ -0,0 +1,318 @@
-- This file was automatically generated by Wind River's
-- MIB Compiler, version 10.2.
-- This file was generated using the -partialm switch.
--
-- YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
-- BY REGENERATING IT WITH THE MIB COMPILER.
--
-- Last build date: Wed Dec 17 22:36:45 2008
-- from files:
-- rfc4001.mib, rfc3873.mib
SCTP-MIB-A
-- put your FORCE-INCLUDE's here
--
--FORCE-INCLUDE <wrn/wm/snmp/engine/mib.h>
--FORCE-INCLUDE <wrn/wm/snmp/engine/snmpdefs.h>
--FORCE-INCLUDE <wrn/wm/snmp/engine/snmpstat.h>
--FORCE-INCLUDE <sctp_mibhand.h>
-- put your global DEFAULT's here
--
-- put your EXCLUDE's here
--
--EXCLUDE sctpLookupLocalPortTable
--EXCLUDE sctpLookupLocalPortEntry
--EXCLUDE sctpLookupLocalPortStartTime
--EXCLUDE sctpLookupRemPortTable
--EXCLUDE sctpLookupRemPortEntry
--EXCLUDE sctpLookupRemPortStartTime
--EXCLUDE sctpLookupRemHostNameTable
--EXCLUDE sctpLookupRemHostNameEntry
--EXCLUDE sctpLookupRemHostNameStartTime
--EXCLUDE sctpLookupRemPrimIPAddrTable
--EXCLUDE sctpLookupRemPrimIPAddrEntry
--EXCLUDE sctpLookupRemPrimIPAddrStartTime
--EXCLUDE sctpLookupRemIPAddrStartTime
--EXCLUDE sctpLookupRemIPAddrEntry
--EXCLUDE sctpLookupRemIPAddrTable
DEFINITIONS ::= BEGIN
IMPORTS
mib-2, OBJECT-TYPE, MODULE-IDENTITY
FROM SNMPv2-SMI;
-- Below is an OBJECT-TYPE entry for every object in the
-- SCTP-MIB MIB module.
-- You may position DEFAULT statements at any point in the MIB tree
-- by putting them inside the appropriate OBJECT-TYPE declaration.
-- You need not modify any to which you don't want to add DEFAULTs.
-- (Or, you may remove any OBJECT-TYPE declaration to which you
-- don't add DEFAULT statements, as long as you don't add DEFAULT
-- statements to any of its descendants that reference its
-- descriptor, directly or indirectly.)
sctpMIB OBJECT-TYPE
--DEFAULT node-type {replaceable}
::= { mib-2 104 }
sctpObjects OBJECT-TYPE
::= { sctpMIB 1 }
sctpStats OBJECT-TYPE
::= { sctpObjects 1 }
sctpCurrEstab OBJECT-TYPE
::= { sctpStats 1 }
sctpActiveEstabs OBJECT-TYPE
::= { sctpStats 2 }
sctpPassiveEstabs OBJECT-TYPE
::= { sctpStats 3 }
sctpAborteds OBJECT-TYPE
::= { sctpStats 4 }
sctpShutdowns OBJECT-TYPE
::= { sctpStats 5 }
sctpOutOfBlues OBJECT-TYPE
::= { sctpStats 6 }
sctpChecksumErrors OBJECT-TYPE
::= { sctpStats 7 }
sctpOutCtrlChunks OBJECT-TYPE
::= { sctpStats 8 }
sctpOutOrderChunks OBJECT-TYPE
::= { sctpStats 9 }
sctpOutUnorderChunks OBJECT-TYPE
::= { sctpStats 10 }
sctpInCtrlChunks OBJECT-TYPE
::= { sctpStats 11 }
sctpInOrderChunks OBJECT-TYPE
::= { sctpStats 12 }
sctpInUnorderChunks OBJECT-TYPE
::= { sctpStats 13 }
sctpFragUsrMsgs OBJECT-TYPE
::= { sctpStats 14 }
sctpReasmUsrMsgs OBJECT-TYPE
::= { sctpStats 15 }
sctpOutSCTPPacks OBJECT-TYPE
::= { sctpStats 16 }
sctpInSCTPPacks OBJECT-TYPE
::= { sctpStats 17 }
sctpDiscontinuityTime OBJECT-TYPE
::= { sctpStats 18 }
sctpParams OBJECT-TYPE
::= { sctpObjects 2 }
sctpRtoAlgorithm OBJECT-TYPE
::= { sctpParams 1 }
sctpRtoMin OBJECT-TYPE
::= { sctpParams 2 }
sctpRtoMax OBJECT-TYPE
::= { sctpParams 3 }
sctpRtoInitial OBJECT-TYPE
::= { sctpParams 4 }
sctpMaxAssocs OBJECT-TYPE
::= { sctpParams 5 }
sctpValCookieLife OBJECT-TYPE
::= { sctpParams 6 }
sctpMaxInitRetr OBJECT-TYPE
::= { sctpParams 7 }
sctpAssocTable OBJECT-TYPE
::= { sctpObjects 3 }
sctpAssocEntry OBJECT-TYPE
::= { sctpAssocTable 1 }
sctpAssocId OBJECT-TYPE
::= { sctpAssocEntry 1 }
sctpAssocRemHostName OBJECT-TYPE
::= { sctpAssocEntry 2 }
sctpAssocLocalPort OBJECT-TYPE
::= { sctpAssocEntry 3 }
sctpAssocRemPort OBJECT-TYPE
::= { sctpAssocEntry 4 }
sctpAssocRemPrimAddrType OBJECT-TYPE
::= { sctpAssocEntry 5 }
sctpAssocRemPrimAddr OBJECT-TYPE
::= { sctpAssocEntry 6 }
sctpAssocHeartBeatInterval OBJECT-TYPE
::= { sctpAssocEntry 7 }
sctpAssocState OBJECT-TYPE
::= { sctpAssocEntry 8 }
sctpAssocInStreams OBJECT-TYPE
::= { sctpAssocEntry 9 }
sctpAssocOutStreams OBJECT-TYPE
::= { sctpAssocEntry 10 }
sctpAssocMaxRetr OBJECT-TYPE
::= { sctpAssocEntry 11 }
sctpAssocPrimProcess OBJECT-TYPE
::= { sctpAssocEntry 12 }
sctpAssocT1expireds OBJECT-TYPE
::= { sctpAssocEntry 13 }
sctpAssocT2expireds OBJECT-TYPE
::= { sctpAssocEntry 14 }
sctpAssocRtxChunks OBJECT-TYPE
::= { sctpAssocEntry 15 }
sctpAssocStartTime OBJECT-TYPE
::= { sctpAssocEntry 16 }
sctpAssocDiscontinuityTime OBJECT-TYPE
::= { sctpAssocEntry 17 }
sctpAssocLocalAddrTable OBJECT-TYPE
::= { sctpObjects 4 }
sctpAssocLocalAddrEntry OBJECT-TYPE
::= { sctpAssocLocalAddrTable 1 }
sctpAssocLocalAddrType OBJECT-TYPE
::= { sctpAssocLocalAddrEntry 1 }
sctpAssocLocalAddr OBJECT-TYPE
::= { sctpAssocLocalAddrEntry 2 }
sctpAssocLocalAddrStartTime OBJECT-TYPE
::= { sctpAssocLocalAddrEntry 3 }
sctpAssocRemAddrTable OBJECT-TYPE
::= { sctpObjects 5 }
sctpAssocRemAddrEntry OBJECT-TYPE
::= { sctpAssocRemAddrTable 1 }
sctpAssocRemAddrType OBJECT-TYPE
::= { sctpAssocRemAddrEntry 1 }
sctpAssocRemAddr OBJECT-TYPE
::= { sctpAssocRemAddrEntry 2 }
sctpAssocRemAddrActive OBJECT-TYPE
::= { sctpAssocRemAddrEntry 3 }
sctpAssocRemAddrHBActive OBJECT-TYPE
::= { sctpAssocRemAddrEntry 4 }
sctpAssocRemAddrRTO OBJECT-TYPE
::= { sctpAssocRemAddrEntry 5 }
sctpAssocRemAddrMaxPathRtx OBJECT-TYPE
::= { sctpAssocRemAddrEntry 6 }
sctpAssocRemAddrRtx OBJECT-TYPE
::= { sctpAssocRemAddrEntry 7 }
sctpAssocRemAddrStartTime OBJECT-TYPE
::= { sctpAssocRemAddrEntry 8 }
sctpLookupLocalPortTable OBJECT-TYPE
::= { sctpObjects 6 }
sctpLookupLocalPortEntry OBJECT-TYPE
::= { sctpLookupLocalPortTable 1 }
sctpLookupLocalPortStartTime OBJECT-TYPE
::= { sctpLookupLocalPortEntry 1 }
sctpLookupRemPortTable OBJECT-TYPE
::= { sctpObjects 7 }
sctpLookupRemPortEntry OBJECT-TYPE
::= { sctpLookupRemPortTable 1 }
sctpLookupRemPortStartTime OBJECT-TYPE
::= { sctpLookupRemPortEntry 1 }
sctpLookupRemHostNameTable OBJECT-TYPE
::= { sctpObjects 8 }
sctpLookupRemHostNameEntry OBJECT-TYPE
::= { sctpLookupRemHostNameTable 1 }
sctpLookupRemHostNameStartTime OBJECT-TYPE
::= { sctpLookupRemHostNameEntry 1 }
sctpLookupRemPrimIPAddrTable OBJECT-TYPE
::= { sctpObjects 9 }
sctpLookupRemPrimIPAddrEntry OBJECT-TYPE
::= { sctpLookupRemPrimIPAddrTable 1 }
sctpLookupRemPrimIPAddrStartTime OBJECT-TYPE
::= { sctpLookupRemPrimIPAddrEntry 1 }
sctpLookupRemIPAddrTable OBJECT-TYPE
::= { sctpObjects 10 }
sctpLookupRemIPAddrEntry OBJECT-TYPE
::= { sctpLookupRemIPAddrTable 1 }
sctpLookupRemIPAddrStartTime OBJECT-TYPE
::= { sctpLookupRemIPAddrEntry 1 }
sctpMibConformance OBJECT-TYPE
::= { sctpMIB 2 }
sctpMibCompliances OBJECT-TYPE
::= { sctpMibConformance 1 }
sctpMibCompliance OBJECT-TYPE
::= { sctpMibCompliances 1 }
sctpMibGroups OBJECT-TYPE
::= { sctpMibConformance 2 }
sctpLayerParamsGroup OBJECT-TYPE
::= { sctpMibGroups 1 }
sctpStatsGroup OBJECT-TYPE
::= { sctpMibGroups 2 }
sctpPerAssocParamsGroup OBJECT-TYPE
::= { sctpMibGroups 3 }
sctpPerAssocStatsGroup OBJECT-TYPE
::= { sctpMibGroups 4 }
sctpInverseGroup OBJECT-TYPE
::= { sctpMibGroups 5 }
END
@@ -0,0 +1,519 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -mib.c switch.
****
**** This file contains a representation of a MIB tree suitable
**** for use by an SNMP agent running Wind River's WindManage SNMP package.
****
**** DO NOT EDIT THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:27 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc3873.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/sctp.ctl
**** starting from node: sctpMIB
******************************************************************************
******************************************************************************
*/
#define _MIB 1
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmpstat.h>
#include <sctp_mibhand.h>
#ifndef STATIC
#define STATIC static
#endif
/**
** Subtree Object Identifier for Add_Node_From_Root
** sctpMIB OBJECT IDENTIFIER ::= { mib-2 104 }
**/
STATIC OIDC_T oid_sctp_root_node[] = { 1, 3, 6, 1, 2, 1, 104 };
OBJ_ID_T objid_sctp_root_node = {
sizeof(oid_sctp_root_node)/sizeof(OIDC_T),
oid_sctp_root_node
};
LEAF_NT_ASYS( l_sctpCurrEstab, REPLACEABLE, "sctpCurrEstab", VT_GAUGE,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpActiveEstabs, REPLACEABLE, "sctpActiveEstabs", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpPassiveEstabs, REPLACEABLE, "sctpPassiveEstabs", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAborteds, REPLACEABLE, "sctpAborteds", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpShutdowns, REPLACEABLE, "sctpShutdowns", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpOutOfBlues, REPLACEABLE, "sctpOutOfBlues", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpChecksumErrors, REPLACEABLE, "sctpChecksumErrors", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpOutCtrlChunks, REPLACEABLE, "sctpOutCtrlChunks", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpOutOrderChunks, REPLACEABLE, "sctpOutOrderChunks", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpOutUnorderChunks, REPLACEABLE, "sctpOutUnorderChunks", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpInCtrlChunks, REPLACEABLE, "sctpInCtrlChunks", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpInOrderChunks, REPLACEABLE, "sctpInOrderChunks", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpInUnorderChunks, REPLACEABLE, "sctpInUnorderChunks", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpFragUsrMsgs, REPLACEABLE, "sctpFragUsrMsgs", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpReasmUsrMsgs, REPLACEABLE, "sctpReasmUsrMsgs", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpOutSCTPPacks, REPLACEABLE, "sctpOutSCTPPacks", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpInSCTPPacks, REPLACEABLE, "sctpInSCTPPacks", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpDiscontinuityTime, REPLACEABLE, "sctpDiscontinuityTime", VT_TIMETICKS,
READ_ACCESS, SCALAR, null_test_async,
sctpStats_get, null_set_async, sctpStats_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_sctpStats[] = {
ARC(1, l_sctpCurrEstab),
ARC(2, l_sctpActiveEstabs),
ARC(3, l_sctpPassiveEstabs),
ARC(4, l_sctpAborteds),
ARC(5, l_sctpShutdowns),
ARC(6, l_sctpOutOfBlues),
ARC(7, l_sctpChecksumErrors),
ARC(8, l_sctpOutCtrlChunks),
ARC(9, l_sctpOutOrderChunks),
ARC(10, l_sctpOutUnorderChunks),
ARC(11, l_sctpInCtrlChunks),
ARC(12, l_sctpInOrderChunks),
ARC(13, l_sctpInUnorderChunks),
ARC(14, l_sctpFragUsrMsgs),
ARC(15, l_sctpReasmUsrMsgs),
ARC(16, l_sctpOutSCTPPacks),
ARC(17, l_sctpInSCTPPacks),
ARC(18, l_sctpDiscontinuityTime),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpStats = NODE_NT("sctpStats",
REPLACEABLE, a_sctpStats);
LEAF_NT_ASYS( l_sctpRtoAlgorithm, REPLACEABLE, "sctpRtoAlgorithm", VT_NUMBER,
READ_ACCESS, SCALAR, null_test_async,
sctpParams_get, null_set_async, sctpParams_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpRtoMin, REPLACEABLE, "sctpRtoMin", VT_GAUGE,
READ_ACCESS, SCALAR, null_test_async,
sctpParams_get, null_set_async, sctpParams_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpRtoMax, REPLACEABLE, "sctpRtoMax", VT_GAUGE,
READ_ACCESS, SCALAR, null_test_async,
sctpParams_get, null_set_async, sctpParams_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpRtoInitial, REPLACEABLE, "sctpRtoInitial", VT_GAUGE,
READ_ACCESS, SCALAR, null_test_async,
sctpParams_get, null_set_async, sctpParams_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpMaxAssocs, REPLACEABLE, "sctpMaxAssocs", VT_NUMBER,
READ_ACCESS, SCALAR, null_test_async,
sctpParams_get, null_set_async, sctpParams_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpValCookieLife, REPLACEABLE, "sctpValCookieLife", VT_GAUGE,
READ_ACCESS, SCALAR, null_test_async,
sctpParams_get, null_set_async, sctpParams_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpMaxInitRetr, REPLACEABLE, "sctpMaxInitRetr", VT_GAUGE,
READ_ACCESS, SCALAR, null_test_async,
sctpParams_get, null_set_async, sctpParams_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_sctpParams[] = {
ARC(1, l_sctpRtoAlgorithm),
ARC(2, l_sctpRtoMin),
ARC(3, l_sctpRtoMax),
ARC(4, l_sctpRtoInitial),
ARC(5, l_sctpMaxAssocs),
ARC(6, l_sctpValCookieLife),
ARC(7, l_sctpMaxInitRetr),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpParams = NODE_NT("sctpParams",
REPLACEABLE, a_sctpParams);
STATIC
MIBARC_T a_sctpAssocId[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocId = NODE_NT("sctpAssocId",
REPLACEABLE, a_sctpAssocId);
LEAF_NT_ASYS( l_sctpAssocRemHostName, REPLACEABLE, "sctpAssocRemHostName", VT_STRING,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocLocalPort, REPLACEABLE, "sctpAssocLocalPort", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocRemPort, REPLACEABLE, "sctpAssocRemPort", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocRemPrimAddrType, REPLACEABLE, "sctpAssocRemPrimAddrType", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocRemPrimAddr, REPLACEABLE, "sctpAssocRemPrimAddr", VT_STRING,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocHeartBeatInterval, REPLACEABLE, "sctpAssocHeartBeatInterval", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocState, REPLACEABLE, "sctpAssocState", VT_NUMBER,
READ_WRITE_ACCESS, TABULAR, sctpAssocEntry_test,
sctpAssocEntry_get, sctpAssocEntry_set, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocInStreams, REPLACEABLE, "sctpAssocInStreams", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocOutStreams, REPLACEABLE, "sctpAssocOutStreams", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocMaxRetr, REPLACEABLE, "sctpAssocMaxRetr", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocPrimProcess, REPLACEABLE, "sctpAssocPrimProcess", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocT1expireds, REPLACEABLE, "sctpAssocT1expireds", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocT2expireds, REPLACEABLE, "sctpAssocT2expireds", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocRtxChunks, REPLACEABLE, "sctpAssocRtxChunks", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocStartTime, REPLACEABLE, "sctpAssocStartTime", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocDiscontinuityTime, REPLACEABLE, "sctpAssocDiscontinuityTime", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocEntry_get, null_set_async, sctpAssocEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_sctpAssocEntry[] = {
ARC(1, n_sctpAssocId),
ARC(2, l_sctpAssocRemHostName),
ARC(3, l_sctpAssocLocalPort),
ARC(4, l_sctpAssocRemPort),
ARC(5, l_sctpAssocRemPrimAddrType),
ARC(6, l_sctpAssocRemPrimAddr),
ARC(7, l_sctpAssocHeartBeatInterval),
ARC(8, l_sctpAssocState),
ARC(9, l_sctpAssocInStreams),
ARC(10, l_sctpAssocOutStreams),
ARC(11, l_sctpAssocMaxRetr),
ARC(12, l_sctpAssocPrimProcess),
ARC(13, l_sctpAssocT1expireds),
ARC(14, l_sctpAssocT2expireds),
ARC(15, l_sctpAssocRtxChunks),
ARC(16, l_sctpAssocStartTime),
ARC(17, l_sctpAssocDiscontinuityTime),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocEntry = NODE_NT("sctpAssocEntry",
REPLACEABLE, a_sctpAssocEntry);
STATIC
MIBARC_T a_sctpAssocTable[] = {
ARC(1, n_sctpAssocEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocTable = NODE_NT("sctpAssocTable",
REPLACEABLE, a_sctpAssocTable);
STATIC
MIBARC_T a_sctpAssocLocalAddrType[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocLocalAddrType = NODE_NT("sctpAssocLocalAddrType",
REPLACEABLE, a_sctpAssocLocalAddrType);
STATIC
MIBARC_T a_sctpAssocLocalAddr[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocLocalAddr = NODE_NT("sctpAssocLocalAddr",
REPLACEABLE, a_sctpAssocLocalAddr);
LEAF_NT_ASYS( l_sctpAssocLocalAddrStartTime, REPLACEABLE, "sctpAssocLocalAddrStartTime", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocLocalAddrEntry_get, null_set_async, sctpAssocLocalAddrEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_sctpAssocLocalAddrEntry[] = {
ARC(1, n_sctpAssocLocalAddrType),
ARC(2, n_sctpAssocLocalAddr),
ARC(3, l_sctpAssocLocalAddrStartTime),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocLocalAddrEntry = NODE_NT("sctpAssocLocalAddrEntry",
REPLACEABLE, a_sctpAssocLocalAddrEntry);
STATIC
MIBARC_T a_sctpAssocLocalAddrTable[] = {
ARC(1, n_sctpAssocLocalAddrEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocLocalAddrTable = NODE_NT("sctpAssocLocalAddrTable",
REPLACEABLE, a_sctpAssocLocalAddrTable);
STATIC
MIBARC_T a_sctpAssocRemAddrType[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocRemAddrType = NODE_NT("sctpAssocRemAddrType",
REPLACEABLE, a_sctpAssocRemAddrType);
STATIC
MIBARC_T a_sctpAssocRemAddr[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocRemAddr = NODE_NT("sctpAssocRemAddr",
REPLACEABLE, a_sctpAssocRemAddr);
LEAF_NT_ASYS( l_sctpAssocRemAddrActive, REPLACEABLE, "sctpAssocRemAddrActive", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocRemAddrEntry_get, null_set_async, sctpAssocRemAddrEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocRemAddrHBActive, REPLACEABLE, "sctpAssocRemAddrHBActive", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocRemAddrEntry_get, null_set_async, sctpAssocRemAddrEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocRemAddrRTO, REPLACEABLE, "sctpAssocRemAddrRTO", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocRemAddrEntry_get, null_set_async, sctpAssocRemAddrEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocRemAddrMaxPathRtx, REPLACEABLE, "sctpAssocRemAddrMaxPathRtx", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocRemAddrEntry_get, null_set_async, sctpAssocRemAddrEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocRemAddrRtx, REPLACEABLE, "sctpAssocRemAddrRtx", VT_COUNTER,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocRemAddrEntry_get, null_set_async, sctpAssocRemAddrEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_sctpAssocRemAddrStartTime, REPLACEABLE, "sctpAssocRemAddrStartTime", VT_TIMETICKS,
READ_ACCESS, TABULAR, null_test_async,
sctpAssocRemAddrEntry_get, null_set_async, sctpAssocRemAddrEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_sctpAssocRemAddrEntry[] = {
ARC(1, n_sctpAssocRemAddrType),
ARC(2, n_sctpAssocRemAddr),
ARC(3, l_sctpAssocRemAddrActive),
ARC(4, l_sctpAssocRemAddrHBActive),
ARC(5, l_sctpAssocRemAddrRTO),
ARC(6, l_sctpAssocRemAddrMaxPathRtx),
ARC(7, l_sctpAssocRemAddrRtx),
ARC(8, l_sctpAssocRemAddrStartTime),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocRemAddrEntry = NODE_NT("sctpAssocRemAddrEntry",
REPLACEABLE, a_sctpAssocRemAddrEntry);
STATIC
MIBARC_T a_sctpAssocRemAddrTable[] = {
ARC(1, n_sctpAssocRemAddrEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpAssocRemAddrTable = NODE_NT("sctpAssocRemAddrTable",
REPLACEABLE, a_sctpAssocRemAddrTable);
STATIC
MIBARC_T a_sctpObjects[] = {
ARC(1, n_sctpStats),
ARC(2, n_sctpParams),
ARC(3, n_sctpAssocTable),
ARC(4, n_sctpAssocLocalAddrTable),
ARC(5, n_sctpAssocRemAddrTable),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpObjects = NODE_NT("sctpObjects",
REPLACEABLE, a_sctpObjects);
STATIC
MIBARC_T a_sctpMibCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpMibCompliance = NODE_NT("sctpMibCompliance",
REPLACEABLE, a_sctpMibCompliance);
STATIC
MIBARC_T a_sctpMibCompliances[] = {
ARC(1, n_sctpMibCompliance),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpMibCompliances = NODE_NT("sctpMibCompliances",
REPLACEABLE, a_sctpMibCompliances);
STATIC
MIBARC_T a_sctpLayerParamsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpLayerParamsGroup = NODE_NT("sctpLayerParamsGroup",
REPLACEABLE, a_sctpLayerParamsGroup);
STATIC
MIBARC_T a_sctpStatsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpStatsGroup = NODE_NT("sctpStatsGroup",
REPLACEABLE, a_sctpStatsGroup);
STATIC
MIBARC_T a_sctpPerAssocParamsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpPerAssocParamsGroup = NODE_NT("sctpPerAssocParamsGroup",
REPLACEABLE, a_sctpPerAssocParamsGroup);
STATIC
MIBARC_T a_sctpPerAssocStatsGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpPerAssocStatsGroup = NODE_NT("sctpPerAssocStatsGroup",
REPLACEABLE, a_sctpPerAssocStatsGroup);
STATIC
MIBARC_T a_sctpInverseGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpInverseGroup = NODE_NT("sctpInverseGroup",
REPLACEABLE, a_sctpInverseGroup);
STATIC
MIBARC_T a_sctpMibGroups[] = {
ARC(1, n_sctpLayerParamsGroup),
ARC(2, n_sctpStatsGroup),
ARC(3, n_sctpPerAssocParamsGroup),
ARC(4, n_sctpPerAssocStatsGroup),
ARC(5, n_sctpInverseGroup),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpMibGroups = NODE_NT("sctpMibGroups",
REPLACEABLE, a_sctpMibGroups);
STATIC
MIBARC_T a_sctpMibConformance[] = {
ARC(1, n_sctpMibCompliances),
ARC(2, n_sctpMibGroups),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_sctpMibConformance = NODE_NT("sctpMibConformance",
REPLACEABLE, a_sctpMibConformance);
STATIC
MIBARC_T a_sctpMIB[] = {
ARC(1, n_sctpObjects),
ARC(2, n_sctpMibConformance),
END_OF_ARC_LIST };
MIBNODE_T sctp_root_node = NODE_NT("sctpMIB",
REPLACEABLE, a_sctpMIB);
@@ -0,0 +1,40 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -skel.h switch.
****
**** This file contains declarations of stub functions to aid in building
**** the agent MIB interface. It declares all the MIB get, set, test and
**** next method routines that you will need to supply. You'll probably
**** want to FORCE-INCLUDE this file when using the -mib.c output mode.
****
**** To generate the skeletal stub functions themselves, run the MIB compiler
**** with the -skel switch.
****
**** YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
**** BY REGENERATING IT WITH THE MIB COMPILER.
****
**** Last build date: Fri Apr 02 13:08:27 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc3873.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/sctp.ctl
******************************************************************************
******************************************************************************
*/
void sctpStats_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpStats_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpParams_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpParams_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void null_next_async(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpAssocEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpAssocEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpAssocEntry_set(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpAssocEntry_test(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpAssocLocalAddrEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpAssocLocalAddrEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpAssocRemAddrEntry_get(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
void sctpAssocRemAddrEntry_next(OIDC_T, int, OIDC_T*, SNMP_PKT_T*, VB_T*);
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,150 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -leaf switch.
****
**** This file #defines C preprocessor macros providing a variety of
**** information for the leaf objects in the MIB.
****
**** The file includes a LEAF_xxx macro for each leaf object in the
**** MIB (xxx is replaced by the object's name). The value of the
**** LEAF_xxx macro is the final component of the object's object
**** identifier.
****
**** If the object's SYNTAX clause included named INTEGER values,
**** then there is a VAL_xxx_yyy macro for each named value (xxx is
**** replaced by the object's name and yyy by the value's name). The
**** value of the VAL_xxx_yyy macro is the value associated with the
**** named value.
****
**** If the object's SYNTAX clause specified a set of range limitations
**** for the value of the object, then there are one or more sets of
**** MIN_xxx and MAX_xxx macros specifying the lower and upper bound of
**** each range limitation.
****
**** If the object's SYNTAX clause specified a set of size constraints
**** for the value of the object, then there are one or more sets of
**** MINSIZE_xxx and MAXSIZE_xxx macros specifying the lower and upper
**** bound of each size constraint. (If the size constraint is a single
**** value rather than a range then the MINSIZE_xxx and MAXSIZE_xxx
**** macros are replaced by a single SIZE_xxx macro.)
****
**** DO NOT MODIFY THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:27 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc3873.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/sctp.ctl
******************************************************************************
******************************************************************************
*/
#define LEAF_sctpCurrEstab 1
#define LEAF_sctpActiveEstabs 2
#define LEAF_sctpPassiveEstabs 3
#define LEAF_sctpAborteds 4
#define LEAF_sctpShutdowns 5
#define LEAF_sctpOutOfBlues 6
#define LEAF_sctpChecksumErrors 7
#define LEAF_sctpOutCtrlChunks 8
#define LEAF_sctpOutOrderChunks 9
#define LEAF_sctpOutUnorderChunks 10
#define LEAF_sctpInCtrlChunks 11
#define LEAF_sctpInOrderChunks 12
#define LEAF_sctpInUnorderChunks 13
#define LEAF_sctpFragUsrMsgs 14
#define LEAF_sctpReasmUsrMsgs 15
#define LEAF_sctpOutSCTPPacks 16
#define LEAF_sctpInSCTPPacks 17
#define LEAF_sctpDiscontinuityTime 18
#define LEAF_sctpRtoAlgorithm 1
#define VAL_sctpRtoAlgorithm_other 1L
#define VAL_sctpRtoAlgorithm_vanj 2L
#define LEAF_sctpRtoMin 2
#define LEAF_sctpRtoMax 3
#define LEAF_sctpRtoInitial 4
#define LEAF_sctpMaxAssocs 5
#define MIN_sctpMaxAssocs -1L
#define MAX_sctpMaxAssocs 2147483647L
#define LEAF_sctpValCookieLife 6
#define LEAF_sctpMaxInitRetr 7
#define LEAF_sctpAssocId 1
#define MIN_sctpAssocId 1L
#define MAX_sctpAssocId 4294967295L
#define LEAF_sctpAssocRemHostName 2
#define MINSIZE_sctpAssocRemHostName 0L
#define MAXSIZE_sctpAssocRemHostName 255L
#define LEAF_sctpAssocLocalPort 3
#define MIN_sctpAssocLocalPort 1L
#define MAX_sctpAssocLocalPort 65535L
#define LEAF_sctpAssocRemPort 4
#define MIN_sctpAssocRemPort 1L
#define MAX_sctpAssocRemPort 65535L
#define LEAF_sctpAssocRemPrimAddrType 5
#define VAL_sctpAssocRemPrimAddrType_unknown 0L
#define VAL_sctpAssocRemPrimAddrType_ipv4 1L
#define VAL_sctpAssocRemPrimAddrType_ipv6 2L
#define VAL_sctpAssocRemPrimAddrType_ipv4z 3L
#define VAL_sctpAssocRemPrimAddrType_ipv6z 4L
#define VAL_sctpAssocRemPrimAddrType_dns 16L
#define LEAF_sctpAssocRemPrimAddr 6
#define MINSIZE_sctpAssocRemPrimAddr 0L
#define MAXSIZE_sctpAssocRemPrimAddr 255L
#define LEAF_sctpAssocHeartBeatInterval 7
#define LEAF_sctpAssocState 8
#define VAL_sctpAssocState_closed 1L
#define VAL_sctpAssocState_cookieWait 2L
#define VAL_sctpAssocState_cookieEchoed 3L
#define VAL_sctpAssocState_established 4L
#define VAL_sctpAssocState_shutdownPending 5L
#define VAL_sctpAssocState_shutdownSent 6L
#define VAL_sctpAssocState_shutdownReceived 7L
#define VAL_sctpAssocState_shutdownAckSent 8L
#define VAL_sctpAssocState_deleteTCB 9L
#define LEAF_sctpAssocInStreams 9
#define MIN_sctpAssocInStreams 1L
#define MAX_sctpAssocInStreams 65535L
#define LEAF_sctpAssocOutStreams 10
#define MIN_sctpAssocOutStreams 1L
#define MAX_sctpAssocOutStreams 65535L
#define LEAF_sctpAssocMaxRetr 11
#define LEAF_sctpAssocPrimProcess 12
#define LEAF_sctpAssocT1expireds 13
#define LEAF_sctpAssocT2expireds 14
#define LEAF_sctpAssocRtxChunks 15
#define LEAF_sctpAssocStartTime 16
#define LEAF_sctpAssocDiscontinuityTime 17
#define LEAF_sctpAssocLocalAddrType 1
#define VAL_sctpAssocLocalAddrType_unknown 0L
#define VAL_sctpAssocLocalAddrType_ipv4 1L
#define VAL_sctpAssocLocalAddrType_ipv6 2L
#define VAL_sctpAssocLocalAddrType_ipv4z 3L
#define VAL_sctpAssocLocalAddrType_ipv6z 4L
#define VAL_sctpAssocLocalAddrType_dns 16L
#define LEAF_sctpAssocLocalAddr 2
#define MINSIZE_sctpAssocLocalAddr 0L
#define MAXSIZE_sctpAssocLocalAddr 255L
#define LEAF_sctpAssocLocalAddrStartTime 3
#define LEAF_sctpAssocRemAddrType 1
#define VAL_sctpAssocRemAddrType_unknown 0L
#define VAL_sctpAssocRemAddrType_ipv4 1L
#define VAL_sctpAssocRemAddrType_ipv6 2L
#define VAL_sctpAssocRemAddrType_ipv4z 3L
#define VAL_sctpAssocRemAddrType_ipv6z 4L
#define VAL_sctpAssocRemAddrType_dns 16L
#define LEAF_sctpAssocRemAddr 2
#define MINSIZE_sctpAssocRemAddr 0L
#define MAXSIZE_sctpAssocRemAddr 255L
#define LEAF_sctpAssocRemAddrActive 3
#define VAL_sctpAssocRemAddrActive_true 1L
#define VAL_sctpAssocRemAddrActive_false 2L
#define LEAF_sctpAssocRemAddrHBActive 4
#define VAL_sctpAssocRemAddrHBActive_true 1L
#define VAL_sctpAssocRemAddrHBActive_false 2L
#define LEAF_sctpAssocRemAddrRTO 5
#define LEAF_sctpAssocRemAddrMaxPathRtx 6
#define LEAF_sctpAssocRemAddrRtx 7
#define LEAF_sctpAssocRemAddrStartTime 8
+274
View File
@@ -0,0 +1,274 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -mib.c switch.
****
**** This file contains a representation of a MIB tree suitable
**** for use by an SNMP agent running Wind River's WindManage SNMP package.
****
**** DO NOT EDIT THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:26 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/IANARtProto.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4022.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4113.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4292.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/ipnet.ctl
**** starting from node: tcp
******************************************************************************
******************************************************************************
*/
#define _MIB 1
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmpstat.h>
#include "ip_mibhand.h"
#include <ipnet_h.h>
#ifndef STATIC
#define STATIC static
#endif
/**
** Subtree Object Identifier for Add_Node_From_Root
** tcp OBJECT IDENTIFIER ::= { mib-2 6 }
**/
STATIC OIDC_T oid_tcp_root_node[] = { 1, 3, 6, 1, 2, 1, 6 };
OBJ_ID_T objid_tcp_root_node = {
sizeof(oid_tcp_root_node)/sizeof(OIDC_T),
oid_tcp_root_node
};
LEAF_NT_ASYS( l_tcpRtoAlgorithm, REPLACEABLE, "tcpRtoAlgorithm", VT_NUMBER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpRtoMin, REPLACEABLE, "tcpRtoMin", VT_NUMBER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpRtoMax, REPLACEABLE, "tcpRtoMax", VT_NUMBER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpMaxConn, REPLACEABLE, "tcpMaxConn", VT_NUMBER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpActiveOpens, REPLACEABLE, "tcpActiveOpens", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpPassiveOpens, REPLACEABLE, "tcpPassiveOpens", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpAttemptFails, REPLACEABLE, "tcpAttemptFails", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpEstabResets, REPLACEABLE, "tcpEstabResets", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpCurrEstab, REPLACEABLE, "tcpCurrEstab", VT_GAUGE,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpInSegs, REPLACEABLE, "tcpInSegs", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpOutSegs, REPLACEABLE, "tcpOutSegs", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpRetransSegs, REPLACEABLE, "tcpRetransSegs", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpInErrs, REPLACEABLE, "tcpInErrs", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpOutRsts, REPLACEABLE, "tcpOutRsts", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpHCInSegs, REPLACEABLE, "tcpHCInSegs", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpHCOutSegs, REPLACEABLE, "tcpHCOutSegs", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
tcp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_tcpConnectionLocalAddressType[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpConnectionLocalAddressType = NODE_NT("tcpConnectionLocalAddressType",
REPLACEABLE, a_tcpConnectionLocalAddressType);
STATIC
MIBARC_T a_tcpConnectionLocalAddress[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpConnectionLocalAddress = NODE_NT("tcpConnectionLocalAddress",
REPLACEABLE, a_tcpConnectionLocalAddress);
STATIC
MIBARC_T a_tcpConnectionLocalPort[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpConnectionLocalPort = NODE_NT("tcpConnectionLocalPort",
REPLACEABLE, a_tcpConnectionLocalPort);
STATIC
MIBARC_T a_tcpConnectionRemAddressType[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpConnectionRemAddressType = NODE_NT("tcpConnectionRemAddressType",
REPLACEABLE, a_tcpConnectionRemAddressType);
STATIC
MIBARC_T a_tcpConnectionRemAddress[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpConnectionRemAddress = NODE_NT("tcpConnectionRemAddress",
REPLACEABLE, a_tcpConnectionRemAddress);
STATIC
MIBARC_T a_tcpConnectionRemPort[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpConnectionRemPort = NODE_NT("tcpConnectionRemPort",
REPLACEABLE, a_tcpConnectionRemPort);
LEAF_NT_ASYS( l_tcpConnectionState, REPLACEABLE, "tcpConnectionState", VT_NUMBER,
READ_WRITE_ACCESS, TABULAR, tcpConnectionEntry_test,
tcpConnectionEntry_get, tcpConnectionEntry_set, tcpConnectionEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tcpConnectionProcess, REPLACEABLE, "tcpConnectionProcess", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
tcpConnectionEntry_get, null_set_async, tcpConnectionEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_tcpConnectionEntry[] = {
ARC(1, n_tcpConnectionLocalAddressType),
ARC(2, n_tcpConnectionLocalAddress),
ARC(3, n_tcpConnectionLocalPort),
ARC(4, n_tcpConnectionRemAddressType),
ARC(5, n_tcpConnectionRemAddress),
ARC(6, n_tcpConnectionRemPort),
ARC(7, l_tcpConnectionState),
ARC(8, l_tcpConnectionProcess),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpConnectionEntry = NODE_NT("tcpConnectionEntry",
REPLACEABLE, a_tcpConnectionEntry);
STATIC
MIBARC_T a_tcpConnectionTable[] = {
ARC(1, n_tcpConnectionEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpConnectionTable = NODE_NT("tcpConnectionTable",
REPLACEABLE, a_tcpConnectionTable);
STATIC
MIBARC_T a_tcpListenerLocalAddressType[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpListenerLocalAddressType = NODE_NT("tcpListenerLocalAddressType",
REPLACEABLE, a_tcpListenerLocalAddressType);
STATIC
MIBARC_T a_tcpListenerLocalAddress[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpListenerLocalAddress = NODE_NT("tcpListenerLocalAddress",
REPLACEABLE, a_tcpListenerLocalAddress);
STATIC
MIBARC_T a_tcpListenerLocalPort[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpListenerLocalPort = NODE_NT("tcpListenerLocalPort",
REPLACEABLE, a_tcpListenerLocalPort);
LEAF_NT_ASYS( l_tcpListenerProcess, REPLACEABLE, "tcpListenerProcess", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
tcpListenerEntry_get, null_set_async, tcpListenerEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_tcpListenerEntry[] = {
ARC(1, n_tcpListenerLocalAddressType),
ARC(2, n_tcpListenerLocalAddress),
ARC(3, n_tcpListenerLocalPort),
ARC(4, l_tcpListenerProcess),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpListenerEntry = NODE_NT("tcpListenerEntry",
REPLACEABLE, a_tcpListenerEntry);
STATIC
MIBARC_T a_tcpListenerTable[] = {
ARC(1, n_tcpListenerEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tcpListenerTable = NODE_NT("tcpListenerTable",
REPLACEABLE, a_tcpListenerTable);
STATIC
MIBARC_T a_tcp[] = {
ARC(1, l_tcpRtoAlgorithm),
ARC(2, l_tcpRtoMin),
ARC(3, l_tcpRtoMax),
ARC(4, l_tcpMaxConn),
ARC(5, l_tcpActiveOpens),
ARC(6, l_tcpPassiveOpens),
ARC(7, l_tcpAttemptFails),
ARC(8, l_tcpEstabResets),
ARC(9, l_tcpCurrEstab),
ARC(10, l_tcpInSegs),
ARC(11, l_tcpOutSegs),
ARC(12, l_tcpRetransSegs),
ARC(14, l_tcpInErrs),
ARC(15, l_tcpOutRsts),
ARC(17, l_tcpHCInSegs),
ARC(18, l_tcpHCOutSegs),
ARC(19, n_tcpConnectionTable),
ARC(20, n_tcpListenerTable),
END_OF_ARC_LIST };
MIBNODE_T tcp_root_node = NODE_NT("tcp",
REPLACEABLE, a_tcp);
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,347 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -mib.c switch.
****
**** This file contains a representation of a MIB tree suitable
**** for use by an SNMP agent running Wind River's WindManage SNMP package.
****
**** DO NOT EDIT THIS FILE BY HAND.
****
**** Last build date: Tue May 15 15:40:43 2012
**** from files:
**** IANAifType-MIB, rfc1213.mib, rfc1447.mib, rfc1450.mib, rfc2571.mib,
**** rfc2863.mib, rfc3291.mib, rfc3595.mib, rfc4087.mib
******************************************************************************
******************************************************************************
*/
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmpstat.h>
#include "tunnel_mibhand.h"
#define _MIB 1
#ifndef STATIC
#define STATIC static
#endif
STATIC OIDC_T oid_tunnel_root_node[] = { 1, 3, 6, 1, 2, 1, 10 };
OBJ_ID_T objid_tunnel_root_node = {
sizeof(oid_tunnel_root_node)/sizeof(OIDC_T),
oid_tunnel_root_node
};
LEAF_NT_ASYS( l_tunnelIfLocalAddress, REPLACEABLE, "tunnelIfLocalAddress", VT_IPADDRESS,
READ_ACCESS, TABULAR, null_test_async,
tunnelIfEntry_get, null_set_async, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelIfRemoteAddress, REPLACEABLE, "tunnelIfRemoteAddress", VT_IPADDRESS,
READ_ACCESS, TABULAR, null_test_async,
tunnelIfEntry_get, null_set_async, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelIfEncapsMethod, REPLACEABLE, "tunnelIfEncapsMethod", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
tunnelIfEntry_get, null_set_async, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelIfHopLimit, REPLACEABLE, "tunnelIfHopLimit", VT_NUMBER,
READ_WRITE_ACCESS, TABULAR, tunnelIfEntry_test,
tunnelIfEntry_get, tunnelIfEntry_set, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelIfSecurity, REPLACEABLE, "tunnelIfSecurity", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
tunnelIfEntry_get, null_set_async, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelIfTOS, REPLACEABLE, "tunnelIfTOS", VT_NUMBER,
READ_WRITE_ACCESS, TABULAR, tunnelIfEntry_test,
tunnelIfEntry_get, tunnelIfEntry_set, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelIfFlowLabel, REPLACEABLE, "tunnelIfFlowLabel", VT_NUMBER,
READ_WRITE_ACCESS, TABULAR, tunnelIfEntry_test,
tunnelIfEntry_get, tunnelIfEntry_set, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelIfAddressType, REPLACEABLE, "tunnelIfAddressType", VT_NUMBER,
READ_WRITE_ACCESS, TABULAR, tunnelIfEntry_test,
tunnelIfEntry_get, tunnelIfEntry_set, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelIfLocalInetAddress, REPLACEABLE, "tunnelIfLocalInetAddress", VT_STRING,
READ_WRITE_ACCESS, TABULAR, tunnelIfEntry_test,
tunnelIfEntry_get, tunnelIfEntry_set, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelIfRemoteInetAddress, REPLACEABLE, "tunnelIfRemoteInetAddress", VT_STRING,
READ_WRITE_ACCESS, TABULAR, tunnelIfEntry_test,
tunnelIfEntry_get, tunnelIfEntry_set, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelIfEncapsLimit, REPLACEABLE, "tunnelIfEncapsLimit", VT_NUMBER,
READ_WRITE_ACCESS, TABULAR, tunnelIfEntry_test,
tunnelIfEntry_get, tunnelIfEntry_set, tunnelIfEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_tunnelIfEntry[] = {
ARC(1, l_tunnelIfLocalAddress),
ARC(2, l_tunnelIfRemoteAddress),
ARC(3, l_tunnelIfEncapsMethod),
ARC(4, l_tunnelIfHopLimit),
ARC(5, l_tunnelIfSecurity),
ARC(6, l_tunnelIfTOS),
ARC(7, l_tunnelIfFlowLabel),
ARC(8, l_tunnelIfAddressType),
ARC(9, l_tunnelIfLocalInetAddress),
ARC(10, l_tunnelIfRemoteInetAddress),
ARC(11, l_tunnelIfEncapsLimit),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelIfEntry = NODE_NT("tunnelIfEntry",
REPLACEABLE, a_tunnelIfEntry);
STATIC
MIBARC_T a_tunnelIfTable[] = {
ARC(1, n_tunnelIfEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelIfTable = NODE_NT("tunnelIfTable",
REPLACEABLE, a_tunnelIfTable);
STATIC
MIBARC_T a_tunnelConfigLocalAddress[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelConfigLocalAddress = NODE_NT("tunnelConfigLocalAddress",
REPLACEABLE, a_tunnelConfigLocalAddress);
STATIC
MIBARC_T a_tunnelConfigRemoteAddress[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelConfigRemoteAddress = NODE_NT("tunnelConfigRemoteAddress",
REPLACEABLE, a_tunnelConfigRemoteAddress);
STATIC
MIBARC_T a_tunnelConfigEncapsMethod[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelConfigEncapsMethod = NODE_NT("tunnelConfigEncapsMethod",
REPLACEABLE, a_tunnelConfigEncapsMethod);
STATIC
MIBARC_T a_tunnelConfigID[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelConfigID = NODE_NT("tunnelConfigID",
REPLACEABLE, a_tunnelConfigID);
LEAF_NT_ASYS( l_tunnelConfigIfIndex, REPLACEABLE, "tunnelConfigIfIndex", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
tunnelConfigEntry_get, null_set_async, tunnelConfigEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelConfigStatus, REPLACEABLE, "tunnelConfigStatus", VT_NUMBER,
READ_CREATE_ACCESS, TABULAR, tunnelConfigEntry_test,
tunnelConfigEntry_get, tunnelConfigEntry_set, tunnelConfigEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_tunnelConfigEntry[] = {
ARC(1, n_tunnelConfigLocalAddress),
ARC(2, n_tunnelConfigRemoteAddress),
ARC(3, n_tunnelConfigEncapsMethod),
ARC(4, n_tunnelConfigID),
ARC(5, l_tunnelConfigIfIndex),
ARC(6, l_tunnelConfigStatus),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelConfigEntry = NODE_NT("tunnelConfigEntry",
REPLACEABLE, a_tunnelConfigEntry);
STATIC
MIBARC_T a_tunnelConfigTable[] = {
ARC(1, n_tunnelConfigEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelConfigTable = NODE_NT("tunnelConfigTable",
REPLACEABLE, a_tunnelConfigTable);
STATIC
MIBARC_T a_tunnelInetConfigAddressType[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelInetConfigAddressType = NODE_NT("tunnelInetConfigAddressType",
REPLACEABLE, a_tunnelInetConfigAddressType);
STATIC
MIBARC_T a_tunnelInetConfigLocalAddress[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelInetConfigLocalAddress = NODE_NT("tunnelInetConfigLocalAddress",
REPLACEABLE, a_tunnelInetConfigLocalAddress);
STATIC
MIBARC_T a_tunnelInetConfigRemoteAddress[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelInetConfigRemoteAddress = NODE_NT("tunnelInetConfigRemoteAddress",
REPLACEABLE, a_tunnelInetConfigRemoteAddress);
STATIC
MIBARC_T a_tunnelInetConfigEncapsMethod[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelInetConfigEncapsMethod = NODE_NT("tunnelInetConfigEncapsMethod",
REPLACEABLE, a_tunnelInetConfigEncapsMethod);
STATIC
MIBARC_T a_tunnelInetConfigID[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelInetConfigID = NODE_NT("tunnelInetConfigID",
REPLACEABLE, a_tunnelInetConfigID);
LEAF_NT_ASYS( l_tunnelInetConfigIfIndex, REPLACEABLE, "tunnelInetConfigIfIndex", VT_NUMBER,
READ_ACCESS, TABULAR, null_test_async,
tunnelInetConfigEntry_get, null_set_async, tunnelInetConfigEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelInetConfigStatus, REPLACEABLE, "tunnelInetConfigStatus", VT_NUMBER,
READ_CREATE_ACCESS, TABULAR, tunnelInetConfigEntry_test,
tunnelInetConfigEntry_get, tunnelInetConfigEntry_set, tunnelInetConfigEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_tunnelInetConfigStorageType, REPLACEABLE, "tunnelInetConfigStorageType", VT_NUMBER,
READ_CREATE_ACCESS, TABULAR, tunnelInetConfigEntry_test,
tunnelInetConfigEntry_get, tunnelInetConfigEntry_set, tunnelInetConfigEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_tunnelInetConfigEntry[] = {
ARC(1, n_tunnelInetConfigAddressType),
ARC(2, n_tunnelInetConfigLocalAddress),
ARC(3, n_tunnelInetConfigRemoteAddress),
ARC(4, n_tunnelInetConfigEncapsMethod),
ARC(5, n_tunnelInetConfigID),
ARC(6, l_tunnelInetConfigIfIndex),
ARC(7, l_tunnelInetConfigStatus),
ARC(8, l_tunnelInetConfigStorageType),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelInetConfigEntry = NODE_NT("tunnelInetConfigEntry",
REPLACEABLE, a_tunnelInetConfigEntry);
STATIC
MIBARC_T a_tunnelInetConfigTable[] = {
ARC(1, n_tunnelInetConfigEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelInetConfigTable = NODE_NT("tunnelInetConfigTable",
REPLACEABLE, a_tunnelInetConfigTable);
STATIC
MIBARC_T a_tunnel[] = {
ARC(1, n_tunnelIfTable),
ARC(2, n_tunnelConfigTable),
ARC(3, n_tunnelInetConfigTable),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnel = NODE_NT("tunnel",
REPLACEABLE, a_tunnel);
STATIC
MIBARC_T a_tunnelMIBObjects[] = {
ARC(1, n_tunnel),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelMIBObjects = NODE_NT("tunnelMIBObjects",
REPLACEABLE, a_tunnelMIBObjects);
STATIC
MIBARC_T a_tunnelMIBCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelMIBCompliance = NODE_NT("tunnelMIBCompliance",
REPLACEABLE, a_tunnelMIBCompliance);
STATIC
MIBARC_T a_tunnelMIBInetFullCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelMIBInetFullCompliance = NODE_NT("tunnelMIBInetFullCompliance",
REPLACEABLE, a_tunnelMIBInetFullCompliance);
STATIC
MIBARC_T a_tunnelMIBInetReadOnlyCompliance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelMIBInetReadOnlyCompliance = NODE_NT("tunnelMIBInetReadOnlyCompliance",
REPLACEABLE, a_tunnelMIBInetReadOnlyCompliance);
STATIC
MIBARC_T a_tunnelMIBCompliances[] = {
ARC(1, n_tunnelMIBCompliance),
ARC(2, n_tunnelMIBInetFullCompliance),
ARC(3, n_tunnelMIBInetReadOnlyCompliance),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelMIBCompliances = NODE_NT("tunnelMIBCompliances",
REPLACEABLE, a_tunnelMIBCompliances);
STATIC
MIBARC_T a_tunnelMIBBasicGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelMIBBasicGroup = NODE_NT("tunnelMIBBasicGroup",
REPLACEABLE, a_tunnelMIBBasicGroup);
STATIC
MIBARC_T a_tunnelMIBInetGroup[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelMIBInetGroup = NODE_NT("tunnelMIBInetGroup",
REPLACEABLE, a_tunnelMIBInetGroup);
STATIC
MIBARC_T a_tunnelMIBGroups[] = {
ARC(1, n_tunnelMIBBasicGroup),
ARC(2, n_tunnelMIBInetGroup),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelMIBGroups = NODE_NT("tunnelMIBGroups",
REPLACEABLE, a_tunnelMIBGroups);
STATIC
MIBARC_T a_tunnelMIBConformance[] = {
ARC(1, n_tunnelMIBCompliances),
ARC(2, n_tunnelMIBGroups),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelMIBConformance = NODE_NT("tunnelMIBConformance",
REPLACEABLE, a_tunnelMIBConformance);
STATIC
MIBARC_T a_tunnelMIB[] = {
ARC(1, n_tunnelMIBObjects),
ARC(2, n_tunnelMIBConformance),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_tunnelMIB = NODE_NT("tunnelMIB",
REPLACEABLE, a_tunnelMIB);
STATIC
MIBARC_T tunnel_transmission[] = {
ARC(131, n_tunnelMIB),
END_OF_ARC_LIST };
MIBNODE_T tunnel_root_node = NODE_NT("transmission",
REPLACEABLE, tunnel_transmission);
@@ -0,0 +1,128 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -skel switch.
****
**** This file contains stub function declarations to aid in building
**** the agent MIB interface. It defines all the MIB get, set, test and
**** next method routines that you will need to supply.
**** Filling in the skeletal function with useful code is up to you.
****
**** YOU MAY MODIFY THIS FILE BUT BEWARE ACCIDENTALLY OVERWRITING IT
**** BY REGENERATING IT WITH THE MIB COMPILER.
****
**** Last build date: Tue May 15 15:41:21 2012
**** from files:
**** IANAifType-MIB, rfc1213.mib, rfc1447.mib, rfc1450.mib, rfc2571.mib,
**** rfc2863.mib, rfc3291.mib, rfc3595.mib, rfc4087.mib
******************************************************************************
******************************************************************************
*/
void tunnelIfEntry_get(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelIfEntry_next(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelIfEntry_set(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelIfEntry_test(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void null_next_async(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelConfigEntry_get(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelConfigEntry_next(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelConfigEntry_set(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelConfigEntry_test(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelInetConfigEntry_get(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelInetConfigEntry_next(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelInetConfigEntry_set(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
void tunnelInetConfigEntry_test(
OIDC_T lastmatch,
int tcount,
OIDC_T* tlist,
SNMP_PKT_T* pktp,
VB_T* vbp);
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,920 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -leaf switch.
****
**** This file #defines C preprocessor macros providing a variety of
**** information for the leaf objects in the MIB.
****
**** The file includes a LEAF_xxx macro for each leaf object in the
**** MIB (xxx is replaced by the object's name). The value of the
**** LEAF_xxx macro is the final component of the object's object
**** identifier.
****
**** If the object's SYNTAX clause included named INTEGER values,
**** then there is a VAL_xxx_yyy macro for each named value (xxx is
**** replaced by the object's name and yyy by the value's name). The
**** value of the VAL_xxx_yyy macro is the value associated with the
**** named value.
****
**** If the object's SYNTAX clause specified a set of range limitations
**** for the value of the object, then there are one or more sets of
**** MIN_xxx and MAX_xxx macros specifying the lower and upper bound of
**** each range limitation.
****
**** If the object's SYNTAX clause specified a set of size constraints
**** for the value of the object, then there are one or more sets of
**** MINSIZE_xxx and MAXSIZE_xxx macros specifying the lower and upper
**** bound of each size constraint. (If the size constraint is a single
**** value rather than a range then the MINSIZE_xxx and MAXSIZE_xxx
**** macros are replaced by a single SIZE_xxx macro.)
****
**** DO NOT MODIFY THIS FILE BY HAND.
****
**** Last build date: Tue May 15 15:42:05 2012
**** from files:
**** IANAifType-MIB, rfc1213.mib, rfc1447.mib, rfc1450.mib, rfc2571.mib,
**** rfc2863.mib, rfc3291.mib, rfc3595.mib, rfc4087.mib
******************************************************************************
******************************************************************************
*/
#define LEAF_sysDescr 1
#define MINSIZE_sysDescr 0L
#define MAXSIZE_sysDescr 255L
#define LEAF_sysObjectID 2
#define LEAF_sysUpTime 3
#define LEAF_sysContact 4
#define MINSIZE_sysContact 0L
#define MAXSIZE_sysContact 255L
#define LEAF_sysName 5
#define MINSIZE_sysName 0L
#define MAXSIZE_sysName 255L
#define LEAF_sysLocation 6
#define MINSIZE_sysLocation 0L
#define MAXSIZE_sysLocation 255L
#define LEAF_sysServices 7
#define MIN_sysServices 0L
#define MAX_sysServices 127L
#define LEAF_ifNumber 1
#define LEAF_ifIndex 1
#define MIN_ifIndex 1L
#define MAX_ifIndex 2147483647L
#define LEAF_ifDescr 2
#define MINSIZE_ifDescr 0L
#define MAXSIZE_ifDescr 255L
#define LEAF_ifType 3
#define VAL_ifType_other 1L
#define VAL_ifType_regular1822 2L
#define VAL_ifType_hdh1822 3L
#define VAL_ifType_ddnX25 4L
#define VAL_ifType_rfc877x25 5L
#define VAL_ifType_ethernetCsmacd 6L
#define VAL_ifType_iso88023Csmacd 7L
#define VAL_ifType_iso88024TokenBus 8L
#define VAL_ifType_iso88025TokenRing 9L
#define VAL_ifType_iso88026Man 10L
#define VAL_ifType_starLan 11L
#define VAL_ifType_proteon10Mbit 12L
#define VAL_ifType_proteon80Mbit 13L
#define VAL_ifType_hyperchannel 14L
#define VAL_ifType_fddi 15L
#define VAL_ifType_lapb 16L
#define VAL_ifType_sdlc 17L
#define VAL_ifType_ds1 18L
#define VAL_ifType_e1 19L
#define VAL_ifType_basicISDN 20L
#define VAL_ifType_primaryISDN 21L
#define VAL_ifType_propPointToPointSerial 22L
#define VAL_ifType_ppp 23L
#define VAL_ifType_softwareLoopback 24L
#define VAL_ifType_eon 25L
#define VAL_ifType_ethernet3Mbit 26L
#define VAL_ifType_nsip 27L
#define VAL_ifType_slip 28L
#define VAL_ifType_ultra 29L
#define VAL_ifType_ds3 30L
#define VAL_ifType_sip 31L
#define VAL_ifType_frameRelay 32L
#define VAL_ifType_rs232 33L
#define VAL_ifType_para 34L
#define VAL_ifType_arcnet 35L
#define VAL_ifType_arcnetPlus 36L
#define VAL_ifType_atm 37L
#define VAL_ifType_miox25 38L
#define VAL_ifType_sonet 39L
#define VAL_ifType_x25ple 40L
#define VAL_ifType_iso88022llc 41L
#define VAL_ifType_localTalk 42L
#define VAL_ifType_smdsDxi 43L
#define VAL_ifType_frameRelayService 44L
#define VAL_ifType_v35 45L
#define VAL_ifType_hssi 46L
#define VAL_ifType_hippi 47L
#define VAL_ifType_modem 48L
#define VAL_ifType_aal5 49L
#define VAL_ifType_sonetPath 50L
#define VAL_ifType_sonetVT 51L
#define VAL_ifType_smdsIcip 52L
#define VAL_ifType_propVirtual 53L
#define VAL_ifType_propMultiplexor 54L
#define VAL_ifType_ieee80212 55L
#define VAL_ifType_fibreChannel 56L
#define VAL_ifType_hippiInterface 57L
#define VAL_ifType_frameRelayInterconnect 58L
#define VAL_ifType_aflane8023 59L
#define VAL_ifType_aflane8025 60L
#define VAL_ifType_cctEmul 61L
#define VAL_ifType_fastEther 62L
#define VAL_ifType_isdn 63L
#define VAL_ifType_v11 64L
#define VAL_ifType_v36 65L
#define VAL_ifType_g703at64k 66L
#define VAL_ifType_g703at2mb 67L
#define VAL_ifType_qllc 68L
#define VAL_ifType_fastEtherFX 69L
#define VAL_ifType_channel 70L
#define VAL_ifType_ieee80211 71L
#define VAL_ifType_ibm370parChan 72L
#define VAL_ifType_escon 73L
#define VAL_ifType_dlsw 74L
#define VAL_ifType_isdns 75L
#define VAL_ifType_isdnu 76L
#define VAL_ifType_lapd 77L
#define VAL_ifType_ipSwitch 78L
#define VAL_ifType_rsrb 79L
#define VAL_ifType_atmLogical 80L
#define VAL_ifType_ds0 81L
#define VAL_ifType_ds0Bundle 82L
#define VAL_ifType_bsc 83L
#define VAL_ifType_async 84L
#define VAL_ifType_cnr 85L
#define VAL_ifType_iso88025Dtr 86L
#define VAL_ifType_eplrs 87L
#define VAL_ifType_arap 88L
#define VAL_ifType_propCnls 89L
#define VAL_ifType_hostPad 90L
#define VAL_ifType_termPad 91L
#define VAL_ifType_frameRelayMPI 92L
#define VAL_ifType_x213 93L
#define VAL_ifType_adsl 94L
#define VAL_ifType_radsl 95L
#define VAL_ifType_sdsl 96L
#define VAL_ifType_vdsl 97L
#define VAL_ifType_iso88025CRFPInt 98L
#define VAL_ifType_myrinet 99L
#define VAL_ifType_voiceEM 100L
#define VAL_ifType_voiceFXO 101L
#define VAL_ifType_voiceFXS 102L
#define VAL_ifType_voiceEncap 103L
#define VAL_ifType_voiceOverIp 104L
#define VAL_ifType_atmDxi 105L
#define VAL_ifType_atmFuni 106L
#define VAL_ifType_atmIma 107L
#define VAL_ifType_pppMultilinkBundle 108L
#define VAL_ifType_ipOverCdlc 109L
#define VAL_ifType_ipOverClaw 110L
#define VAL_ifType_stackToStack 111L
#define VAL_ifType_virtualIpAddress 112L
#define VAL_ifType_mpc 113L
#define VAL_ifType_ipOverAtm 114L
#define VAL_ifType_iso88025Fiber 115L
#define VAL_ifType_tdlc 116L
#define VAL_ifType_gigabitEthernet 117L
#define VAL_ifType_hdlc 118L
#define VAL_ifType_lapf 119L
#define VAL_ifType_v37 120L
#define VAL_ifType_x25mlp 121L
#define VAL_ifType_x25huntGroup 122L
#define VAL_ifType_transpHdlc 123L
#define VAL_ifType_interleave 124L
#define VAL_ifType_fast 125L
#define VAL_ifType_ip 126L
#define VAL_ifType_docsCableMaclayer 127L
#define VAL_ifType_docsCableDownstream 128L
#define VAL_ifType_docsCableUpstream 129L
#define VAL_ifType_a12MppSwitch 130L
#define VAL_ifType_tunnel 131L
#define VAL_ifType_coffee 132L
#define VAL_ifType_ces 133L
#define VAL_ifType_atmSubInterface 134L
#define VAL_ifType_l2vlan 135L
#define VAL_ifType_l3ipvlan 136L
#define VAL_ifType_l3ipxvlan 137L
#define VAL_ifType_digitalPowerline 138L
#define VAL_ifType_mediaMailOverIp 139L
#define VAL_ifType_dtm 140L
#define VAL_ifType_dcn 141L
#define VAL_ifType_ipForward 142L
#define VAL_ifType_msdsl 143L
#define VAL_ifType_ieee1394 144L
#define VAL_ifType_if_gsn 145L
#define VAL_ifType_dvbRccMacLayer 146L
#define VAL_ifType_dvbRccDownstream 147L
#define VAL_ifType_dvbRccUpstream 148L
#define VAL_ifType_atmVirtual 149L
#define VAL_ifType_mplsTunnel 150L
#define VAL_ifType_srp 151L
#define VAL_ifType_voiceOverAtm 152L
#define VAL_ifType_voiceOverFrameRelay 153L
#define VAL_ifType_idsl 154L
#define VAL_ifType_compositeLink 155L
#define VAL_ifType_ss7SigLink 156L
#define VAL_ifType_propWirelessP2P 157L
#define VAL_ifType_frForward 158L
#define VAL_ifType_rfc1483 159L
#define VAL_ifType_usb 160L
#define VAL_ifType_ieee8023adLag 161L
#define VAL_ifType_bgppolicyaccounting 162L
#define VAL_ifType_frf16MfrBundle 163L
#define VAL_ifType_h323Gatekeeper 164L
#define VAL_ifType_h323Proxy 165L
#define VAL_ifType_mpls 166L
#define VAL_ifType_mfSigLink 167L
#define VAL_ifType_hdsl2 168L
#define VAL_ifType_shdsl 169L
#define VAL_ifType_ds1FDL 170L
#define VAL_ifType_pos 171L
#define VAL_ifType_dvbAsiIn 172L
#define VAL_ifType_dvbAsiOut 173L
#define VAL_ifType_plc 174L
#define VAL_ifType_nfas 175L
#define VAL_ifType_tr008 176L
#define VAL_ifType_gr303RDT 177L
#define VAL_ifType_gr303IDT 178L
#define VAL_ifType_isup 179L
#define VAL_ifType_propDocsWirelessMaclayer 180L
#define VAL_ifType_propDocsWirelessDownstream 181L
#define VAL_ifType_propDocsWirelessUpstream 182L
#define VAL_ifType_hiperlan2 183L
#define VAL_ifType_propBWAp2Mp 184L
#define VAL_ifType_sonetOverheadChannel 185L
#define VAL_ifType_digitalWrapperOverheadChannel 186L
#define VAL_ifType_aal2 187L
#define VAL_ifType_radioMAC 188L
#define VAL_ifType_atmRadio 189L
#define VAL_ifType_imt 190L
#define VAL_ifType_mvl 191L
#define VAL_ifType_reachDSL 192L
#define VAL_ifType_frDlciEndPt 193L
#define VAL_ifType_atmVciEndPt 194L
#define VAL_ifType_opticalChannel 195L
#define VAL_ifType_opticalTransport 196L
#define VAL_ifType_propAtm 197L
#define VAL_ifType_voiceOverCable 198L
#define VAL_ifType_infiniband 199L
#define VAL_ifType_teLink 200L
#define VAL_ifType_q2931 201L
#define VAL_ifType_virtualTg 202L
#define VAL_ifType_sipTg 203L
#define VAL_ifType_sipSig 204L
#define VAL_ifType_docsCableUpstreamChannel 205L
#define VAL_ifType_econet 206L
#define VAL_ifType_pon155 207L
#define VAL_ifType_pon622 208L
#define VAL_ifType_bridge 209L
#define VAL_ifType_linegroup 210L
#define VAL_ifType_voiceEMFGD 211L
#define VAL_ifType_voiceFGDEANA 212L
#define VAL_ifType_voiceDID 213L
#define VAL_ifType_mpegTransport 214L
#define VAL_ifType_sixToFour 215L
#define VAL_ifType_gtp 216L
#define VAL_ifType_pdnEtherLoop1 217L
#define VAL_ifType_pdnEtherLoop2 218L
#define VAL_ifType_opticalChannelGroup 219L
#define VAL_ifType_homepna 220L
#define VAL_ifType_gfp 221L
#define VAL_ifType_ciscoISLvlan 222L
#define VAL_ifType_actelisMetaLOOP 223L
#define VAL_ifType_fcipLink 224L
#define VAL_ifType_rpr 225L
#define VAL_ifType_qam 226L
#define VAL_ifType_lmp 227L
#define VAL_ifType_cblVectaStar 228L
#define VAL_ifType_docsCableMCmtsDownstream 229L
#define VAL_ifType_adsl2 230L
#define VAL_ifType_macSecControlledIF 231L
#define VAL_ifType_macSecUncontrolledIF 232L
#define VAL_ifType_aviciOpticalEther 233L
#define VAL_ifType_atmbond 234L
#define VAL_ifType_voiceFGDOS 235L
#define VAL_ifType_mocaVersion1 236L
#define VAL_ifType_ieee80216WMAN 237L
#define VAL_ifType_adsl2plus 238L
#define VAL_ifType_dvbRcsMacLayer 239L
#define VAL_ifType_dvbTdm 240L
#define VAL_ifType_dvbRcsTdma 241L
#define VAL_ifType_x86Laps 242L
#define VAL_ifType_wwanPP 243L
#define VAL_ifType_wwanPP2 244L
#define VAL_ifType_voiceEBS 245L
#define VAL_ifType_ifPwType 246L
#define VAL_ifType_ilan 247L
#define VAL_ifType_pip 248L
#define VAL_ifType_aluELP 249L
#define VAL_ifType_gpon 250L
#define VAL_ifType_vdsl2 251L
#define VAL_ifType_capwapDot11Profile 252L
#define VAL_ifType_capwapDot11Bss 253L
#define VAL_ifType_capwapWtpVirtualRadio 254L
#define VAL_ifType_bits 255L
#define VAL_ifType_docsCableUpstreamRfPort 256L
#define VAL_ifType_cableDownstreamRfPort 257L
#define VAL_ifType_vmwareVirtualNic 258L
#define VAL_ifType_ieee802154 259L
#define VAL_ifType_otnOdu 260L
#define VAL_ifType_otnOtu 261L
#define VAL_ifType_ifVfiType 262L
#define VAL_ifType_g9981 263L
#define VAL_ifType_g9982 264L
#define VAL_ifType_g9983 265L
#define VAL_ifType_aluEpon 266L
#define VAL_ifType_aluEponOnu 267L
#define VAL_ifType_aluEponPhysicalUni 268L
#define VAL_ifType_aluEponLogicalLink 269L
#define VAL_ifType_aluGponOnu 270L
#define VAL_ifType_aluGponPhysicalUni 271L
#define LEAF_ifMtu 4
#define LEAF_ifSpeed 5
#define LEAF_ifPhysAddress 6
#define LEAF_ifAdminStatus 7
#define VAL_ifAdminStatus_up 1L
#define VAL_ifAdminStatus_down 2L
#define VAL_ifAdminStatus_testing 3L
#define LEAF_ifOperStatus 8
#define VAL_ifOperStatus_up 1L
#define VAL_ifOperStatus_down 2L
#define VAL_ifOperStatus_testing 3L
#define VAL_ifOperStatus_unknown 4L
#define VAL_ifOperStatus_dormant 5L
#define VAL_ifOperStatus_notPresent 6L
#define VAL_ifOperStatus_lowerLayerDown 7L
#define LEAF_ifLastChange 9
#define LEAF_ifInOctets 10
#define LEAF_ifInUcastPkts 11
#define LEAF_ifInNUcastPkts 12
#define LEAF_ifInDiscards 13
#define LEAF_ifInErrors 14
#define LEAF_ifInUnknownProtos 15
#define LEAF_ifOutOctets 16
#define LEAF_ifOutUcastPkts 17
#define LEAF_ifOutNUcastPkts 18
#define LEAF_ifOutDiscards 19
#define LEAF_ifOutErrors 20
#define LEAF_ifOutQLen 21
#define LEAF_ifSpecific 22
#define LEAF_atIfIndex 1
#define LEAF_atPhysAddress 2
#define LEAF_atNetAddress 3
#define LEAF_ipForwarding 1
#define VAL_ipForwarding_forwarding 1L
#define VAL_ipForwarding_not_forwarding 2L
#define LEAF_ipDefaultTTL 2
#define LEAF_ipInReceives 3
#define LEAF_ipInHdrErrors 4
#define LEAF_ipInAddrErrors 5
#define LEAF_ipForwDatagrams 6
#define LEAF_ipInUnknownProtos 7
#define LEAF_ipInDiscards 8
#define LEAF_ipInDelivers 9
#define LEAF_ipOutRequests 10
#define LEAF_ipOutDiscards 11
#define LEAF_ipOutNoRoutes 12
#define LEAF_ipReasmTimeout 13
#define LEAF_ipReasmReqds 14
#define LEAF_ipReasmOKs 15
#define LEAF_ipReasmFails 16
#define LEAF_ipFragOKs 17
#define LEAF_ipFragFails 18
#define LEAF_ipFragCreates 19
#define LEAF_ipAdEntAddr 1
#define LEAF_ipAdEntIfIndex 2
#define LEAF_ipAdEntNetMask 3
#define LEAF_ipAdEntBcastAddr 4
#define LEAF_ipAdEntReasmMaxSize 5
#define MIN_ipAdEntReasmMaxSize 0L
#define MAX_ipAdEntReasmMaxSize 65535L
#define LEAF_ipRouteDest 1
#define LEAF_ipRouteIfIndex 2
#define LEAF_ipRouteMetric1 3
#define LEAF_ipRouteMetric2 4
#define LEAF_ipRouteMetric3 5
#define LEAF_ipRouteMetric4 6
#define LEAF_ipRouteNextHop 7
#define LEAF_ipRouteType 8
#define VAL_ipRouteType_other 1L
#define VAL_ipRouteType_invalid 2L
#define VAL_ipRouteType_direct 3L
#define VAL_ipRouteType_indirect 4L
#define LEAF_ipRouteProto 9
#define VAL_ipRouteProto_other 1L
#define VAL_ipRouteProto_local 2L
#define VAL_ipRouteProto_netmgmt 3L
#define VAL_ipRouteProto_icmp 4L
#define VAL_ipRouteProto_egp 5L
#define VAL_ipRouteProto_ggp 6L
#define VAL_ipRouteProto_hello 7L
#define VAL_ipRouteProto_rip 8L
#define VAL_ipRouteProto_is_is 9L
#define VAL_ipRouteProto_es_is 10L
#define VAL_ipRouteProto_ciscoIgrp 11L
#define VAL_ipRouteProto_bbnSpfIgp 12L
#define VAL_ipRouteProto_ospf 13L
#define VAL_ipRouteProto_bgp 14L
#define LEAF_ipRouteAge 10
#define LEAF_ipRouteMask 11
#define LEAF_ipRouteMetric5 12
#define LEAF_ipRouteInfo 13
#define LEAF_ipNetToMediaIfIndex 1
#define LEAF_ipNetToMediaPhysAddress 2
#define LEAF_ipNetToMediaNetAddress 3
#define LEAF_ipNetToMediaType 4
#define VAL_ipNetToMediaType_other 1L
#define VAL_ipNetToMediaType_invalid 2L
#define VAL_ipNetToMediaType_dynamic 3L
#define VAL_ipNetToMediaType_static 4L
#define LEAF_ipRoutingDiscards 23
#define LEAF_icmpInMsgs 1
#define LEAF_icmpInErrors 2
#define LEAF_icmpInDestUnreachs 3
#define LEAF_icmpInTimeExcds 4
#define LEAF_icmpInParmProbs 5
#define LEAF_icmpInSrcQuenchs 6
#define LEAF_icmpInRedirects 7
#define LEAF_icmpInEchos 8
#define LEAF_icmpInEchoReps 9
#define LEAF_icmpInTimestamps 10
#define LEAF_icmpInTimestampReps 11
#define LEAF_icmpInAddrMasks 12
#define LEAF_icmpInAddrMaskReps 13
#define LEAF_icmpOutMsgs 14
#define LEAF_icmpOutErrors 15
#define LEAF_icmpOutDestUnreachs 16
#define LEAF_icmpOutTimeExcds 17
#define LEAF_icmpOutParmProbs 18
#define LEAF_icmpOutSrcQuenchs 19
#define LEAF_icmpOutRedirects 20
#define LEAF_icmpOutEchos 21
#define LEAF_icmpOutEchoReps 22
#define LEAF_icmpOutTimestamps 23
#define LEAF_icmpOutTimestampReps 24
#define LEAF_icmpOutAddrMasks 25
#define LEAF_icmpOutAddrMaskReps 26
#define LEAF_tcpRtoAlgorithm 1
#define VAL_tcpRtoAlgorithm_other 1L
#define VAL_tcpRtoAlgorithm_constant 2L
#define VAL_tcpRtoAlgorithm_rsre 3L
#define VAL_tcpRtoAlgorithm_vanj 4L
#define LEAF_tcpRtoMin 2
#define LEAF_tcpRtoMax 3
#define LEAF_tcpMaxConn 4
#define LEAF_tcpActiveOpens 5
#define LEAF_tcpPassiveOpens 6
#define LEAF_tcpAttemptFails 7
#define LEAF_tcpEstabResets 8
#define LEAF_tcpCurrEstab 9
#define LEAF_tcpInSegs 10
#define LEAF_tcpOutSegs 11
#define LEAF_tcpRetransSegs 12
#define LEAF_tcpConnState 1
#define VAL_tcpConnState_closed 1L
#define VAL_tcpConnState_listen 2L
#define VAL_tcpConnState_synSent 3L
#define VAL_tcpConnState_synReceived 4L
#define VAL_tcpConnState_established 5L
#define VAL_tcpConnState_finWait1 6L
#define VAL_tcpConnState_finWait2 7L
#define VAL_tcpConnState_closeWait 8L
#define VAL_tcpConnState_lastAck 9L
#define VAL_tcpConnState_closing 10L
#define VAL_tcpConnState_timeWait 11L
#define VAL_tcpConnState_deleteTCB 12L
#define LEAF_tcpConnLocalAddress 2
#define LEAF_tcpConnLocalPort 3
#define MIN_tcpConnLocalPort 0L
#define MAX_tcpConnLocalPort 65535L
#define LEAF_tcpConnRemAddress 4
#define LEAF_tcpConnRemPort 5
#define MIN_tcpConnRemPort 0L
#define MAX_tcpConnRemPort 65535L
#define LEAF_tcpInErrs 14
#define LEAF_tcpOutRsts 15
#define LEAF_udpInDatagrams 1
#define LEAF_udpNoPorts 2
#define LEAF_udpInErrors 3
#define LEAF_udpOutDatagrams 4
#define LEAF_udpLocalAddress 1
#define LEAF_udpLocalPort 2
#define MIN_udpLocalPort 0L
#define MAX_udpLocalPort 65535L
#define LEAF_egpInMsgs 1
#define LEAF_egpInErrors 2
#define LEAF_egpOutMsgs 3
#define LEAF_egpOutErrors 4
#define LEAF_egpNeighState 1
#define VAL_egpNeighState_idle 1L
#define VAL_egpNeighState_acquisition 2L
#define VAL_egpNeighState_down 3L
#define VAL_egpNeighState_up 4L
#define VAL_egpNeighState_cease 5L
#define LEAF_egpNeighAddr 2
#define LEAF_egpNeighAs 3
#define LEAF_egpNeighInMsgs 4
#define LEAF_egpNeighInErrs 5
#define LEAF_egpNeighOutMsgs 6
#define LEAF_egpNeighOutErrs 7
#define LEAF_egpNeighInErrMsgs 8
#define LEAF_egpNeighOutErrMsgs 9
#define LEAF_egpNeighStateUps 10
#define LEAF_egpNeighStateDowns 11
#define LEAF_egpNeighIntervalHello 12
#define LEAF_egpNeighIntervalPoll 13
#define LEAF_egpNeighMode 14
#define VAL_egpNeighMode_active 1L
#define VAL_egpNeighMode_passive 2L
#define LEAF_egpNeighEventTrigger 15
#define VAL_egpNeighEventTrigger_start 1L
#define VAL_egpNeighEventTrigger_stop 2L
#define LEAF_egpAs 6
#define LEAF_tunnelIfLocalAddress 1
#define LEAF_tunnelIfRemoteAddress 2
#define LEAF_tunnelIfEncapsMethod 3
#define VAL_tunnelIfEncapsMethod_other 1L
#define VAL_tunnelIfEncapsMethod_direct 2L
#define VAL_tunnelIfEncapsMethod_gre 3L
#define VAL_tunnelIfEncapsMethod_minimal 4L
#define VAL_tunnelIfEncapsMethod_l2tp 5L
#define VAL_tunnelIfEncapsMethod_pptp 6L
#define VAL_tunnelIfEncapsMethod_l2f 7L
#define VAL_tunnelIfEncapsMethod_udp 8L
#define VAL_tunnelIfEncapsMethod_atmp 9L
#define VAL_tunnelIfEncapsMethod_msdp 10L
#define VAL_tunnelIfEncapsMethod_sixToFour 11L
#define VAL_tunnelIfEncapsMethod_sixOverFour 12L
#define VAL_tunnelIfEncapsMethod_isatap 13L
#define VAL_tunnelIfEncapsMethod_teredo 14L
#define VAL_tunnelIfEncapsMethod_ipHttps 15L
#define LEAF_tunnelIfHopLimit 4
#define MIN_tunnelIfHopLimit 0L
#define MAX_tunnelIfHopLimit 255L
#define LEAF_tunnelIfSecurity 5
#define VAL_tunnelIfSecurity_none 1L
#define VAL_tunnelIfSecurity_ipsec 2L
#define VAL_tunnelIfSecurity_other 3L
#define LEAF_tunnelIfTOS 6
#define MIN_tunnelIfTOS -2L
#define MAX_tunnelIfTOS 63L
#define LEAF_tunnelIfFlowLabel 7
#define MIN_tunnelIfFlowLabel -1L
#define MAX_tunnelIfFlowLabel 1048575L
#define LEAF_tunnelIfAddressType 8
#define VAL_tunnelIfAddressType_unknown 0L
#define VAL_tunnelIfAddressType_ipv4 1L
#define VAL_tunnelIfAddressType_ipv6 2L
#define VAL_tunnelIfAddressType_ipv4z 3L
#define VAL_tunnelIfAddressType_ipv6z 4L
#define VAL_tunnelIfAddressType_dns 16L
#define LEAF_tunnelIfLocalInetAddress 9
#define MINSIZE_tunnelIfLocalInetAddress 0L
#define MAXSIZE_tunnelIfLocalInetAddress 255L
#define LEAF_tunnelIfRemoteInetAddress 10
#define MINSIZE_tunnelIfRemoteInetAddress 0L
#define MAXSIZE_tunnelIfRemoteInetAddress 255L
#define LEAF_tunnelIfEncapsLimit 11
#define MIN_tunnelIfEncapsLimit -1L
#define MAX_tunnelIfEncapsLimit 255L
#define LEAF_tunnelConfigLocalAddress 1
#define LEAF_tunnelConfigRemoteAddress 2
#define LEAF_tunnelConfigEncapsMethod 3
#define VAL_tunnelConfigEncapsMethod_other 1L
#define VAL_tunnelConfigEncapsMethod_direct 2L
#define VAL_tunnelConfigEncapsMethod_gre 3L
#define VAL_tunnelConfigEncapsMethod_minimal 4L
#define VAL_tunnelConfigEncapsMethod_l2tp 5L
#define VAL_tunnelConfigEncapsMethod_pptp 6L
#define VAL_tunnelConfigEncapsMethod_l2f 7L
#define VAL_tunnelConfigEncapsMethod_udp 8L
#define VAL_tunnelConfigEncapsMethod_atmp 9L
#define VAL_tunnelConfigEncapsMethod_msdp 10L
#define VAL_tunnelConfigEncapsMethod_sixToFour 11L
#define VAL_tunnelConfigEncapsMethod_sixOverFour 12L
#define VAL_tunnelConfigEncapsMethod_isatap 13L
#define VAL_tunnelConfigEncapsMethod_teredo 14L
#define VAL_tunnelConfigEncapsMethod_ipHttps 15L
#define LEAF_tunnelConfigID 4
#define MIN_tunnelConfigID 1L
#define MAX_tunnelConfigID 2147483647L
#define LEAF_tunnelConfigIfIndex 5
#define MIN_tunnelConfigIfIndex 0L
#define MAX_tunnelConfigIfIndex 2147483647L
#define LEAF_tunnelConfigStatus 6
#define VAL_tunnelConfigStatus_active 1L
#define VAL_tunnelConfigStatus_notInService 2L
#define VAL_tunnelConfigStatus_notReady 3L
#define VAL_tunnelConfigStatus_createAndGo 4L
#define VAL_tunnelConfigStatus_createAndWait 5L
#define VAL_tunnelConfigStatus_destroy 6L
#define LEAF_tunnelInetConfigAddressType 1
#define VAL_tunnelInetConfigAddressType_unknown 0L
#define VAL_tunnelInetConfigAddressType_ipv4 1L
#define VAL_tunnelInetConfigAddressType_ipv6 2L
#define VAL_tunnelInetConfigAddressType_ipv4z 3L
#define VAL_tunnelInetConfigAddressType_ipv6z 4L
#define VAL_tunnelInetConfigAddressType_dns 16L
#define LEAF_tunnelInetConfigLocalAddress 2
#define MINSIZE_tunnelInetConfigLocalAddress 0L
#define MAXSIZE_tunnelInetConfigLocalAddress 255L
#define LEAF_tunnelInetConfigRemoteAddress 3
#define MINSIZE_tunnelInetConfigRemoteAddress 0L
#define MAXSIZE_tunnelInetConfigRemoteAddress 255L
#define LEAF_tunnelInetConfigEncapsMethod 4
#define VAL_tunnelInetConfigEncapsMethod_other 1L
#define VAL_tunnelInetConfigEncapsMethod_direct 2L
#define VAL_tunnelInetConfigEncapsMethod_gre 3L
#define VAL_tunnelInetConfigEncapsMethod_minimal 4L
#define VAL_tunnelInetConfigEncapsMethod_l2tp 5L
#define VAL_tunnelInetConfigEncapsMethod_pptp 6L
#define VAL_tunnelInetConfigEncapsMethod_l2f 7L
#define VAL_tunnelInetConfigEncapsMethod_udp 8L
#define VAL_tunnelInetConfigEncapsMethod_atmp 9L
#define VAL_tunnelInetConfigEncapsMethod_msdp 10L
#define VAL_tunnelInetConfigEncapsMethod_sixToFour 11L
#define VAL_tunnelInetConfigEncapsMethod_sixOverFour 12L
#define VAL_tunnelInetConfigEncapsMethod_isatap 13L
#define VAL_tunnelInetConfigEncapsMethod_teredo 14L
#define VAL_tunnelInetConfigEncapsMethod_ipHttps 15L
#define LEAF_tunnelInetConfigID 5
#define MIN_tunnelInetConfigID 1L
#define MAX_tunnelInetConfigID 2147483647L
#define LEAF_tunnelInetConfigIfIndex 6
#define MIN_tunnelInetConfigIfIndex 0L
#define MAX_tunnelInetConfigIfIndex 2147483647L
#define LEAF_tunnelInetConfigStatus 7
#define VAL_tunnelInetConfigStatus_active 1L
#define VAL_tunnelInetConfigStatus_notInService 2L
#define VAL_tunnelInetConfigStatus_notReady 3L
#define VAL_tunnelInetConfigStatus_createAndGo 4L
#define VAL_tunnelInetConfigStatus_createAndWait 5L
#define VAL_tunnelInetConfigStatus_destroy 6L
#define LEAF_tunnelInetConfigStorageType 8
#define VAL_tunnelInetConfigStorageType_other 1L
#define VAL_tunnelInetConfigStorageType_volatile 2L
#define VAL_tunnelInetConfigStorageType_nonVolatile 3L
#define VAL_tunnelInetConfigStorageType_permanent 4L
#define VAL_tunnelInetConfigStorageType_readOnly 5L
#define LEAF_snmpInPkts 1
#define LEAF_snmpOutPkts 2
#define LEAF_snmpInBadVersions 3
#define LEAF_snmpInBadCommunityNames 4
#define LEAF_snmpInBadCommunityUses 5
#define LEAF_snmpInASNParseErrs 6
#define LEAF_snmpInTooBigs 8
#define LEAF_snmpInNoSuchNames 9
#define LEAF_snmpInBadValues 10
#define LEAF_snmpInReadOnlys 11
#define LEAF_snmpInGenErrs 12
#define LEAF_snmpInTotalReqVars 13
#define LEAF_snmpInTotalSetVars 14
#define LEAF_snmpInGetRequests 15
#define LEAF_snmpInGetNexts 16
#define LEAF_snmpInSetRequests 17
#define LEAF_snmpInGetResponses 18
#define LEAF_snmpInTraps 19
#define LEAF_snmpOutTooBigs 20
#define LEAF_snmpOutNoSuchNames 21
#define LEAF_snmpOutBadValues 22
#define LEAF_snmpOutGenErrs 24
#define LEAF_snmpOutGetRequests 25
#define LEAF_snmpOutGetNexts 26
#define LEAF_snmpOutSetRequests 27
#define LEAF_snmpOutGetResponses 28
#define LEAF_snmpOutTraps 29
#define LEAF_snmpEnableAuthenTraps 30
#define VAL_snmpEnableAuthenTraps_enabled 1L
#define VAL_snmpEnableAuthenTraps_disabled 2L
#define LEAF_ifName 1
#define MINSIZE_ifName 0L
#define MAXSIZE_ifName 255L
#define LEAF_ifInMulticastPkts 2
#define LEAF_ifInBroadcastPkts 3
#define LEAF_ifOutMulticastPkts 4
#define LEAF_ifOutBroadcastPkts 5
#define LEAF_ifHCInOctets 6
#define LEAF_ifHCInUcastPkts 7
#define LEAF_ifHCInMulticastPkts 8
#define LEAF_ifHCInBroadcastPkts 9
#define LEAF_ifHCOutOctets 10
#define LEAF_ifHCOutUcastPkts 11
#define LEAF_ifHCOutMulticastPkts 12
#define LEAF_ifHCOutBroadcastPkts 13
#define LEAF_ifLinkUpDownTrapEnable 14
#define VAL_ifLinkUpDownTrapEnable_enabled 1L
#define VAL_ifLinkUpDownTrapEnable_disabled 2L
#define LEAF_ifHighSpeed 15
#define LEAF_ifPromiscuousMode 16
#define VAL_ifPromiscuousMode_true 1L
#define VAL_ifPromiscuousMode_false 2L
#define LEAF_ifConnectorPresent 17
#define VAL_ifConnectorPresent_true 1L
#define VAL_ifConnectorPresent_false 2L
#define LEAF_ifAlias 18
#define MINSIZE_ifAlias 0L
#define MAXSIZE_ifAlias 64L
#define LEAF_ifCounterDiscontinuityTime 19
#define LEAF_ifStackHigherLayer 1
#define MIN_ifStackHigherLayer 0L
#define MAX_ifStackHigherLayer 2147483647L
#define LEAF_ifStackLowerLayer 2
#define MIN_ifStackLowerLayer 0L
#define MAX_ifStackLowerLayer 2147483647L
#define LEAF_ifStackStatus 3
#define VAL_ifStackStatus_active 1L
#define VAL_ifStackStatus_notInService 2L
#define VAL_ifStackStatus_notReady 3L
#define VAL_ifStackStatus_createAndGo 4L
#define VAL_ifStackStatus_createAndWait 5L
#define VAL_ifStackStatus_destroy 6L
#define LEAF_ifTestId 1
#define MIN_ifTestId 0L
#define MAX_ifTestId 2147483647L
#define LEAF_ifTestStatus 2
#define VAL_ifTestStatus_notInUse 1L
#define VAL_ifTestStatus_inUse 2L
#define LEAF_ifTestType 3
#define LEAF_ifTestResult 4
#define VAL_ifTestResult_none 1L
#define VAL_ifTestResult_success 2L
#define VAL_ifTestResult_inProgress 3L
#define VAL_ifTestResult_notSupported 4L
#define VAL_ifTestResult_unAbleToRun 5L
#define VAL_ifTestResult_aborted 6L
#define VAL_ifTestResult_failed 7L
#define LEAF_ifTestCode 5
#define LEAF_ifTestOwner 6
#define MINSIZE_ifTestOwner 0L
#define MAXSIZE_ifTestOwner 255L
#define LEAF_ifRcvAddressAddress 1
#define LEAF_ifRcvAddressStatus 2
#define VAL_ifRcvAddressStatus_active 1L
#define VAL_ifRcvAddressStatus_notInService 2L
#define VAL_ifRcvAddressStatus_notReady 3L
#define VAL_ifRcvAddressStatus_createAndGo 4L
#define VAL_ifRcvAddressStatus_createAndWait 5L
#define VAL_ifRcvAddressStatus_destroy 6L
#define LEAF_ifRcvAddressType 3
#define VAL_ifRcvAddressType_other 1L
#define VAL_ifRcvAddressType_volatile 2L
#define VAL_ifRcvAddressType_nonVolatile 3L
#define LEAF_ifTableLastChange 5
#define LEAF_ifStackLastChange 6
#define LEAF_snmpStatsPackets 1
#define LEAF_snmpStats30Something 2
#define LEAF_snmpStatsEncodingErrors 3
#define LEAF_snmpStatsUnknownDstParties 4
#define LEAF_snmpStatsDstPartyMismatches 5
#define LEAF_snmpStatsUnknownSrcParties 6
#define LEAF_snmpStatsBadAuths 7
#define LEAF_snmpStatsNotInLifetimes 8
#define LEAF_snmpStatsWrongDigestValues 9
#define LEAF_snmpStatsUnknownContexts 10
#define LEAF_snmpStatsBadOperations 11
#define LEAF_snmpStatsSilentDrops 12
#define LEAF_snmpV1BadCommunityNames 1
#define LEAF_snmpV1BadCommunityUses 2
#define LEAF_snmpORLastChange 1
#define LEAF_snmpORIndex 1
#define LEAF_snmpORID 2
#define LEAF_snmpORDescr 3
#define MINSIZE_snmpORDescr 0L
#define MAXSIZE_snmpORDescr 255L
#define LEAF_snmpTrapOID 1
#define LEAF_snmpTrapNumbers 1
#define LEAF_snmpTrapEnterprise 3
#define LEAF_snmpV2EnableAuthenTraps 4
#define VAL_snmpV2EnableAuthenTraps_true 1L
#define VAL_snmpV2EnableAuthenTraps_false 2L
#define LEAF_snmpSetSerialNo 1
#define MIN_snmpSetSerialNo 0L
#define MAX_snmpSetSerialNo 2147483647L
#define LEAF_partyIdentity 1
#define LEAF_partyIndex 2
#define MIN_partyIndex 1L
#define MAX_partyIndex 65535L
#define LEAF_partyTDomain 3
#define LEAF_partyTAddress 4
#define LEAF_partyMaxMessageSize 5
#define MIN_partyMaxMessageSize 484L
#define MAX_partyMaxMessageSize 65507L
#define LEAF_partyLocal 6
#define VAL_partyLocal_true 1L
#define VAL_partyLocal_false 2L
#define LEAF_partyAuthProtocol 7
#define LEAF_partyAuthClock 8
#define LEAF_partyAuthPrivate 9
#define LEAF_partyAuthPublic 10
#define LEAF_partyAuthLifetime 11
#define MIN_partyAuthLifetime 0L
#define MAX_partyAuthLifetime 2147483647L
#define LEAF_partyPrivProtocol 12
#define LEAF_partyPrivPrivate 13
#define LEAF_partyPrivPublic 14
#define LEAF_partyCloneFrom 15
#define LEAF_partyStorageType 16
#define VAL_partyStorageType_other 1L
#define VAL_partyStorageType_volatile 2L
#define VAL_partyStorageType_nonVolatile 3L
#define VAL_partyStorageType_permanent 4L
#define LEAF_partyStatus 17
#define VAL_partyStatus_active 1L
#define VAL_partyStatus_notInService 2L
#define VAL_partyStatus_notReady 3L
#define VAL_partyStatus_createAndGo 4L
#define VAL_partyStatus_createAndWait 5L
#define VAL_partyStatus_destroy 6L
#define LEAF_contextIdentity 1
#define LEAF_contextIndex 2
#define MIN_contextIndex 1L
#define MAX_contextIndex 65535L
#define LEAF_contextLocal 3
#define VAL_contextLocal_true 1L
#define VAL_contextLocal_false 2L
#define LEAF_contextViewIndex 4
#define MIN_contextViewIndex 0L
#define MAX_contextViewIndex 65535L
#define LEAF_contextLocalEntity 5
#define LEAF_contextLocalTime 6
#define LEAF_contextProxyDstParty 7
#define LEAF_contextProxySrcParty 8
#define LEAF_contextProxyContext 9
#define LEAF_contextStorageType 10
#define VAL_contextStorageType_other 1L
#define VAL_contextStorageType_volatile 2L
#define VAL_contextStorageType_nonVolatile 3L
#define VAL_contextStorageType_permanent 4L
#define LEAF_contextStatus 11
#define VAL_contextStatus_active 1L
#define VAL_contextStatus_notInService 2L
#define VAL_contextStatus_notReady 3L
#define VAL_contextStatus_createAndGo 4L
#define VAL_contextStatus_createAndWait 5L
#define VAL_contextStatus_destroy 6L
#define LEAF_aclTarget 1
#define MIN_aclTarget 1L
#define MAX_aclTarget 65535L
#define LEAF_aclSubject 2
#define MIN_aclSubject 1L
#define MAX_aclSubject 65535L
#define LEAF_aclResources 3
#define MIN_aclResources 1L
#define MAX_aclResources 65535L
#define LEAF_aclPrivileges 4
#define MIN_aclPrivileges 0L
#define MAX_aclPrivileges 255L
#define LEAF_aclStorageType 5
#define VAL_aclStorageType_other 1L
#define VAL_aclStorageType_volatile 2L
#define VAL_aclStorageType_nonVolatile 3L
#define VAL_aclStorageType_permanent 4L
#define LEAF_aclStatus 6
#define VAL_aclStatus_active 1L
#define VAL_aclStatus_notInService 2L
#define VAL_aclStatus_notReady 3L
#define VAL_aclStatus_createAndGo 4L
#define VAL_aclStatus_createAndWait 5L
#define VAL_aclStatus_destroy 6L
#define LEAF_viewIndex 1
#define MIN_viewIndex 1L
#define MAX_viewIndex 65535L
#define LEAF_viewSubtree 2
#define LEAF_viewMask 3
#define MINSIZE_viewMask 0L
#define MAXSIZE_viewMask 16L
#define LEAF_viewType 4
#define VAL_viewType_included 1L
#define VAL_viewType_excluded 2L
#define LEAF_viewStorageType 5
#define VAL_viewStorageType_other 1L
#define VAL_viewStorageType_volatile 2L
#define VAL_viewStorageType_nonVolatile 3L
#define VAL_viewStorageType_permanent 4L
#define LEAF_viewStatus 6
#define VAL_viewStatus_active 1L
#define VAL_viewStatus_notInService 2L
#define VAL_viewStatus_notReady 3L
#define VAL_viewStatus_createAndGo 4L
#define VAL_viewStatus_createAndWait 5L
#define VAL_viewStatus_destroy 6L
#define LEAF_snmpEngineID 1
#define MINSIZE_snmpEngineID 5L
#define MAXSIZE_snmpEngineID 32L
#define LEAF_snmpEngineBoots 2
#define MIN_snmpEngineBoots 1L
#define MAX_snmpEngineBoots 2147483647L
#define LEAF_snmpEngineTime 3
#define MIN_snmpEngineTime 0L
#define MAX_snmpEngineTime 2147483647L
#define LEAF_snmpEngineMaxMessageSize 4
#define MIN_snmpEngineMaxMessageSize 484L
#define MAX_snmpEngineMaxMessageSize 2147483647L
+170
View File
@@ -0,0 +1,170 @@
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.2.
**** This file was generated using the -mib.c switch.
****
**** This file contains a representation of a MIB tree suitable
**** for use by an SNMP agent running Wind River's WindManage SNMP package.
****
**** DO NOT EDIT THIS FILE BY HAND.
****
**** Last build date: Fri Apr 02 13:08:26 2010
**** from files:
****
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1213.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1907.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc1573a.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc2863.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/IANARtProto.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4001.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4022.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4113.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4293.mib,
**** D:/WindRivervx681released/vxworks-6.8/target/src/wrn/wm/snmp/std-mibs/rfc4292.mib,
**** D:/WindRivervx681released/components/ip_net2-6.8/wrsnmp/src/ipnet.ctl
**** starting from node: udp
******************************************************************************
******************************************************************************
*/
#define _MIB 1
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmpstat.h>
#include "ip_mibhand.h"
#include <ipnet_h.h>
#ifndef STATIC
#define STATIC static
#endif
/**
** Subtree Object Identifier for Add_Node_From_Root
** udp OBJECT IDENTIFIER ::= { mib-2 7 }
**/
STATIC OIDC_T oid_udp_root_node[] = { 1, 3, 6, 1, 2, 1, 7 };
OBJ_ID_T objid_udp_root_node = {
sizeof(oid_udp_root_node)/sizeof(OIDC_T),
oid_udp_root_node
};
LEAF_NT_ASYS( l_udpInDatagrams, REPLACEABLE, "udpInDatagrams", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
udp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_udpNoPorts, REPLACEABLE, "udpNoPorts", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
udp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_udpInErrors, REPLACEABLE, "udpInErrors", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
udp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_udpOutDatagrams, REPLACEABLE, "udpOutDatagrams", VT_COUNTER,
READ_ACCESS, SCALAR, null_test_async,
udp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_udpEndpointLocalAddressType[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_udpEndpointLocalAddressType = NODE_NT("udpEndpointLocalAddressType",
REPLACEABLE, a_udpEndpointLocalAddressType);
STATIC
MIBARC_T a_udpEndpointLocalAddress[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_udpEndpointLocalAddress = NODE_NT("udpEndpointLocalAddress",
REPLACEABLE, a_udpEndpointLocalAddress);
STATIC
MIBARC_T a_udpEndpointLocalPort[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_udpEndpointLocalPort = NODE_NT("udpEndpointLocalPort",
REPLACEABLE, a_udpEndpointLocalPort);
STATIC
MIBARC_T a_udpEndpointRemoteAddressType[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_udpEndpointRemoteAddressType = NODE_NT("udpEndpointRemoteAddressType",
REPLACEABLE, a_udpEndpointRemoteAddressType);
STATIC
MIBARC_T a_udpEndpointRemoteAddress[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_udpEndpointRemoteAddress = NODE_NT("udpEndpointRemoteAddress",
REPLACEABLE, a_udpEndpointRemoteAddress);
STATIC
MIBARC_T a_udpEndpointRemotePort[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_udpEndpointRemotePort = NODE_NT("udpEndpointRemotePort",
REPLACEABLE, a_udpEndpointRemotePort);
STATIC
MIBARC_T a_udpEndpointInstance[] = {
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_udpEndpointInstance = NODE_NT("udpEndpointInstance",
REPLACEABLE, a_udpEndpointInstance);
LEAF_NT_ASYS( l_udpEndpointProcess, REPLACEABLE, "udpEndpointProcess", VT_GAUGE,
READ_ACCESS, TABULAR, null_test_async,
udpEndpointEntry_get, null_set_async, udpEndpointEntry_next,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_udpEndpointEntry[] = {
ARC(1, n_udpEndpointLocalAddressType),
ARC(2, n_udpEndpointLocalAddress),
ARC(3, n_udpEndpointLocalPort),
ARC(4, n_udpEndpointRemoteAddressType),
ARC(5, n_udpEndpointRemoteAddress),
ARC(6, n_udpEndpointRemotePort),
ARC(7, n_udpEndpointInstance),
ARC(8, l_udpEndpointProcess),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_udpEndpointEntry = NODE_NT("udpEndpointEntry",
REPLACEABLE, a_udpEndpointEntry);
STATIC
MIBARC_T a_udpEndpointTable[] = {
ARC(1, n_udpEndpointEntry),
END_OF_ARC_LIST };
STATIC
MIBNODE_T n_udpEndpointTable = NODE_NT("udpEndpointTable",
REPLACEABLE, a_udpEndpointTable);
LEAF_NT_ASYS( l_udpHCInDatagrams, REPLACEABLE, "udpHCInDatagrams", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
udp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
LEAF_NT_ASYS( l_udpHCOutDatagrams, REPLACEABLE, "udpHCOutDatagrams", VT_COUNTER64,
READ_ACCESS, SCALAR, null_test_async,
udp_get, null_set_async, std_next_async,
((char *)0),
0x0000, 0xFF, 0xFF);
STATIC
MIBARC_T a_udp[] = {
ARC(1, l_udpInDatagrams),
ARC(2, l_udpNoPorts),
ARC(3, l_udpInErrors),
ARC(4, l_udpOutDatagrams),
ARC(7, n_udpEndpointTable),
ARC(8, l_udpHCInDatagrams),
ARC(9, l_udpHCOutDatagrams),
END_OF_ARC_LIST };
MIBNODE_T udp_root_node = NODE_NT("udp",
REPLACEABLE, a_udp);
+526
View File
@@ -0,0 +1,526 @@
/*
* Copyright 2008 Wind River Systems, Inc.
* All rights reserved. Provided under license only.
* Distribution or other use of this software is only
* permitted pursuant to the terms of a license agreement
* from Wind River Systems (and is otherwise prohibited).
* Refer to that license agreement for terms of use.
*/
/* udp_mth.c - method routines for the udp group */
/*
modification history
--------------------
01h,20oct08,y_t fix for access udptable timeout
01g,26may08,y_t update for the ipnet
01f,02may07,mdk merge from spr-dev for spin45A
01e,03oct06,jbl fix padded instances in udpEndpointTable
01d,19sep06,jbl clear up build warnings and errors
01c,18sep06,jbl fix udpEndpointTable
01b,11sep06,jbl IPv6 switchability
01a,07sep06,jbl fix htonl() references
*/
#include "ip_mth.h"
#include "ip_mibhand.h"
#include "ip_mibleaf.h"
#include <wrn/wm/snmp/engine/asn1conf.h>
#include <wrn/wm/snmp/engine/asn1.h>
#include <wrn/wm/snmp/engine/buffer.h>
#include <wrn/wm/snmp/engine/mib.h>
#include <wrn/wm/snmp/engine/localio.h>
#include <wrn/wm/snmp/engine/snmpdefs.h>
#include <wrn/wm/snmp/engine/snmp.h>
#include <wrn/wm/snmp/engine/auxfuncs.h>
#include <ipnet_config.h>
#include <ipcom_mib2_api.h>
#include <ipnet_ctrl.h>
#include <ipcom_route.h>
#include <ipcom_clib.h>
/**************************************************************************
* Defines
**************************************************************************/
#define ipVersion_unknown 0
#define ipVersion_ipv4 1
#define ipVersion_ipv6 2
#define ipVersion_ipv4z 3
#define ipVersion_ipv6z 4
/**************************************************************************
* Local structures
**************************************************************************/
typedef struct
{
int tcount;
OIDC_T * tlist;
Ipcom_mib2_UdpEndpointEntry * dataPtr;
boolean_t getnext; /* FALSE = getexact */
} udpEndpointEntry_cookie_t;
typedef struct
{
int tcount;
OIDC_T * tlist;
Ipcom_mib2_IcmpMsgStatsEntry * dataPtr;
boolean_t getnext; /* FALSE = getexact */
} icmpMsgStatsEntry_cookie_t;
typedef struct
{
Ipcom_mib2_udp_group udpGroup;
} udp_data_t;
/*
* Method routines for the udpEndpointTable:
*
* udpEndpointLocalAddressType -- not-accessible
* The address type of udpEndpointLocalAddress. Only
* IPv4, IPv4z, IPv6, and IPv6z addresses are expected, or
* unknown(0) if datagrams for all local IP addresses are
* accepted.
*
* udpEndpointLocalAddress -- not-accessible
* The local IP address for this UDP endpoint.
*
* The value of this object can be represented in three
* possible ways, depending on the characteristics of the
* listening application:
*
* 1. For an application that is willing to accept both
* IPv4 and IPv6 datagrams, the value of this object
* must be ''h (a zero-length octet-string), with
* the value of the corresponding instance of the
* udpEndpointLocalAddressType object being unknown(0).
*
* 2. For an application that is willing to accept only IPv4
* or only IPv6 datagrams, the value of this object
* must be '0.0.0.0' or '::', respectively, while the
* corresponding instance of the
* udpEndpointLocalAddressType object represents the
* appropriate address type.
*
* 3. For an application that is listening for data
* destined only to a specific IP address, the value
* of this object is the specific IP address for which
* this node is receiving packets, with the
* corresponding instance of the
* udpEndpointLocalAddressType object representing the
* appropriate address type.
*
* As this object is used in the index for the
* udpEndpointTable, implementors of this table should be
* careful not to create entries that would result in OIDs
* with more than 128 subidentifiers; else the information
* cannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.
*
* udpEndpointLocalPort -- not-accessible
* The local port number for this UDP endpoint.
*
* udpEndpointRemoteAddressType -- not-accessible
* The address type of udpEndpointRemoteAddress. Only
* IPv4, IPv4z, IPv6, and IPv6z addresses are expected, or
* unknown(0) if datagrams for all remote IP addresses are
* accepted. Also, note that some combinations of
* udpEndpointLocalAdressType and
* udpEndpointRemoteAddressType are not supported. In
* particular, if the value of this object is not
* unknown(0), it is expected to always refer to the
* same IP version as udpEndpointLocalAddressType.
*
* udpEndpointRemoteAddress -- not-accessible
* The remote IP address for this UDP endpoint. If
* datagrams from any remote system are to be accepted,
* this value is ''h (a zero-length octet-string).
* Otherwise, it has the type described by
* udpEndpointRemoteAddressType and is the address of the
* remote system from which datagrams are to be accepted
* (or to which all datagrams will be sent).
*
* As this object is used in the index for the
* udpEndpointTable, implementors of this table should be
* careful not to create entries that would result in OIDs
* with more than 128 subidentifiers; else the information
* cannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.
*
* udpEndpointRemotePort -- not-accessible
* The remote port number for this UDP endpoint. If
* datagrams from any remote system are to be accepted,
* this value is zero.
*
* udpEndpointInstance -- not-accessible
* The instance of this tuple. This object is used to
* distinguish among multiple processes 'connected' to
* the same UDP endpoint. For example, on a system
* implementing the BSD sockets interface, this would be
* used to support the SO_REUSEADDR and SO_REUSEPORT
* socket options.
*
* udpEndpointProcess -- read-only
* The system's process ID for the process associated with
* this endpoint, or zero if there is no such process.
* This value is expected to be the same as
* HOST-RESOURCES-MIB::hrSWRunIndex or SYSAPPL-MIB::
* sysApplElmtRunIndex for some row in the appropriate
* tables.
*/
static int udpEndpointEntry_get_value
(
OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
Ipcom_mib2_UdpEndpointEntry *data)
{
switch (lastmatch) {
case LEAF_udpEndpointProcess:
getproc_got_uint32 (pktp, vbp, data->udpEndpointProcess, VT_GAUGE);
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
#define udpEndpointEntry_INSTANCE_LEN 47
static unsigned udpEndpointEntry_build_instance
(
Ipcom_mib2_UdpEndpointEntry *data,
OIDC_T *instance)
{
int i = 0;
int j = 0;
instance [0] = data->udpEndpointLocalAddressType;
switch (instance[0])
{
case ipVersion_unknown:
instance[1] = 0;
break;
case ipVersion_ipv4:
instance[1] = 4;
break;
case ipVersion_ipv4z:
instance[1] = 8;
break;
case ipVersion_ipv6:
instance[1] = 16;
break;
case ipVersion_ipv6z:
instance[1] = 20;
break;
default:
instance[1] = 0;
break;
}
for (i = 0; i < instance[1]; i++)
{
instance[2 + i] = data->udpEndpointLocalAddress[i];
}
j = instance[1] + 2;
instance[j] = data->udpEndpointLocalPort;
instance[j+1] = data->udpEndpointRemoteAddressType;
switch (instance[j+1])
{
case ipVersion_unknown:
instance[j+2] = 0;
break;
case ipVersion_ipv4:
instance[j+2] = 4;
break;
case ipVersion_ipv4z:
instance[j+2] = 8;
break;
case ipVersion_ipv6:
instance[j+2] = 16;
break;
case ipVersion_ipv6z:
instance[j+2] = 20;
break;
}
for (i = 0; i < instance[j+2]; i++)
{
instance[j+3+i] = data->udpEndpointRemoteAddress[i];
}
instance[j + 2 + instance[j + 2] + 1] = data->udpEndpointRemotePort;
instance[j + 2 + instance[j + 2] + 2] = data->udpEndpointInstance;
return (j + 2 + instance[j + 2] + 3);
}
static int
udpEndpointEntry_callback
(
Ipcom_mib2_UdpEndpointEntry *entry,
void *user)
{
udpEndpointEntry_cookie_t * cookie = (udpEndpointEntry_cookie_t *)user;
boolean_t stopIterating = FALSE;
boolean_t saveData = FALSE;
OIDC_T instance [udpEndpointEntry_INSTANCE_LEN];
unsigned instanceLen = 0;
int cmpval = 0;
instanceLen = udpEndpointEntry_build_instance (entry, instance);
cmpval = oidcmp2 (instanceLen, instance, cookie->tcount, cookie->tlist);
if (cookie->getnext)
{
if (cmpval > 0)
{
if (cookie->dataPtr == NULL)
saveData = TRUE;
else
{
OIDC_T prevInstance [udpEndpointEntry_INSTANCE_LEN];
unsigned prevInstanceLen = 0;
prevInstanceLen = udpEndpointEntry_build_instance (cookie->dataPtr,
prevInstance);
if (oidcmp2 (instanceLen, instance, prevInstanceLen, prevInstance) < 0)
saveData = TRUE;
}
}
}
else /* Get exact */
{
if (cmpval == 0)
{
saveData = TRUE;
stopIterating = TRUE;
}
}
if (saveData)
{
if (cookie->dataPtr == NULL)
cookie->dataPtr = SNMP_memory_alloc (sizeof (Ipcom_mib2_UdpEndpointEntry));
if (cookie->dataPtr != NULL)
memcpy (cookie->dataPtr, entry, sizeof (Ipcom_mib2_UdpEndpointEntry));
}
/* Return values defined are part of callback API. */
return (stopIterating? 1: 0);
}
static Ipcom_mib2_UdpEndpointEntry *
udpEndpointEntry_lookup
(
int tcount,
OIDC_T * tlist,
boolean_t getnext)
{
udpEndpointEntry_cookie_t cookie;
cookie.tcount = tcount;
cookie.tlist = tlist;
cookie.dataPtr = NULL;
cookie.getnext = getnext;
ipcom_mib2_iterate_udpEndpointTable (udpEndpointEntry_callback,
(void *)&cookie);
return (cookie.dataPtr);
}
void
udpEndpointEntry_get (OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp)
{
Ipcom_mib2_UdpEndpointEntry *data;
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance (pktp, vbp, tcount, tlist);
if ((data = udpEndpointEntry_lookup (tcount, tlist, FALSE)) == NULL)
{
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins (pktp, vbp);
}
else
{
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link)
{
if ((error = udpEndpointEntry_get_value (vbp->vb_ml.ml_last_match, pktp, vbp, data)) != NO_ERROR)
getproc_error (pktp, vbp, error);
}
SNMP_memory_free (data);
}
}
void udpEndpointEntry_next
(
OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp
)
{
Ipcom_mib2_UdpEndpointEntry * data;
OIDC_T best_inst [udpEndpointEntry_INSTANCE_LEN];
int error;
unsigned best_inst_len;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance (pktp, vbp, tcount, tlist);
if ((data = udpEndpointEntry_lookup (tcount, tlist, TRUE)) != NULL)
{
best_inst_len = udpEndpointEntry_build_instance (data, best_inst);
/* we found a next so get the values and set the instance for all
* the varbinds for this row of this table. */
for ( ; vbp ; vbp = vbp->vb_link)
{
if ((error = udpEndpointEntry_get_value (vbp->vb_ml.ml_last_match, pktp, vbp, data)) == NO_ERROR)
nextproc_next_instance (pktp, vbp, best_inst_len, best_inst);
else
nextproc_error (pktp, vbp, error);
}
SNMP_memory_free (data);
}
else /* there's no more in this table */
{
for ( ; vbp ; vbp = vbp->vb_link )
nextproc_no_next (pktp, vbp);
}
}
/*
* Method routines for the udp variables:
*
* udpInDatagrams -- read-only
* The total number of UDP datagrams delivered to
* UDP users.
*
* udpNoPorts -- read-only
* The total number of received UDP datagrams for
* which there was no application at the destination
* port.
*
* udpInErrors -- read-only
* The number of received UDP datagrams that could
* not be delivered for reasons other than the lack
* of an application at the destination port.
*
* udpOutDatagrams -- read-only
* The total number of UDP datagrams sent from this
* entity.
*/
/* An internal routine to retrieve the values of the variables, used
* by the method routines udp_get and udp_next.
*/
static int udp_get_value
(
OIDC_T lastmatch,
SNMP_PKT_T *pktp,
VB_T *vbp,
udp_data_t *data
)
{
switch(lastmatch)
{
case LEAF_udpInDatagrams:
getproc_got_uint32(pktp, vbp, data->udpGroup.udpInDatagrams,
VT_COUNTER);
break;
case LEAF_udpNoPorts:
getproc_got_uint32(pktp, vbp, data->udpGroup.udpNoPorts, VT_COUNTER);
break;
case LEAF_udpInErrors:
getproc_got_uint32(pktp, vbp, data->udpGroup.udpInErrors, VT_COUNTER);
break;
case LEAF_udpOutDatagrams:
getproc_got_uint32(pktp, vbp, data->udpGroup.udpOutDatagrams,
VT_COUNTER);
break;
case LEAF_udpHCInDatagrams:
getproc_got_uint32(pktp, vbp, (UINT_32_T)data->udpGroup.udpHCInDatagrams,
VT_COUNTER64);
break;
case LEAF_udpHCOutDatagrams:
getproc_got_uint32(pktp, vbp, (UINT_32_T)data->udpGroup.udpHCOutDatagrams,
VT_COUNTER64);
break;
default:
return GEN_ERR;
}
return NO_ERROR;
}
static int
udp_lookup (udp_data_t * dataP)
{
int retVal = 0;
retVal |= ipcom_mib2_get_udp_group(&(dataP->udpGroup));
return retVal;
}
void udp_get
(
OIDC_T lastmatch,
int tcount,
OIDC_T *tlist,
SNMP_PKT_T *pktp,
VB_T *vbp
)
{
udp_data_t data;
int error;
/* find all the varbinds that share the same getproc and instance */
group_by_getproc_and_instance (pktp, vbp, tcount, tlist);
/* check that the instance is exactly .0 */
if (!((tcount == 1) && (*tlist == 0)))
{
for ( ; vbp; vbp = vbp->vb_link)
getproc_nosuchins(pktp, vbp);
}
else if (udp_lookup(&data) != 0)
{
for ( ; vbp; vbp = vbp->vb_link)
getproc_error(pktp, vbp, GEN_ERR);
}
else
{
/* retrieve all the values from the same data structure */
for ( ; vbp; vbp = vbp->vb_link)
{
if ((error = udp_get_value (vbp->vb_ml.ml_last_match, pktp, vbp, &data)) != NO_ERROR)
getproc_error(pktp, vbp, error);
}
}
}
@@ -0,0 +1,61 @@
/*
* Copyright 2006-2007 Wind River Systems, Inc.
* All rights reserved. Provided under license only.
* Distribution or other use of this software is only
* permitted pursuant to the terms of a license agreement
* from Wind River Systems (and is otherwise prohibited).
* Refer to that license agreement for terms of use.
*/
/* udp_mth.h - leaf information for the UDP group */
/*
modification history
--------------------
*/
/******************************************************************************
******************************************************************************
**** This file was automatically generated by Wind River's
**** MIB Compiler, version 10.0.
**** This file was generated using the -leaf switch.
****
**** This file #defines C preprocessor macros providing a variety of
**** information for the leaf objects in the MIB.
****
*/
#define LEAF_udpInDatagrams 1
#define LEAF_udpNoPorts 2
#define LEAF_udpInErrors 3
#define LEAF_udpOutDatagrams 4
#define LEAF_udpEndpointLocalAddressType 1
#define VAL_udpEndpointLocalAddressType_unknown 0L
#define VAL_udpEndpointLocalAddressType_ipv4 1L
#define VAL_udpEndpointLocalAddressType_ipv6 2L
#define VAL_udpEndpointLocalAddressType_ipv4z 3L
#define VAL_udpEndpointLocalAddressType_ipv6z 4L
#define VAL_udpEndpointLocalAddressType_dns 16L
#define LEAF_udpEndpointLocalAddress 2
#define MINSIZE_udpEndpointLocalAddress 0L
#define MAXSIZE_udpEndpointLocalAddress 255L
#define LEAF_udpEndpointLocalPort 3
#define MIN_udpEndpointLocalPort 0L
#define MAX_udpEndpointLocalPort 65535L
#define LEAF_udpEndpointRemoteAddressType 4
#define VAL_udpEndpointRemoteAddressType_unknown 0L
#define VAL_udpEndpointRemoteAddressType_ipv4 1L
#define VAL_udpEndpointRemoteAddressType_ipv6 2L
#define VAL_udpEndpointRemoteAddressType_ipv4z 3L
#define VAL_udpEndpointRemoteAddressType_ipv6z 4L
#define VAL_udpEndpointRemoteAddressType_dns 16L
#define LEAF_udpEndpointRemoteAddress 5
#define MINSIZE_udpEndpointRemoteAddress 0L
#define MAXSIZE_udpEndpointRemoteAddress 255L
#define LEAF_udpEndpointRemotePort 6
#define MIN_udpEndpointRemotePort 0L
#define MAX_udpEndpointRemotePort 65535L
#define LEAF_udpEndpointInstance 7
#define MIN_udpEndpointInstance 1L
#define MAX_udpEndpointInstance 4294967295L
#define LEAF_udpEndpointProcess 8