source: networking/netlibs/libnl.xml@ f3429309

10.0 10.1 11.0 11.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since f3429309 was f3429309, checked in by Fernando de Oliveira <fernando@…>, 7 years ago
  • mupdf-1.8: minor reformat.
  • removing spaces from EOL, from Denis Mugnier.
  • BLFS/trunk/BOOK/kde/add/kdepim-runtime.xml: needed to fix to validate the book. One chunck had been removed. Bruce, please check if it is OK, now.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16645 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 11.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!-- <!ENTITY libnl-download-http
8 "http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-&libnl-version;.tar.gz">-->
9
10 <!ENTITY libnl-download-http
11"&fedora-http-repo;/libnl3/libnl-&libnl-version;.tar.gz/&libnl-md5sum;/libnl-&libnl-version;.tar.gz">
12 <!ENTITY libnl-download-ftp " ">
13 <!ENTITY libnl-md5sum "c8de31b74b1c15267b5ac2927b11125c">
14 <!ENTITY libnl-size "876 KB">
15 <!ENTITY libnl-buildsize "71 MB (including API documentation)">
16 <!ENTITY libnl-time "0.4 SBU">
17
18
19<!-- <!ENTITY libnl-doc-download-http "http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-doc-&libnl-version;.tar.gz">-->
20 <!ENTITY libnl-doc-download-http "&fedora-http-repo;/libnl3/libnl-doc-&libnl-version;.tar.gz/&libnl-doc-md5sum;/libnl-doc-&libnl-version;.tar.gz">
21 <!ENTITY libnl-doc-download-ftp " ">
22 <!ENTITY libnl-doc-md5sum "a356d3d91891d392f83a2171b83edcb2">
23 <!ENTITY libnl-doc-size "15 MB">
24]>
25
26<sect1 id="libnl" xreflabel="libnl-&libnl-version;">
27 <?dbhtml filename="libnl.html"?>
28
29 <sect1info>
30 <othername>$LastChangedBy$</othername>
31 <date>$Date$</date>
32 </sect1info>
33
34 <title>libnl-&libnl-version;</title>
35
36 <indexterm zone="libnl">
37 <primary sortas="a-libnl">libnl</primary>
38 </indexterm>
39
40 <sect2 role="package">
41 <title>Introduction to libnl</title>
42
43 <para>
44 The <application>libnl</application> suite is a collection of libraries
45 providing APIs to netlink protocol based Linux kernel interfaces.
46 </para>
47
48 &lfs78_checked;
49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>
54 Download (HTTP): <ulink url="&libnl-download-http;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download (FTP): <ulink url="&libnl-download-ftp;"/>
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download MD5 sum: &libnl-md5sum;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Download size: &libnl-size;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated disk space required: &libnl-buildsize;
75 </para>
76 </listitem>
77 <listitem>
78 <para>
79 Estimated build time: &libnl-time;
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">Optional Download</bridgehead>
85 <itemizedlist spacing="compact">
86 <listitem>
87 <para>
88 Download (HTTP): <ulink url="&libnl-doc-download-http;"/>
89 </para>
90 </listitem>
91 <listitem>
92 <para>
93 Download (FTP): <ulink url="&libnl-doc-download-ftp;"/>
94 </para>
95 </listitem>
96 <listitem>
97 <para>
98 Download MD5 sum: &libnl-doc-md5sum;
99 </para>
100 </listitem>
101 <listitem>
102 <para>
103 Download size: &libnl-doc-size;
104 </para>
105 </listitem>
106 </itemizedlist>
107
108 <bridgehead renderas="sect3">libnl Dependencies</bridgehead>
109
110 <bridgehead renderas="sect4">Optional</bridgehead>
111 <para role="optional">
112 <xref linkend="check"/> (for tests)
113 </para>
114
115 <para condition="html" role="usernotes">User Notes:
116 <ulink url="&blfs-wiki;/libnl"/>
117 </para>
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of libnl</title>
122
123 <para>
124 Install <application>libnl</application> by running the following
125 commands:
126 </para>
127
128<screen><userinput>./configure --prefix=/usr \
129 --sysconfdir=/etc \
130 --disable-static &amp;&amp;
131make</userinput></screen>
132
133 <para>
134 To test the results, issue: <command>make check</command>.
135 </para>
136
137 <para>
138 Now, as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>make install</userinput></screen>
142
143 <para>
144 If you wish to install the API documentation, as the
145 <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>mkdir -vp /usr/share/doc/libnl-&libnl-version; &amp;&amp;
149tar -xf ../libnl-doc-&libnl-version;.tar.gz --strip-components=1 --no-same-owner \
150 -C /usr/share/doc/libnl-&libnl-version;</userinput></screen>
151
152 </sect2>
153
154 <sect2 role="commands">
155 <title>Command Explanations</title>
156
157 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
158 href="../../xincludes/static-libraries.xml"/>
159
160 <para>
161 <option>--disable-cli</option>: Use this parameter if you
162 don't want to install cli tools provided by the package.
163 </para>
164
165 </sect2>
166
167 <sect2 role="content">
168 <title>Contents</title>
169
170 <segmentedlist>
171 <segtitle>Installed Programs</segtitle>
172 <segtitle>Installed Libraries</segtitle>
173 <segtitle>Installed Directories</segtitle>
174
175 <seglistitem>
176 <seg>
177 genl-ctrl-list,
178 idiag-socket-details,
179 nl-class-add,
180 nl-class-delete,
181 nl-classid-lookup,
182 nl-class-list,
183 nl-cls-add,
184 nl-cls-delete,
185 nl-cls-list,
186 nl-link-list,
187 nl-pktloc-lookup,
188 nl-qdisc-add,
189 nl-qdisc-delete,
190 nl-qdisc-list, and 32 other helper programs with nl- and nf- prefixes
191 </seg>
192 <seg>
193 libnl-3.so,
194 libnl-cli-3.so,
195 libnl-genl-3.so,
196 libnl-idiag-3.so,
197 libnl-nf-3.so,
198 libnl-route-3.so,
199 libnl-xfrm-3.so, and
200 cli modules under /usr/lib/libnl/cli tree
201 </seg>
202 <seg>
203 /etc/libnl,
204 /usr/include/libnl3,
205 /usr/lib/libnl, and
206 /usr/share/doc/libnl-&libnl-version;
207 </seg>
208 </seglistitem>
209 </segmentedlist>
210
211 <variablelist>
212 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
213 <?dbfo list-presentation="list"?>
214 <?dbhtml list-presentation="table"?>
215
216 <varlistentry id="genl-ctrl-list">
217 <term><command>genl-ctrl-list</command></term>
218 <listitem>
219 <para>
220 queries the Generic Netlink controller in kernel and prints
221 a list of all registered Generic Netlink families including
222 the version of the interface that has been registered.
223 </para>
224 <indexterm zone="libnl genl-ctrl-list">
225 <primary sortas="b-genl-ctrl-list">genl-ctrl-list</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="nl-class-add">
231 <term><command>nl-class-add</command></term>
232 <listitem>
233 <para>
234 add or update or replace Traffic Classes
235 </para>
236 <indexterm zone="libnl nl-class-add">
237 <primary sortas="b-nl-class-add">nl-class-add</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="nl-class-delete">
243 <term><command>nl-class-delete</command></term>
244 <listitem>
245 <para>
246 delete Traffic Classes
247 </para>
248 <indexterm zone="libnl nl-class-delete">
249 <primary sortas="b-nl-class-delete">nl-class-delete</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="nl-classid-lookup">
255 <term><command>nl-classid-lookup</command></term>
256 <listitem>
257 <para>
258 is used to resolve qdisc/class names to classid values and vice
259 versa.
260 </para>
261 <indexterm zone="libnl nl-classid-lookup">
262 <primary sortas="b-nl-classid-lookup">nl-classid-lookup</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="nl-class-list">
268 <term><command>nl-class-list</command></term>
269 <listitem>
270 <para>
271 list Traffic Classes.
272 </para>
273 <indexterm zone="libnl nl-class-list">
274 <primary sortas="b-nl-class-list">nl-class-list</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="nl-cls-add">
280 <term><command>nl-cls-add</command></term>
281 <listitem>
282 <para>
283 add a classifier.
284 </para>
285 <indexterm zone="libnl nl-cls-add">
286 <primary sortas="b-nl-cls-add">nl-cls-add</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="nl-cls-delete">
292 <term><command>nl-cls-delete</command></term>
293 <listitem>
294 <para>
295 delete a classifier.
296 </para>
297 <indexterm zone="libnl nl-cls-delete">
298 <primary sortas="b-nl-cls-delete">nl-cls-delete</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="nl-cls-list">
304 <term><command>nl-cls-list</command></term>
305 <listitem>
306 <para>
307 list classifiers.
308 </para>
309 <indexterm zone="libnl nl-cls-list">
310 <primary sortas="b-nl-cls-list">nl-cls-list</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="nl-link-list">
316 <term><command>nl-link-list</command></term>
317 <listitem>
318 <para>
319 dump link attributes.
320 </para>
321 <indexterm zone="libnl nl-link-list">
322 <primary sortas="b-nl-link-list">nl-link-list</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 <varlistentry id="nl-pktloc-lookup">
328 <term><command>nl-pktloc-lookup</command></term>
329 <listitem>
330 <para>
331 lookup packet location definitions.
332 </para>
333 <indexterm zone="libnl nl-pktloc-lookup">
334 <primary sortas="b-nl-pktloc-lookup">nl-pktloc-lookup</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
339 <varlistentry id="nl-qdisc-add">
340 <term><command>nl-qdisc-add</command></term>
341 <listitem>
342 <para>
343 add queueing disciplines (qdiscs) in the kernel.
344 </para>
345 <indexterm zone="libnl nl-qdisc-add">
346 <primary sortas="b-nl-qdisc-add">nl-qdisc-add</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="nl-qdisc-delete">
352 <term><command>nl-qdisc-delete</command></term>
353 <listitem>
354 <para>
355 delete queueing disciplines (qdiscs) in the kernel.
356 </para>
357 <indexterm zone="libnl nl-qdisc-delete">
358 <primary sortas="b-nl-qdisc-delete">nl-qdisc-delete</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="nl-qdisc-list">
364 <term><command>nl-qdisc-list</command></term>
365 <listitem>
366 <para>
367 list queueing disciplines (qdiscs) in the kernel.
368 </para>
369 <indexterm zone="libnl nl-qdisc-list">
370 <primary sortas="b-nl-qdisc-list">nl-qdisc-list</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="libnl-lib">
376 <term><filename class="libraryfile">libnl*-3.so</filename></term>
377 <listitem>
378 <para>
379 These libraries contain API functions used to access Netlink
380 interfaces in Linux kernel.
381 </para>
382 <indexterm zone="libnl libnl-lib">
383 <primary sortas="c-libnl">libnl*-3.so</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 </variablelist>
389
390 </sect2>
391
392</sect1>
Note: See TracBrowser for help on using the repository browser.