[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 " ">
|
---|
[9304e0a] | 10 | <!ENTITY libnl-md5sum "438f8f0a3d46eb90771c9aa2af41590e">
|
---|
| 11 | <!ENTITY libnl-size "749 KB">
|
---|
| 12 | <!ENTITY libnl-buildsize "23 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 |
|
---|
[91b65df] | 38 | &lfs74_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 |
|
---|
| 74 | <para condition="html" role="usernotes">User Notes:
|
---|
[c6ac193] | 75 | <ulink url="&blfs-wiki;/libnl"/>
|
---|
| 76 | </para>
|
---|
[3e39d34] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of libnl</title>
|
---|
| 81 |
|
---|
[c6ac193] | 82 | <para>
|
---|
| 83 | Install <application>libnl</application> by running the following
|
---|
| 84 | commands:
|
---|
| 85 | </para>
|
---|
[3e39d34] | 86 |
|
---|
[3e7d4c6] | 87 | <screen><userinput>./configure --prefix=/usr \
|
---|
[d61e48e3] | 88 | --sysconfdir=/etc \
|
---|
[9c24d38] | 89 | --disable-static &&
|
---|
| 90 | make</userinput></screen>
|
---|
[3e39d34] | 91 |
|
---|
[c6ac193] | 92 | <para>
|
---|
| 93 | To test the results, issue: <command>make check</command>.
|
---|
| 94 | </para>
|
---|
[3e39d34] | 95 |
|
---|
[c6ac193] | 96 | <para>
|
---|
| 97 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 98 | </para>
|
---|
[3e39d34] | 99 |
|
---|
| 100 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="commands">
|
---|
| 105 | <title>Command Explanations</title>
|
---|
| 106 |
|
---|
[c6ac193] | 107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 108 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
| 111 | <option>--disable-cli</option>: Use this parameter if you
|
---|
| 112 | don't want to install cli tools provided by the package.
|
---|
| 113 | </para>
|
---|
[3e39d34] | 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="content">
|
---|
| 118 | <title>Contents</title>
|
---|
| 119 |
|
---|
| 120 | <segmentedlist>
|
---|
| 121 | <segtitle>Installed Programs</segtitle>
|
---|
[d61e48e3] | 122 | <segtitle>Installed Libraries</segtitle>
|
---|
[3e39d34] | 123 | <segtitle>Installed Directories</segtitle>
|
---|
| 124 |
|
---|
| 125 | <seglistitem>
|
---|
[c6ac193] | 126 | <seg>
|
---|
[91b65df] | 127 | genl-ctrl-list, nl-class-add, nl-class-delete, nl-classid-lookup,
|
---|
| 128 | nl-class-list, nl-cls-add, nl-cls-delete, nl-cls-list,
|
---|
| 129 | nl-link-list, nl-pktloc-lookup, nl-qdisc-add, nl-qdisc-delete, and
|
---|
| 130 | nl-qdisc-list
|
---|
[c6ac193] | 131 | </seg>
|
---|
| 132 | <seg>
|
---|
[91b65df] | 133 | libnl-3.so,
|
---|
| 134 | libnl-cli-3.so,
|
---|
| 135 | libnl-genl-3.so,
|
---|
[9304e0a] | 136 | libnl-idiag-3.so,
|
---|
[91b65df] | 137 | libnl-nf-3.so, and
|
---|
| 138 | libnl-route-3.so
|
---|
[c6ac193] | 139 | </seg>
|
---|
[3e7d4c6] | 140 | <seg>
|
---|
[c6ac193] | 141 | /etc/libnl,
|
---|
[91b65df] | 142 | /usr/include/libnl3, and
|
---|
[c6ac193] | 143 | /usr/lib/libnl
|
---|
| 144 | </seg>
|
---|
[3e39d34] | 145 | </seglistitem>
|
---|
| 146 | </segmentedlist>
|
---|
[c6ac193] | 147 |
|
---|
[3e39d34] | 148 | <variablelist>
|
---|
| 149 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 150 | <?dbfo list-presentation="list"?>
|
---|
| 151 | <?dbhtml list-presentation="table"?>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="libnl-lib">
|
---|
[b7b6efc] | 154 | <term><filename class="libraryfile">libnl*-3.so</filename></term>
|
---|
[3e39d34] | 155 | <listitem>
|
---|
[c6ac193] | 156 | <para>
|
---|
| 157 | These libraries contain API functions used to access Netlink
|
---|
| 158 | interfaces in Linux kernel.
|
---|
| 159 | </para>
|
---|
[3e39d34] | 160 | <indexterm zone="libnl libnl-lib">
|
---|
[c6ac193] | 161 | <primary sortas="c-libnl">libnl*-3.so</primary>
|
---|
[3e39d34] | 162 | </indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
| 165 |
|
---|
| 166 | </variablelist>
|
---|
[c6ac193] | 167 |
|
---|
[3e39d34] | 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | </sect1>
|
---|