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