📄 net-snmp-ecos-changes.html
字号:
<!-- Copyright (C) 2003 Red Hat, Inc. --><!-- This material may be distributed only subject to the terms --><!-- and conditions set forth in the Open Publication License, v1.0 --><!-- or later (the latest version is presently available at --><!-- http://www.opencontent.org/openpub/). --><!-- Distribution of the work or derivative of the work in any --><!-- standard (paper) book form is prohibited unless prior --><!-- permission is obtained from the copyright holder. --><HTML><HEAD><TITLE>Changes to eCos sources</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos Reference Manual"HREF="ecos-ref.html"><LINKREL="UP"TITLE="SNMP for eCos"HREF="net-snmp-ecos-port.html"><LINKREL="PREVIOUS"TITLE="MIBs supported"HREF="net-snmp-mibs-supported.html"><LINKREL="NEXT"TITLE="Starting the SNMP Agent"HREF="net-snmp-starting-the-snmp-agent.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos Reference Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="net-snmp-mibs-supported.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 47. SNMP for <SPANCLASS="emphasis"><ICLASS="EMPHASIS">eCos</I></SPAN></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="net-snmp-starting-the-snmp-agent.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="NET-SNMP-ECOS-CHANGES">Changes to eCos sources</H1><P>Small changes have been made in three areas:</P><P></P><OLTYPE="1"><LI><P>Various hardware-specific ethernet drivers.</P></LI><LI><P>The generic ethernet device driver.</P></LI><LI><P>The OpenBSD TCP/IP networking package.</P></LI></OL><P>These changes were made in order to export information about the driver andthe network that the SNMP agent must report. The changes were trivial inthe case of the network stack, since it was already SNMP-friendly. Thegeneric ethernet device driver was re-organized to have an extensive headerfile and to add a couple of APIs to extract statistics that thehardware-specific device drivers keep within themselves.</P><P>There may be a performance hit for recording that data; disablinga config option named something like<TTCLASS="LITERAL">CYGDBG_DEVS_ETH_xxxx_xxxx_KEEP_STATISTICS</TT>depending on the specific device driver will prevent that.</P><P>Not all platform ethernet device drivers export complete SNMP statisticalinformation; if the exported information is missing, SNMP will report zerovalues for such data (in the dot3 MIB).</P><P>The interface chipset has an ID which is an OID; not all the latest greatestdevices are listed in the abailable database, so new chipsets may need tobe added to the client MIB, if not defined in those from UCD.</P></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="net-snmp-mibs-supported.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-ref.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="net-snmp-starting-the-snmp-agent.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">MIBs supported</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="net-snmp-ecos-port.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Starting the SNMP Agent</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -