[3e39d34] | 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 |
|
---|
[2625f532] | 7 | <!ENTITY libnl-download-http
|
---|
| 8 | "http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-&libnl-version;.tar.gz">
|
---|
[3e39d34] | 9 | <!ENTITY libnl-download-ftp " ">
|
---|
[41aa2901] | 10 | <!ENTITY libnl-md5sum "6e0e7bad0674749d930dd9f285343d55">
|
---|
| 11 | <!ENTITY libnl-size "784 KB">
|
---|
| 12 | <!ENTITY libnl-buildsize "25 MB">
|
---|
[c6ac193] | 13 | <!ENTITY libnl-time "0.3 SBU">
|
---|
[3e39d34] | 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 |
|
---|
[c6ac193] | 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>
|
---|
[3e39d34] | 37 |
|
---|
[79d191ee] | 38 | &lfs75_checked;
|
---|
[3e39d34] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[c6ac193] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&libnl-download-http;"/>
|
---|
| 45 | </para>
|
---|
[3e39d34] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[c6ac193] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libnl-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[3e39d34] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[c6ac193] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &libnl-md5sum;
|
---|
| 55 | </para>
|
---|
[3e39d34] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[c6ac193] | 58 | <para>
|
---|
| 59 | Download size: &libnl-size;
|
---|
| 60 | </para>
|
---|
[3e39d34] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[c6ac193] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &libnl-buildsize;
|
---|
| 65 | </para>
|
---|
[3e39d34] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[c6ac193] | 68 | <para>
|
---|
| 69 | Estimated build time: &libnl-time;
|
---|
| 70 | </para>
|
---|
[3e39d34] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[933d7c9] | 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 |
|
---|
[3e39d34] | 81 | <para condition="html" role="usernotes">User Notes:
|
---|
[c6ac193] | 82 | <ulink url="&blfs-wiki;/libnl"/>
|
---|
| 83 | </para>
|
---|
[3e39d34] | 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of libnl</title>
|
---|
| 88 |
|
---|
[c6ac193] | 89 | <para>
|
---|
| 90 | Install <application>libnl</application> by running the following
|
---|
| 91 | commands:
|
---|
| 92 | </para>
|
---|
[3e39d34] | 93 |
|
---|
[3e7d4c6] | 94 | <screen><userinput>./configure --prefix=/usr \
|
---|
[d61e48e3] | 95 | --sysconfdir=/etc \
|
---|
[9c24d38] | 96 | --disable-static &&
|
---|
| 97 | make</userinput></screen>
|
---|
[3e39d34] | 98 |
|
---|
[c6ac193] | 99 | <para>
|
---|
| 100 | To test the results, issue: <command>make check</command>.
|
---|
| 101 | </para>
|
---|
[3e39d34] | 102 |
|
---|
[c6ac193] | 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
[3e39d34] | 106 |
|
---|
| 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="commands">
|
---|
| 112 | <title>Command Explanations</title>
|
---|
| 113 |
|
---|
[c6ac193] | 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>
|
---|
[3e39d34] | 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Programs</segtitle>
|
---|
[d61e48e3] | 129 | <segtitle>Installed Libraries</segtitle>
|
---|
[3e39d34] | 130 | <segtitle>Installed Directories</segtitle>
|
---|
| 131 |
|
---|
| 132 | <seglistitem>
|
---|
[c6ac193] | 133 | <seg>
|
---|
[91b65df] | 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
|
---|
[c6ac193] | 138 | </seg>
|
---|
| 139 | <seg>
|
---|
[91b65df] | 140 | libnl-3.so,
|
---|
| 141 | libnl-cli-3.so,
|
---|
| 142 | libnl-genl-3.so,
|
---|
[9304e0a] | 143 | libnl-idiag-3.so,
|
---|
[91b65df] | 144 | libnl-nf-3.so, and
|
---|
| 145 | libnl-route-3.so
|
---|
[c6ac193] | 146 | </seg>
|
---|
[3e7d4c6] | 147 | <seg>
|
---|
[c6ac193] | 148 | /etc/libnl,
|
---|
[91b65df] | 149 | /usr/include/libnl3, and
|
---|
[c6ac193] | 150 | /usr/lib/libnl
|
---|
| 151 | </seg>
|
---|
[3e39d34] | 152 | </seglistitem>
|
---|
| 153 | </segmentedlist>
|
---|
[c6ac193] | 154 |
|
---|
[3e39d34] | 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">
|
---|
[b7b6efc] | 161 | <term><filename class="libraryfile">libnl*-3.so</filename></term>
|
---|
[3e39d34] | 162 | <listitem>
|
---|
[c6ac193] | 163 | <para>
|
---|
| 164 | These libraries contain API functions used to access Netlink
|
---|
| 165 | interfaces in Linux kernel.
|
---|
| 166 | </para>
|
---|
[3e39d34] | 167 | <indexterm zone="libnl libnl-lib">
|
---|
[c6ac193] | 168 | <primary sortas="c-libnl">libnl*-3.so</primary>
|
---|
[3e39d34] | 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | </variablelist>
|
---|
[c6ac193] | 174 |
|
---|
[3e39d34] | 175 | </sect2>
|
---|
| 176 |
|
---|
| 177 | </sect1>
|
---|