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 | <!ENTITY libnl-download-ftp " ">
|
---|
10 | <!ENTITY libnl-md5sum "6e0e7bad0674749d930dd9f285343d55">
|
---|
11 | <!ENTITY libnl-size "784 KB">
|
---|
12 | <!ENTITY libnl-buildsize "25 MB">
|
---|
13 | <!ENTITY libnl-time "0.3 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="libnl" xreflabel="libnl-&libnl-version;">
|
---|
17 | <?dbhtml filename="libnl.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>libnl-&libnl-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="libnl">
|
---|
27 | <primary sortas="a-libnl">libnl</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to libnl</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | The <application>libnl</application> suite is a collection of libraries
|
---|
35 | providing APIs to netlink protocol based Linux kernel interfaces.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs75_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&libnl-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&libnl-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &libnl-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &libnl-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &libnl-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &libnl-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">libnl Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
77 | <para role="optional">
|
---|
78 | <xref linkend="check"/> (for tests)
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <para condition="html" role="usernotes">User Notes:
|
---|
82 | <ulink url="&blfs-wiki;/libnl"/>
|
---|
83 | </para>
|
---|
84 | </sect2>
|
---|
85 |
|
---|
86 | <sect2 role="installation">
|
---|
87 | <title>Installation of libnl</title>
|
---|
88 |
|
---|
89 | <para>
|
---|
90 | Install <application>libnl</application> by running the following
|
---|
91 | commands:
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <screen><userinput>./configure --prefix=/usr \
|
---|
95 | --sysconfdir=/etc \
|
---|
96 | --disable-static &&
|
---|
97 | make</userinput></screen>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | To test the results, issue: <command>make check</command>.
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="commands">
|
---|
112 | <title>Command Explanations</title>
|
---|
113 |
|
---|
114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
115 | href="../../xincludes/static-libraries.xml"/>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | <option>--disable-cli</option>: Use this parameter if you
|
---|
119 | don't want to install cli tools provided by the package.
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="content">
|
---|
125 | <title>Contents</title>
|
---|
126 |
|
---|
127 | <segmentedlist>
|
---|
128 | <segtitle>Installed Programs</segtitle>
|
---|
129 | <segtitle>Installed Libraries</segtitle>
|
---|
130 | <segtitle>Installed Directories</segtitle>
|
---|
131 |
|
---|
132 | <seglistitem>
|
---|
133 | <seg>
|
---|
134 | genl-ctrl-list, nl-class-add, nl-class-delete, nl-classid-lookup,
|
---|
135 | nl-class-list, nl-cls-add, nl-cls-delete, nl-cls-list,
|
---|
136 | nl-link-list, nl-pktloc-lookup, nl-qdisc-add, nl-qdisc-delete, and
|
---|
137 | nl-qdisc-list
|
---|
138 | </seg>
|
---|
139 | <seg>
|
---|
140 | libnl-3.so,
|
---|
141 | libnl-cli-3.so,
|
---|
142 | libnl-genl-3.so,
|
---|
143 | libnl-idiag-3.so,
|
---|
144 | libnl-nf-3.so, and
|
---|
145 | libnl-route-3.so
|
---|
146 | </seg>
|
---|
147 | <seg>
|
---|
148 | /etc/libnl,
|
---|
149 | /usr/include/libnl3, and
|
---|
150 | /usr/lib/libnl
|
---|
151 | </seg>
|
---|
152 | </seglistitem>
|
---|
153 | </segmentedlist>
|
---|
154 |
|
---|
155 | <variablelist>
|
---|
156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
157 | <?dbfo list-presentation="list"?>
|
---|
158 | <?dbhtml list-presentation="table"?>
|
---|
159 |
|
---|
160 | <varlistentry id="libnl-lib">
|
---|
161 | <term><filename class="libraryfile">libnl*-3.so</filename></term>
|
---|
162 | <listitem>
|
---|
163 | <para>
|
---|
164 | These libraries contain API functions used to access Netlink
|
---|
165 | interfaces in Linux kernel.
|
---|
166 | </para>
|
---|
167 | <indexterm zone="libnl libnl-lib">
|
---|
168 | <primary sortas="c-libnl">libnl*-3.so</primary>
|
---|
169 | </indexterm>
|
---|
170 | </listitem>
|
---|
171 | </varlistentry>
|
---|
172 |
|
---|
173 | </variablelist>
|
---|
174 |
|
---|
175 | </sect2>
|
---|
176 |
|
---|
177 | </sect1>
|
---|