Commit Graph

109 Commits

Author SHA1 Message Date
Thomas Haller
7b167ef85f libnl-3.5.0 release 2019-09-01 16:19:02 +02:00
Eyal Birger
d147019c4b xfrmi: introduce XFRM interfaces support
XFRM interfaces were introduced in kernel 4.19.
This commit adds link support for these interfaces.

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
2019-09-01 14:24:52 +02:00
Eyal Birger
4b9370c6c9 doc/route: fix example code comments
Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
2019-09-01 14:24:52 +02:00
Thomas Haller
3fe3454b02 libnl-3.4.0 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2017-10-09 13:14:55 +02:00
Thomas Haller
e01b9df629 libnl-3.4.0-rc1 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2017-09-20 10:58:20 +02:00
Thomas Haller
2e0c4ade67 libnl-3.3.0 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2017-05-03 10:38:11 +02:00
Thomas Haller
bcdf874adb libnl-3.3.0-rc1 release
First release candidate for upcoming libnl 3.3.0 release.

Note that from now on, future libnl3 release will bump the
second version number, instead of the third. So the next
version will be 3.3.0 instead of 3.2.30.
This does not imply a break of API/ABI, it is only a change
of the versioning scheme.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2017-03-06 21:41:18 +01:00
Thomas Haller
23c00e97a9 build: style cleanup in doc/Makefile.am 2017-02-28 00:09:06 +01:00
Tobias Klauser
5d2a5f4a9d link/ipvti: Fix and add function prototypes in public header
Add missing "_ipvti" part to function prototypes so they match the
exported name. Also add the missing prototype for rtnl_link_is_ipvti().

This fixes the following GCC warnings when compiling with
-Wmissing-prototypes:

  route/link/ipvti.c:281:5: warning: no previous prototype for ‘rtnl_link_is_ipvti’ [-Wmissing-prototypes]
  route/link/ipvti.c:369:10: warning: no previous prototype for ‘rtnl_link_ipvti_get_ikey’ [-Wmissing-prototypes]
  route/link/ipvti.c:403:10: warning: no previous prototype for ‘rtnl_link_ipvti_get_okey’ [-Wmissing-prototypes]
  route/link/ipvti.c:437:10: warning: no previous prototype for ‘rtnl_link_ipvti_get_local’ [-Wmissing-prototypes]
  route/link/ipvti.c:471:10: warning: no previous prototype for ‘rtnl_link_ipvti_get_remote’ [-Wmissing-prototypes]

Also fix the corresponding names in documentation.

Fixes: 8f6301426a ("ipvti: introduce vti tunnel support")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-01-20 09:38:10 +01:00
Thomas Haller
c560a37f19 libnl-3.2.29 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2016-12-30 15:57:01 +01:00
Thomas Haller
c033ee8cb4 libnl-3.2.29-rc1 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2016-12-12 15:10:21 +01:00
Peter Wu
ec7c9b4dcf doc: fix URLs and typo
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2016-08-14 09:57:25 +02:00
Thomas Haller
656f381ccf libnl-3.2.28 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2016-07-08 11:41:42 +02:00
Thomas Haller
bd0e87b3d8 libnl-3.2.28-rc1 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2016-06-30 12:54:08 +02:00
Beniamino Galvani
3f231213c7 route/link: add macvtap support
This adds support for MAC-VLAN based tap interfaces (macvtap).

http://lists.infradead.org/pipermail/libnl/2015-October/001976.html

Signed-off-by: Beniamino Galvani <bgalvani@redhat.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-11-19 17:20:28 +01:00
Thomas Haller
7b9671c6d8 libnl-3.2.27 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-10-16 14:08:36 +02:00
Thomas Haller
8d47c047a8 libnl-3.2.27-rc1 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-09-21 12:38:48 +02:00
Steffen Vogel
69851e24c7 doc: enable generation of Doxygen tagfile for libnl API reference
This enables other projects which are using Doxygen for documentation
to automatically create hyperlinks to libnl's API reference.

See: http://www.stack.nl/~dimitri/doxygen/manual/external.html

https://github.com/thom311/libnl/pull/89
2015-09-19 16:22:29 +02:00
Kir Kolyshkin
4caa5cda2c doc/Makefile.am: don't use asciidoc if disabled
In case doc/configure.ac hasn't found asciidoc or any of its
prerequisites (such as pygmentize), make shouldn't try to run it.
One such case ("gendoc" target) is covered while the other
("%.html" target) is not. Fix it by adding a proper ifdef.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2015-07-09 22:43:18 +02:00
Kir Kolyshkin
60ac492058 doc/configure.ac: simplify python check
A check for python binary that was originally introduced by commit
183e869 is needed because python is used for a couple of preprocessors
(doxygen-link.py and resolve-asciidoc-refs.py) and therefore it is
impossible to build docs without python.

While it is right to check for python, the check was both wrong and
excessive. Instead of just checking for python binary, it checked for
various versions of python and set a few variables that are not needed
here. More to say, the absense of python binary was not treated as
being fatal like it should.

Fix both problems by using AC_CHECK_PROG for python, terminating the
build in the same way as with doxygen absense. Also, remove the
m4/ax_python.m4 which is no longer needed.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2015-07-09 22:43:18 +02:00
Thomas Haller
8f5c65beee libnl-3.2.26 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-03-30 13:17:17 +02:00
Thomas Haller
d62a68cda3 libnl-3.2.26-rc1 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2015-03-05 20:25:30 +01:00
Thomas Haller
dcc5375977 libnl-3.2.25 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-07-16 11:19:12 +02:00
Thomas Haller
9e0960c150 doc: state in documentation that libnl3 is supposed to work with 3.x kernels
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-27 19:41:35 +02:00
Thomas Haller
0446731124 libnl-3.2.25-rc1 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-25 12:57:13 +02:00
Thomas Haller
940e5d5446 doc: fix doxygen-link.py by skipping invalid entries in libnl.dict
Newer versions of doxygen (on Fedora20) treat the documentation
slightly different so that the following entires end up in
libnl.dict:

    \=api/group__attr.html#ga769cc7bd882aab17c3740dd83329d7e6
    »·······»·······NLA_PUT=api/group__attr.html#ga769cc7bd882aab17c3740dd83329d7e6
    NLA_PUT=api/group__attr.html#ga769cc7bd882aab17c3740dd83329d7e6

Especially, replacing r'\' breaks the generated html documentation.
Extend doxygen-link.py to strip whitespaces from the name and
skip over r'\'.

Also, when replacing the words in the output file, match them
using word boundaries r'\b'.

Also, don't print an additional newline after each processed line.

Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-25 12:35:45 +02:00
Thomas Haller
e4c94ea9ed doc: fix error in core documentation for nl_cache_mngr_alloc()
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-17 18:42:48 +02:00
Susant Sahani
11f9cc0914 ip6tnl: introduce ip6 tunnel support
This patch adds support for ip6 tunnel that works with
the ip6_tunnel kernel module.

Signed-off-by: Susant Sahani <susant@redhat.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-16 16:59:16 +02:00
Susant Sahani
8f6301426a ipvti: introduce vti tunnel support
Signed-off-by: Susant Sahani <susant@redhat.com>
[thaller@redhat.com: some whitespace fixes]
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-05-06 12:04:02 +02:00
Susant Sahani
d715b8a5f6 introduce sit tunnel support
This patch introduces sit tunnel support

Signed-off-by: Susant Sahani <susant@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
[thaller@redhat.com: change WS to TAB, fix code doc]
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-05-05 19:08:29 +02:00
Susant Sahani
57bdc4ff48 introduce gre tunnel support
This patch introduces gre tunnel support

Signed-off-by: Susant Sahani <susant@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
[thaller@redhat.com: change WS to TAB, fix code doc]
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-05-05 19:08:23 +02:00
Susant Sahani
3a95fad5c9 introduce ipip tunnel support
This patch introduces ipip tunnel support. This
works with kernel module ipip.

Signed-off-by: Susant Sahani <susant@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
[thaller@redhat.com: change WS to TAB, fix code doc]
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-05-05 18:08:47 +02:00
Hangbin Liu
6722853f49 doc/core: reply message should send from kernel to app
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-04-16 10:08:47 +02:00
Thomas Haller
4c7a3074bb build: fix error when running configure --disable-doc
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-01-29 18:13:35 +01:00
Thomas Haller
1a510c57e9 libnl-3.2.24 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-01-21 19:48:41 +01:00
Thomas Haller
894acf798d doc: fix typo in documentation
Also fix typo in source code comment.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-01-21 19:16:55 +01:00
Thomas Haller
62c37faa3f libnl-3.2.24-rc1 release
Signed-off-by: Thomas Haller <thaller@redhat.com>
2013-12-17 18:31:42 +02:00
Thomas Graf
60ceeef964 3.2.23 release 2013-10-31 00:11:18 +01:00
Thomas Graf
f44b82fa13 libnl-3.2.23-rc2 release
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-10-23 11:06:50 +02:00
Thomas Graf
3151eda89a doc: Add instructions on how to build docs
Reported-by: Teto <mattator@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-10-22 16:33:27 +02:00
Thomas Graf
72bf363654 doxygen-link: Be python3 compatible
Reported-by: Teto <mattator@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-10-22 16:32:23 +02:00
Thomas Graf
74db300236 libnl-3.2.23-rc1 release 2013-10-22 15:26:12 +02:00
Yasunobu Chiba
162c906bf2 Add VXLAN support. 2013-08-04 15:43:54 +09:00
Joe Damato
81d2b1d509 Add support for inet diag Netlink protocol.
- Inet diag allows users to gather low-level socket information.
- This library provides a higher-level API for creating inetdiag requests (via
  idiagnl_connect and idiagnl_send_simple) and parsing the replies (via
  idiagnl_msg_parse). A cache is also provided (via idiagnl_msg_alloc_cache).
- Request and message objects provide APIs for accessing and setting the
  various properties of each.
- This library also allows the user to parse the inetdiag response attributes
  which contain information about traffic class, TOS, congestion, socket
  memory info, and more depending on the kernel version used.
- Includes doxygen documentation.
2013-07-19 02:06:21 -07:00
Thomas Graf
c1de0f3129 Merge branch 'master' of https://github.com/michael-dev/libnl 2013-05-24 14:37:02 +02:00
Michael Braun
c76393e203 Add macvlan support
This patch add support for kernel macvlan interfaces.

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
2013-05-16 17:04:08 +02:00
Thomas Graf
c4d846f239 3.2.22 release 2013-05-14 14:09:07 +02:00
Thomas Graf
183052d047 Prepare for 3.2.22-rc1 release
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-04-28 12:52:26 +02:00
Thomas Graf
9e6cdbf6fc attr: Add nla_nest_cancel() to remove partially added nested attributes
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-03-14 12:46:01 +01:00
Thomas Graf
1ecf98a23e bond: Provide rtnl_link_bond_alloc()
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-02-14 12:48:00 +01:00