<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libmnl.git, 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>example: netfilter: get rid of aligned_be64 definitions</title>
<updated>2015-05-26T10:03:09+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2015-05-25T18:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=b180a6ee27674b5060cf54a0149a9109da9d9fd1'/>
<id>urn:sha1:b180a6ee27674b5060cf54a0149a9109da9d9fd1</id>
<content type='text'>
This is defined in &lt;linux/types.h&gt;, which is included by the nfnetlink_* header
files.

Thus, we can get rid of u_int64_t which causes problems to musl according to
Felix Janda.

Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>examples/netfilter: Include &lt;endian.h&gt; for be64toh</title>
<updated>2015-05-25T18:52:01+00:00</updated>
<author>
<name>Felix Janda</name>
<email>felix.janda@posteo.de</email>
</author>
<published>2015-05-16T10:40:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=b37ae85d43bd3403f1b6b1d3fa8bcf294868e56d'/>
<id>urn:sha1:b37ae85d43bd3403f1b6b1d3fa8bcf294868e56d</id>
<content type='text'>
Signed-off-by: Felix Janda &lt;felix.janda@posteo.de&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>attr: minor doc fix in mnl_attr_next()</title>
<updated>2015-01-10T17:23:36+00:00</updated>
<author>
<name>Hisao Tanabe</name>
<email>xtanabe@gmail.com</email>
</author>
<published>2015-01-10T09:02:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=c9f19b98cd8e108617e825e071091df14f78c53a'/>
<id>urn:sha1:c9f19b98cd8e108617e825e071091df14f78c53a</id>
<content type='text'>
mnl_attr_next(): remove unused param - len

Signed-off-by: Hisao Tanabe &lt;xtanabe@gmail.com&gt;
Signed-off-by: Pablo Neira Ayuso &lt;pablo@netfilter.org&gt;
</content>
</entry>
<entry>
<title>doc: minor fix</title>
<updated>2014-10-24T09:16:54+00:00</updated>
<author>
<name>Ken-ichirou MATSUZAWA</name>
<email>chamaken@gmail.com</email>
</author>
<published>2014-10-24T05:39:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=72aec11703c7fda93af77cb6356f9692f18f9e9b'/>
<id>urn:sha1:72aec11703c7fda93af77cb6356f9692f18f9e9b</id>
<content type='text'>
mnl_attr_ok(): fix return value type
mnl_attr_put_u8(): remove unused param - len
mnl_attr_put_u8_check(): remove unused param - len
mnl_nlmsg_ok(): fix return value type
mnl_nlmsg_batch_stop(): not return batch size, but release it

Signed-off-by: Ken-ichirou MATSUZAWA &lt;chamas@h4.dion.ne.jp&gt;
Signed-off-by: Florian Westphal &lt;fw@strlen.de&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>socket: calloc expects struct size as second parameter</title>
<updated>2014-09-24T10:48:45+00:00</updated>
<author>
<name>Pablo Neira Ayuso</name>
<email>pablo@netfilter.org</email>
</author>
<published>2014-09-22T11:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/libmnl.git/commit/?id=2c458b2eb479cbc83c83de79dcd14bec6acc90bd'/>
<id>urn:sha1:2c458b2eb479cbc83c83de79dcd14bec6acc90bd</id>
<content type='text'>
The parameters where accidentally swapped.

Reported-by: Chris Rapier &lt;rapier@psc.edu&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>
</feed>
