]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - doc/html/ref/net-snmp-clients-and-package-use.html
RedBoot TX53 Release 2012-02-15
[karo-tx-redboot.git] / doc / html / ref / net-snmp-clients-and-package-use.html
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.               -->
9 <HTML
10 ><HEAD
11 ><TITLE
12 >SNMP clients and package use</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
14 <META
15 NAME="GENERATOR"
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17 "><LINK
18 REL="HOME"
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
21 REL="UP"
22 TITLE="SNMP for eCos"
23 HREF="net-snmp-ecos-port.html"><LINK
24 REL="PREVIOUS"
25 TITLE="Test cases"
26 HREF="net-snmp-test-cases.html"><LINK
27 REL="NEXT"
28 TITLE="Unimplemented features"
29 HREF="net-snmp-unimplemented-features.html"></HEAD
30 ><BODY
31 CLASS="SECT1"
32 BGCOLOR="#FFFFFF"
33 TEXT="#000000"
34 LINK="#0000FF"
35 VLINK="#840084"
36 ALINK="#0000FF"
37 ><DIV
38 CLASS="NAVHEADER"
39 ><TABLE
40 SUMMARY="Header navigation table"
41 WIDTH="100%"
42 BORDER="0"
43 CELLPADDING="0"
44 CELLSPACING="0"
45 ><TR
46 ><TH
47 COLSPAN="3"
48 ALIGN="center"
49 >eCos Reference Manual</TH
50 ></TR
51 ><TR
52 ><TD
53 WIDTH="10%"
54 ALIGN="left"
55 VALIGN="bottom"
56 ><A
57 HREF="net-snmp-test-cases.html"
58 ACCESSKEY="P"
59 >Prev</A
60 ></TD
61 ><TD
62 WIDTH="80%"
63 ALIGN="center"
64 VALIGN="bottom"
65 >Chapter 47. SNMP for <SPAN
66 CLASS="emphasis"
67 ><I
68 CLASS="EMPHASIS"
69 >eCos</I
70 ></SPAN
71 ></TD
72 ><TD
73 WIDTH="10%"
74 ALIGN="right"
75 VALIGN="bottom"
76 ><A
77 HREF="net-snmp-unimplemented-features.html"
78 ACCESSKEY="N"
79 >Next</A
80 ></TD
81 ></TR
82 ></TABLE
83 ><HR
84 ALIGN="LEFT"
85 WIDTH="100%"></DIV
86 ><DIV
87 CLASS="SECT1"
88 ><H1
89 CLASS="SECT1"
90 ><A
91 NAME="NET-SNMP-CLIENTS-AND-PACKAGE-USE">SNMP clients and package use</H1
92 ><P
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
99 ><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
106 ><P
107 >Therefore, add all of these to your compile lines if you wish
108 to include SNMP header files:</P
109 ><TABLE
110 BORDER="5"
111 BGCOLOR="#E0E0F0"
112 WIDTH="70%"
113 ><TR
114 ><TD
115 ><PRE
116 CLASS="PROGRAMLISTING"
117 >-D_KERNEL 
118 -D__ECOS        
119 -DIN_UCD_SNMP_SOURCE=1          
120 -I&#0036;(PREFIX)/include/ucd-snmp</PRE
121 ></TD
122 ></TR
123 ></TABLE
124 ></DIV
125 ><DIV
126 CLASS="NAVFOOTER"
127 ><HR
128 ALIGN="LEFT"
129 WIDTH="100%"><TABLE
130 SUMMARY="Footer navigation table"
131 WIDTH="100%"
132 BORDER="0"
133 CELLPADDING="0"
134 CELLSPACING="0"
135 ><TR
136 ><TD
137 WIDTH="33%"
138 ALIGN="left"
139 VALIGN="top"
140 ><A
141 HREF="net-snmp-test-cases.html"
142 ACCESSKEY="P"
143 >Prev</A
144 ></TD
145 ><TD
146 WIDTH="34%"
147 ALIGN="center"
148 VALIGN="top"
149 ><A
150 HREF="ecos-ref.html"
151 ACCESSKEY="H"
152 >Home</A
153 ></TD
154 ><TD
155 WIDTH="33%"
156 ALIGN="right"
157 VALIGN="top"
158 ><A
159 HREF="net-snmp-unimplemented-features.html"
160 ACCESSKEY="N"
161 >Next</A
162 ></TD
163 ></TR
164 ><TR
165 ><TD
166 WIDTH="33%"
167 ALIGN="left"
168 VALIGN="top"
169 >Test cases</TD
170 ><TD
171 WIDTH="34%"
172 ALIGN="center"
173 VALIGN="top"
174 ><A
175 HREF="net-snmp-ecos-port.html"
176 ACCESSKEY="U"
177 >Up</A
178 ></TD
179 ><TD
180 WIDTH="33%"
181 ALIGN="right"
182 VALIGN="top"
183 >Unimplemented features</TD
184 ></TR
185 ></TABLE
186 ></DIV
187 ></BODY
188 ></HTML
189 >