阅读:1867回复:0
大虾快来!!
我在
“Linux localhost 2.4.16-f3000v2 #9 SMP Tue Oct 8 17:31:09 HKT 2002 i686 unknown” 中安装了“ucd-snmp-4.2.2” 然后我根据 http://www.china-pub.com/computers/emook/1100/info.htm 来 add mib 但是我的mib2c产生的 ustScalarSet.h和ustScalarSet.c 不知为什么??产生的两个文件都很古怪!!???? 请大虾帮忙!! 两个文件如下: ustScalarSet.h /* This file was generated by mib2c and is intended for use as a mib module for the ucd-snmp snmpd agent. */ #ifndef _MIBGROUP_USTSCALARSET_H #define _MIBGROUP_USTSCALARSET_H /* we may use header_generic and header_simple_table from the util_funcs module */ config_require(util_funcs) /* function prototypes */ void init_ustScalarSet(void); FindVarMethod var_ustScalarSet; FindVarMethod var_sysORTable; FindVarMethod var_ifTable; FindVarMethod var_atTable; FindVarMethod var_ipAddrTable; FindVarMethod var_ipRouteTable; FindVarMethod var_ipNetToMediaTable; FindVarMethod var_tcpConnTable; FindVarMethod var_udpTable; FindVarMethod var_egpNeighTable; FindVarMethod var_ifXTable; FindVarMethod var_ifStackTable; FindVarMethod var_ifTestTable; FindVarMethod var_ifRcvAddressTable; WriteMethod write_sysContact; WriteMethod write_sysName; WriteMethod write_sysLocation; WriteMethod write_ifAdminStatus; WriteMethod write_atIfIndex; WriteMethod write_atPhysAddress; WriteMethod write_atNetAddress; WriteMethod write_ipForwarding; WriteMethod write_ipDefaultTTL; WriteMethod write_ipRouteDest; WriteMethod write_ipRouteIfIndex; WriteMethod write_ipRouteMetric1; WriteMethod write_ipRouteMetric2; WriteMethod write_ipRouteMetric3; WriteMethod write_ipRouteMetric4; WriteMethod write_ipRouteNextHop; WriteMethod write_ipRouteType; WriteMethod write_ipRouteAge; WriteMethod write_ipRouteMask; WriteMethod write_ipRouteMetric5; WriteMethod write_ipNetToMediaIfIndex; WriteMethod write_ipNetToMediaPhysAddress; WriteMethod write_ipNetToMediaNetAddress; WriteMethod write_ipNetToMediaType; WriteMethod write_tcpConnState; WriteMethod write_egpNeighEventTrigger; WriteMethod write_snmpEnableAuthenTraps; WriteMethod write_ifLinkUpDownTrapEnable; WriteMethod write_ifPromiscuousMode; WriteMethod write_ifAlias; WriteMethod write_ifStackStatus; WriteMethod write_ifTestId; WriteMethod write_ifTestStatus; WriteMethod write_ifTestType; WriteMethod write_ifTestOwner; WriteMethod write_ifRcvAddressStatus; WriteMethod write_ifRcvAddressType; #endif /* _MIBGROUP_USTSCALARSET_H */ *********************************************************************************************************************************************************************************************** ustScalarSet.c(在附件中) |
|
最新喜欢:okincn
|