<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libmnl.git/include/libmnl, branch upstream</title>
<subtitle>libmnl minimalistic netfilter library (mirror of https://github.com/vyos/libmnl.git)
</subtitle>
<id>https://git.amelek.net/vyos/libmnl.git/atom?h=upstream</id>
<link rel='self' href='https://git.amelek.net/vyos/libmnl.git/atom?h=upstream'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/'/>
<updated>2015-10-18T10:48:55+00:00</updated>
<entry>
<title>Merge remote-tracking branch 'source/master' into upstream</title>
<updated>2015-10-18T10:48:55+00:00</updated>
<author>
<name>Alex Harpin</name>
<email>development@landsofshadow.co.uk</email>
</author>
<published>2015-10-18T10:48:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=cebada14c32e6603380a913fb852854c46605d1d'/>
<id>urn:sha1:cebada14c32e6603380a913fb852854c46605d1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>socket: introduce mnl_socket_open2()</title>
<updated>2015-10-04T19:15:53+00:00</updated>
<author>
<name>Guillaume Nault</name>
<email>g.nault@alphalink.fr</email>
</author>
<published>2015-10-02T20:12:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=1891e0e2cefced50e7bfdacd50942cefe5bf73ba'/>
<id>urn:sha1:1891e0e2cefced50e7bfdacd50942cefe5bf73ba</id>
<content type='text'>
Define mnl_socket_open2() so that user can pass a set of SOCK_* flags
at socket creation time.

Signed-off-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>header: use sysconf() instead of getpagesize()</title>
<updated>2015-03-02T11:05:26+00:00</updated>
<author>
<name>Markus Teich</name>
<email>markus.teich@stusta.mhn.de</email>
</author>
<published>2015-02-26T13:38:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=9ac5b6fb437e24c328a30776e30c39b906b06f66'/>
<id>urn:sha1:9ac5b6fb437e24c328a30776e30c39b906b06f66</id>
<content type='text'>
The sysconf(_SC_PAGESIZE) call is more portable since it does not need
_BSD_SOURCE defined.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>socket: creating a struct mnl_socket from a pre-existing socket</title>
<updated>2014-09-25T10:46:13+00:00</updated>
<author>
<name>Ken-ichirou MATSUZAWA</name>
<email>chamaken@gmail.com</email>
</author>
<published>2014-09-25T00:33:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=e374664f48724e5b13a848bad5c5353349f0ae38'/>
<id>urn:sha1:e374664f48724e5b13a848bad5c5353349f0ae38</id>
<content type='text'>
This patch defines a new function mnl_socket_fdopen() which creates a
struct mnl_socket object from a pre-existing socket like obtained from
other process and different domain/type from the same prodess.

Signed-off-by: Ken-ichirou MATSUZAWA &lt;chamas@h4.dion.ne.jp&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>include: don't force compiler to enter C++11 mode</title>
<updated>2013-07-16T09:21:26+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2013-07-15T15:45:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=5b8a0c7479776f7781e497dd5fdacc17d9aad0ae'/>
<id>urn:sha1:5b8a0c7479776f7781e497dd5fdacc17d9aad0ae</id>
<content type='text'>
Thomas reports that g++ forces you to enable C++11 mode if
you want to use &lt;cstdint&gt;. Tested with g++ (GCC) 4.4.4. He
reports that this compiles fine without the special headers.
So let's get rid of them. This reverts bb8c40e.

Reported-by: Thomas Jarosch &lt;thomas.jarosch@intra2net.com&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
Tested-by: Thomas Jarosch &lt;thomas.jarosch@intra2net.com&gt;
</content>
</entry>
<entry>
<title>libmnl 1.0.3 package</title>
<updated>2012-05-22T18:01:34+00:00</updated>
<author>
<name>Gaurav Sinha</name>
<email>gaurav.sinha@vyatta.com</email>
</author>
<published>2012-05-22T18:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=8059abb1f9aa3647f685f9a560e3ff849293ee41'/>
<id>urn:sha1:8059abb1f9aa3647f685f9a560e3ff849293ee41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>parse: add mnl_attr_for_each_payload</title>
<updated>2012-05-17T23:02:49+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2012-04-13T14:30:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=00b82dd6c9ad4765ebc2f59e395a6749acc0738a'/>
<id>urn:sha1:00b82dd6c9ad4765ebc2f59e395a6749acc0738a</id>
<content type='text'>
This function allows you to parse the payload of the Netlink message.
Thus, you can skip the headers and go down to the part of the message
you want to parse.

This patch has updated the LIBVERSION and it also bumps the version
to 1.0.3, in case that someone wants to package some snapshot, not to
mess with the new symbol we have added.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>header: fix invalid use of type void * in arithmetic of mnl_for_each_nest(...)</title>
<updated>2010-12-30T01:02:05+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2010-12-30T01:02:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=dbbd8a22742a9f67c75c10411908835703d34728'/>
<id>urn:sha1:dbbd8a22742a9f67c75c10411908835703d34728</id>
<content type='text'>
This patch fixes the following warnings:

netlink.c:121: warning: pointer of type ‘void *’ used in arithmetic
netlink.c:121: warning: pointer of type ‘void *’ used in subtraction

We cannot use type void * for pointer arithmetic operations.

This was introduced in 478dc5f4ab8d0a639d1bafe3bd53ff3309727836

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>header: fix signess issues in MNL_SOCKET_BUFFER_SIZE</title>
<updated>2010-12-25T21:22:41+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2010-12-25T21:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=92eddd8ad5713a2049a8750361f2f4d4518f6efa'/>
<id>urn:sha1:92eddd8ad5713a2049a8750361f2f4d4518f6efa</id>
<content type='text'>
This patch fixes the following compilation warning:

warning: comparison between signed and unsigned integer expressions
warning: signed and unsigned type in conditional expression

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>include: add missing unistd.h</title>
<updated>2010-12-20T00:40:48+00:00</updated>
<author>
<name>Jan Engelhardt</name>
<email>jengelh@medozas.de</email>
</author>
<published>2010-12-20T00:40:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=eb5265f5cc6984f4a671ddbd440f415bf9d67209'/>
<id>urn:sha1:eb5265f5cc6984f4a671ddbd440f415bf9d67209</id>
<content type='text'>
When a project uses MNL_SOCKET_BUFFER_SIZE without having included
unistd.h, it gets:

mystuff.c:36:2: warning: implicit declaration of function "getpagesize"

It is libmnl's job to include this, since mystuff.c did not use
getpagesize anywhere.

Signed-off-by: Jan Engelhardt &lt;jengelh@medozas.de&gt;
</content>
</entry>
</feed>
