<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- This material may be distributed only subject to the terms -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- or later (the latest version is presently available at -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- http://www.opencontent.org/openpub/). -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- Distribution of the work or derivative of the work in any -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- standard (paper) book form is prohibited unless prior -->
|
<!-- permission is obtained from the copyright holder. -->
|
<!-- permission is obtained from the copyright holder. -->
|
<HTML
|
<HTML
|
><HEAD
|
><HEAD
|
><TITLE
|
><TITLE
|
>Changes to eCos sources</TITLE
|
>Changes to eCos sources</TITLE
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
<META
|
<META
|
NAME="GENERATOR"
|
NAME="GENERATOR"
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
"><LINK
|
"><LINK
|
REL="HOME"
|
REL="HOME"
|
TITLE="eCos Reference Manual"
|
TITLE="eCos Reference Manual"
|
HREF="ecos-ref.html"><LINK
|
HREF="ecos-ref.html"><LINK
|
REL="UP"
|
REL="UP"
|
TITLE="SNMP for eCos"
|
TITLE="SNMP for eCos"
|
HREF="net-snmp-ecos-port.html"><LINK
|
HREF="net-snmp-ecos-port.html"><LINK
|
REL="PREVIOUS"
|
REL="PREVIOUS"
|
TITLE="MIBs supported"
|
TITLE="MIBs supported"
|
HREF="net-snmp-mibs-supported.html"><LINK
|
HREF="net-snmp-mibs-supported.html"><LINK
|
REL="NEXT"
|
REL="NEXT"
|
TITLE="Starting the SNMP Agent"
|
TITLE="Starting the SNMP Agent"
|
HREF="net-snmp-starting-the-snmp-agent.html"></HEAD
|
HREF="net-snmp-starting-the-snmp-agent.html"></HEAD
|
><BODY
|
><BODY
|
CLASS="SECT1"
|
CLASS="SECT1"
|
BGCOLOR="#FFFFFF"
|
BGCOLOR="#FFFFFF"
|
TEXT="#000000"
|
TEXT="#000000"
|
LINK="#0000FF"
|
LINK="#0000FF"
|
VLINK="#840084"
|
VLINK="#840084"
|
ALINK="#0000FF"
|
ALINK="#0000FF"
|
><DIV
|
><DIV
|
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
><TABLE
|
><TABLE
|
SUMMARY="Header navigation table"
|
SUMMARY="Header navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TH
|
><TH
|
COLSPAN="3"
|
COLSPAN="3"
|
ALIGN="center"
|
ALIGN="center"
|
>eCos Reference Manual</TH
|
>eCos Reference Manual</TH
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="net-snmp-mibs-supported.html"
|
HREF="net-snmp-mibs-supported.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="80%"
|
WIDTH="80%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
>Chapter 47. SNMP for <SPAN
|
>Chapter 47. SNMP for <SPAN
|
CLASS="emphasis"
|
CLASS="emphasis"
|
><I
|
><I
|
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
>eCos</I
|
>eCos</I
|
></SPAN
|
></SPAN
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="10%"
|
WIDTH="10%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="bottom"
|
VALIGN="bottom"
|
><A
|
><A
|
HREF="net-snmp-starting-the-snmp-agent.html"
|
HREF="net-snmp-starting-the-snmp-agent.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
><DIV
|
><DIV
|
CLASS="SECT1"
|
CLASS="SECT1"
|
><H1
|
><H1
|
CLASS="SECT1"
|
CLASS="SECT1"
|
><A
|
><A
|
NAME="NET-SNMP-ECOS-CHANGES">Changes to eCos sources</H1
|
NAME="NET-SNMP-ECOS-CHANGES">Changes to eCos sources</H1
|
><P
|
><P
|
>Small changes have been made in three areas:</P
|
>Small changes have been made in three areas:</P
|
><P
|
><P
|
></P
|
></P
|
><OL
|
><OL
|
TYPE="1"
|
TYPE="1"
|
><LI
|
><LI
|
><P
|
><P
|
>Various hardware-specific ethernet drivers.</P
|
>Various hardware-specific ethernet drivers.</P
|
></LI
|
></LI
|
><LI
|
><LI
|
><P
|
><P
|
>The generic ethernet device driver.</P
|
>The generic ethernet device driver.</P
|
></LI
|
></LI
|
><LI
|
><LI
|
><P
|
><P
|
>The OpenBSD TCP/IP networking package.</P
|
>The OpenBSD TCP/IP networking package.</P
|
></LI
|
></LI
|
></OL
|
></OL
|
><P
|
><P
|
>These changes were made in order to export information about the driver and
|
>These changes were made in order to export information about the driver and
|
the network that the SNMP agent must report. The changes were trivial in
|
the network that the SNMP agent must report. The changes were trivial in
|
the case of the network stack, since it was already SNMP-friendly. The
|
the case of the network stack, since it was already SNMP-friendly. The
|
generic ethernet device driver was re-organized to have an extensive header
|
generic ethernet device driver was re-organized to have an extensive header
|
file and to add a couple of APIs to extract statistics that the
|
file and to add a couple of APIs to extract statistics that the
|
hardware-specific device drivers keep within themselves.</P
|
hardware-specific device drivers keep within themselves.</P
|
><P
|
><P
|
>There may be a performance hit for recording that data; disabling
|
>There may be a performance hit for recording that data; disabling
|
a config option named something like
|
a config option named something like
|
<TT
|
<TT
|
CLASS="LITERAL"
|
CLASS="LITERAL"
|
>CYGDBG_DEVS_ETH_xxxx_xxxx_KEEP_STATISTICS</TT
|
>CYGDBG_DEVS_ETH_xxxx_xxxx_KEEP_STATISTICS</TT
|
>
|
>
|
depending on the specific device driver will prevent that.</P
|
depending on the specific device driver will prevent that.</P
|
><P
|
><P
|
>Not all platform ethernet device drivers export complete SNMP statistical
|
>Not all platform ethernet device drivers export complete SNMP statistical
|
information; if the exported information is missing, SNMP will report zero
|
information; if the exported information is missing, SNMP will report zero
|
values for such data (in the dot3 MIB).</P
|
values for such data (in the dot3 MIB).</P
|
><P
|
><P
|
>The interface chipset has an ID which is an OID; not all the latest greatest
|
>The interface chipset has an ID which is an OID; not all the latest greatest
|
devices are listed in the abailable database, so new chipsets may need to
|
devices are listed in the abailable database, so new chipsets may need to
|
be added to the client MIB, if not defined in those from UCD.</P
|
be added to the client MIB, if not defined in those from UCD.</P
|
></DIV
|
></DIV
|
><DIV
|
><DIV
|
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
><HR
|
><HR
|
ALIGN="LEFT"
|
ALIGN="LEFT"
|
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
SUMMARY="Footer navigation table"
|
SUMMARY="Footer navigation table"
|
WIDTH="100%"
|
WIDTH="100%"
|
BORDER="0"
|
BORDER="0"
|
CELLPADDING="0"
|
CELLPADDING="0"
|
CELLSPACING="0"
|
CELLSPACING="0"
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="net-snmp-mibs-supported.html"
|
HREF="net-snmp-mibs-supported.html"
|
ACCESSKEY="P"
|
ACCESSKEY="P"
|
>Prev</A
|
>Prev</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="ecos-ref.html"
|
HREF="ecos-ref.html"
|
ACCESSKEY="H"
|
ACCESSKEY="H"
|
>Home</A
|
>Home</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="net-snmp-starting-the-snmp-agent.html"
|
HREF="net-snmp-starting-the-snmp-agent.html"
|
ACCESSKEY="N"
|
ACCESSKEY="N"
|
>Next</A
|
>Next</A
|
></TD
|
></TD
|
></TR
|
></TR
|
><TR
|
><TR
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="left"
|
ALIGN="left"
|
VALIGN="top"
|
VALIGN="top"
|
>MIBs supported</TD
|
>MIBs supported</TD
|
><TD
|
><TD
|
WIDTH="34%"
|
WIDTH="34%"
|
ALIGN="center"
|
ALIGN="center"
|
VALIGN="top"
|
VALIGN="top"
|
><A
|
><A
|
HREF="net-snmp-ecos-port.html"
|
HREF="net-snmp-ecos-port.html"
|
ACCESSKEY="U"
|
ACCESSKEY="U"
|
>Up</A
|
>Up</A
|
></TD
|
></TD
|
><TD
|
><TD
|
WIDTH="33%"
|
WIDTH="33%"
|
ALIGN="right"
|
ALIGN="right"
|
VALIGN="top"
|
VALIGN="top"
|
>Starting the SNMP Agent</TD
|
>Starting the SNMP Agent</TD
|
></TR
|
></TR
|
></TABLE
|
></TABLE
|
></DIV
|
></DIV
|
></BODY
|
></BODY
|
></HTML
|
></HTML
|
|
|