1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >SNMP clients and package use</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
23 HREF="net-snmp-ecos-port.html"><LINK
26 HREF="net-snmp-test-cases.html"><LINK
28 TITLE="Unimplemented features"
29 HREF="net-snmp-unimplemented-features.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="net-snmp-test-cases.html"
65 >Chapter 47. SNMP for <SPAN
77 HREF="net-snmp-unimplemented-features.html"
91 NAME="NET-SNMP-CLIENTS-AND-PACKAGE-USE">SNMP clients and package use</H1
93 >SNMP clients may use these packages, but this usage is currently
94 untested: the reason why this port to eCos exists is to acquire
95 the SNMP agent. The fact that that the SNMP API (for clients) exists
96 is a side-effect. See the standard man page SNMP_API(3)
97 for details. There are further caveats below about client-side
98 use of the SNMP library.</P
100 >All of the SNMP header files are installed beneath .../include/ucd-snmp
101 in the install tree. The SNMP code itself assumes that directory
102 is on its include path, so we recommend that client code does the
103 same. Further, like the TCP/IP stack, compiling SNMP code
104 requires definition of _KERNEL and __ECOS,
105 and additionally IN_UCD_SNMP_SOURCE.</P
107 >Therefore, add all of these to your compile lines if you wish
108 to include SNMP header files:</P
116 CLASS="PROGRAMLISTING"
119 -DIN_UCD_SNMP_SOURCE=1
120 -I$(PREFIX)/include/ucd-snmp</PRE
130 SUMMARY="Footer navigation table"
141 HREF="net-snmp-test-cases.html"
159 HREF="net-snmp-unimplemented-features.html"
175 HREF="net-snmp-ecos-port.html"
183 >Unimplemented features</TD