<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libmnl.git/include, 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: cache copy of include/linux/socket.h</title>
<updated>2014-06-13T09:20:55+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2014-06-13T09:15:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=f94b2c67485009572027c6f37ba4ec09f6729910'/>
<id>urn:sha1:f94b2c67485009572027c6f37ba4ec09f6729910</id>
<content type='text'>
This fixes compilation in Debian Squeeze:

  CC     attr.lo
In file included from ../include/libmnl/libmnl.h:9,
                 from socket.c:10:
../include/linux/netlink.h:35: error: expected specifier-qualifier-list before ‘__kernel_sa_family_t’
In file included from ../include/libmnl/libmnl.h:9,
                 from callback.c:11:
../include/linux/netlink.h:35: error: expected specifier-qualifier-list before ‘__kernel_sa_family_t’
socket.c: In function ‘mnl_socket_get_portid’:
socket.c:102: error: ‘const struct sockaddr_nl’ has no member named ‘nl_pid’
socket.c: In function ‘mnl_socket_bind’:
socket.c:146: error: ‘struct sockaddr_nl’ has no member named ‘nl_family’
socket.c:147: error: ‘struct sockaddr_nl’ has no member named ‘nl_groups’
socket.c:148: error: ‘struct sockaddr_nl’ has no member named ‘nl_pid’
socket.c:163: error: ‘struct sockaddr_nl’ has no member named ‘nl_family’
socket.c: In function ‘mnl_socket_sendto’:
socket.c:184: error: unknown field ‘nl_family’ specified in initializer
socket.c:185: warning: excess elements in struct initializer
socket.c:185: warning: (near initialization for ‘snl’)

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>include: cache copy of nfnetlink_conntrack.h</title>
<updated>2013-06-11T15:58:32+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2013-06-11T15:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=419513fb3bb8a021ade9ecda8f6b7c9bb70ad7e4'/>
<id>urn:sha1:419513fb3bb8a021ade9ecda8f6b7c9bb70ad7e4</id>
<content type='text'>
To ensure that examples compile in any installation. This header
is not installed in the system.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>headers: update netlink.h to 3.9</title>
<updated>2013-03-26T21:07:54+00:00</updated>
<author>
<name>Stephen Hemminger</name>
<email>stephen@networkplumber.org</email>
</author>
<published>2013-03-26T20:30:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=11cb82355dee90e23ee5ddc3030c48b117c3fe29'/>
<id>urn:sha1:11cb82355dee90e23ee5ddc3030c48b117c3fe29</id>
<content type='text'>
Use sanitized kernel header from 3.9 upstream kernel.

Reported-by: Nicolas Dichtel &lt;nicolas.dichtel@6wind.com&gt;
Signed-off-by: Stephen Hemminger &lt;stephen@networkplumber.org&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&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>
</feed>
