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