[14c0be2f] | 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 libmnl-download-http "https://netfilter.org/projects/libmnl/files/libmnl-&libmnl-version;.tar.bz2">
|
---|
| 8 | <!ENTITY libmnl-download-ftp " ">
|
---|
[70d8bd0e] | 9 | <!ENTITY libmnl-md5sum "0bbb70573119ec5d49435114583e7a49">
|
---|
| 10 | <!ENTITY libmnl-size "308 KB">
|
---|
[14c0be2f] | 11 | <!ENTITY libmnl-buildsize "2.9 MB">
|
---|
| 12 | <!ENTITY libmnl-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libmnl" xreflabel="libmnl-&libmnl-version;">
|
---|
| 16 | <?dbhtml filename="libmnl.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>libmnl-&libmnl-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="libmnl">
|
---|
| 25 | <primary sortas="a-libmnl">libmnl</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to libmnl</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>libmnl</application> library provides a minimalistic
|
---|
| 33 | user-space library oriented to Netlink developers. There are a lot of
|
---|
| 34 | common tasks in parsing, validating, constructing of both the Netlink
|
---|
| 35 | header and TLVs that are repetitive and easy to get wrong. This library
|
---|
| 36 | aims to provide simple helpers that allows you to re-use code and to
|
---|
| 37 | avoid re-inventing the wheel.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[3f4dc82] | 40 | &lfs111_checked;
|
---|
[14c0be2f] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing='compact'>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&libmnl-download-http;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&libmnl-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download MD5 sum: &libmnl-md5sum;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download size: &libmnl-size;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated disk space required: &libmnl-buildsize;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated build time: &libmnl-time;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[70d8bd0e] | 76 | <bridgehead renderas="sect3">libnma Dependencies</bridgehead>
|
---|
[7a9a7b26] | 77 |
|
---|
[70d8bd0e] | 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 79 | <para role="optional">
|
---|
| 80 | <xref linkend="doxygen"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
[14c0be2f] | 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url="&blfs-wiki;/libmnl"/>
|
---|
| 85 | </para>
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of libmnl</title>
|
---|
| 90 |
|
---|
| 91 | <para>
|
---|
| 92 | Install <application>libmnl</application> by running the following
|
---|
| 93 | commands:
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para>
|
---|
| 100 | This package does not come with a test suite.
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[b85b35e2] | 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[14c0be2f] | 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="content">
|
---|
| 112 | <title>Contents</title>
|
---|
| 113 |
|
---|
| 114 | <segmentedlist>
|
---|
| 115 | <segtitle>Installed Library</segtitle>
|
---|
| 116 |
|
---|
| 117 | <seglistitem>
|
---|
| 118 | <seg>
|
---|
| 119 | libmnl.so
|
---|
| 120 | </seg>
|
---|
| 121 | </seglistitem>
|
---|
| 122 | </segmentedlist>
|
---|
| 123 |
|
---|
| 124 | <variablelist>
|
---|
| 125 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 126 | <?dbfo list-presentation="list"?>
|
---|
| 127 | <?dbhtml list-presentation="table"?>
|
---|
| 128 |
|
---|
| 129 | <varlistentry id="libmnl-lib">
|
---|
| 130 | <term><filename class="libraryfile">libmnl.so</filename></term>
|
---|
| 131 | <listitem>
|
---|
| 132 | <para>
|
---|
| 133 | provides functions for parsing, validating, constructing of both
|
---|
[4c24eb0a] | 134 | the Netlink header and TLVs
|
---|
[14c0be2f] | 135 | </para>
|
---|
| 136 | <indexterm zone="libmnl libmnl-lib">
|
---|
| 137 | <primary sortas="c-libmnl">libmnl.so</primary>
|
---|
| 138 | </indexterm>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
| 141 |
|
---|
| 142 | </variablelist>
|
---|
| 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | </sect1>
|
---|