275 lines
9.5 KiB
C
275 lines
9.5 KiB
C
/******************************************************************************
|
|
******************************************************************************
|
|
**** 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);
|
|
|