summaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* python: fix flake8 warnings W605Thomas Haller2023-07-251-1/+1
| | | | | | | ./doc/resolve-asciidoc-refs.py:14:22: W605 invalid escape sequence '\[' ./doc/resolve-asciidoc-refs.py:14:24: W605 invalid escape sequence '\[' ./doc/resolve-asciidoc-refs.py:14:30: W605 invalid escape sequence '\]' ./doc/resolve-asciidoc-refs.py:14:32: W605 invalid escape sequence '\]'
* python: fix flake8 warnings F401Thomas Haller2023-07-252-2/+0
| | | | | | | | | ./doc/doxygen-link.py:4:1: F401 'fileinput' imported but unused ./doc/resolve-asciidoc-refs.py:5:1: F401 'fileinput' imported but unused ./python/doc/conf.py:14:1: F401 'sys' imported but unused ./python/doc/conf.py:14:1: F401 'os' imported but unused ./python/netlink/util.py:13:1: F401 '.core as netlink' imported but unused ./python/netlink/util.py:16:1: F401 'types' imported but unused
* python: reformat all Python files with python-blackThomas Haller2023-07-252-39/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automated code formatting is great. Use python-black for that ([1]). Black us not configurable much (uncompromising) and follows PEP8. It thus generates quite a standard, pleasing format. But the point isn't whether the formatting is always the most subjectively pleasing. The point is that the style is generated and enforceable by an automated tool. It takes away places for nit picking, while resulting in a more consistent code base. As this reformats the entire code base, it introduces a large diff and interferes with tools like git-blame. That will be somewhat alleviated by adding a "blame.ignoreRevsFile" for git in the next commit. The change is done automatically, by running python-black version black-22.8.0-2.fc38.noarch: $ black . The result is the same as $ ( git grep -l '#!.*\(PYTHON\|python\)' ; git ls-files '*.py' '*.py.in' ) \ | sort -u \ | xargs -d '\n' black Note that the exact result depends on the version of black. Currently that version is black==22.12.0 from pip. Yes, this means when we bump the version in the future, some reformatting will happen. [1] https://github.com/psf/black
* build: change proper working directory in "doc/autogen.sh"Thomas Haller2023-07-241-0/+4
|
* build: ensure "autogen.sh" scripts fail on errorThomas Haller2023-07-241-2/+4
|
* libnl-3.7.0 releaselibnl3_7_0Thomas Haller2022-07-061-1/+1
|
* Use print() function in both Python 2 and Python 3Christian Clauss2022-07-061-1/+1
| | | | https://github.com/thom311/libnl/pull/327
* Fix typos and errorsAntonio Prcela2022-07-062-77/+75
| | | | https://github.com/thom311/libnl/pull/325
* doc: fix markup error in "doc/route.txt"Thomas Haller2022-04-151-2/+2
| | | | Fixes: d9dc6c20a360 ('ip6vti: Add IPv6 VTI support')
* doc: fix python2-ism in "doc/resolve-asciidoc-refs.py"Thomas Haller2022-04-151-1/+3
|
* libnl-3.6.0 releaselibnl3_6_0Thomas Haller2022-04-141-1/+1
|
* ip6vti: Add fwmark APIThomas Winter2022-03-111-0/+3
| | | | | | This is a new option that was added in Linux v4.12. Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
* ip6gre: Add fwmark APIThomas Winter2022-03-111-0/+3
| | | | | | This is a new option that was added in Linux v4.12. Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
* sit: Add fwmark APIThomas Winter2022-03-111-0/+3
| | | | | | This is a new option that was added in Linux v4.12. Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
* ipip: Add fwmark APIThomas Winter2022-03-111-0/+3
| | | | | | This is a new option that was added in Linux v4.12. Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
* ip6_tnl: Add fwmark APIThomas Winter2022-03-111-0/+3
| | | | | | This is a new option that was added in Linux v4.12. Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
* ipvti: Add fwmark APIThomas Winter2022-03-111-0/+3
| | | | | | This is a new option that was added in Linux v4.12. Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
* ipgre: Add fwmark APIThomas Winter2022-03-111-0/+3
| | | | | | This is a new option that was added in Linux v4.12. Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
* ip6vti: Add IPv6 VTI supportThomas Winter2022-03-111-0/+48
| | | | | | | This patch adds support for IPv6 VTI tunneling that uses the vti6 kernel module. Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
* route/link: Add IPv6 GRE supportScott Parlane2022-03-091-0/+67
| | | | | | | This patch adds support for IPv6 GRE tunneling that uses the ip6_gre kernel module. https://github.com/thom311/libnl/pull/255
* doc: update link to mscgen-filterratijas2020-12-251-1/+1
| | | | https://github.com/thom311/libnl/pull/266
* gitignore: merge all gitignore files in top level directoryThomas Haller2020-04-163-20/+0
| | | | | | | The source tree of libnl3 is fairly simple. We can afford thinking and reasoning about it as one. Don't spread out the .gitignore files, instead ignore all files consistently via the ignore file in the top level directory.
* license: update "doc/COPYING" license textThomas Haller2020-04-161-4/+4
| | | | | | | Take the latest version of the license text from gnu.org ([1]). It's of course basically the same, except some spelling updates. [1] https://www.gnu.org/licenses/gpl-3.0.txt
* license: add SPDX license identifer to "configure.ac" filesThomas Haller2020-04-161-7/+1
| | | | This was done manually.
* libnl-3.5.0 releaselibnl3_5_0Thomas Haller2019-09-011-1/+1
|
* xfrmi: introduce XFRM interfaces supportEyal Birger2019-09-011-0/+43
| | | | | | | 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>
* doc/route: fix example code commentsEyal Birger2019-09-011-4/+4
| | | | Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
* libnl-3.4.0 releaselibnl3_4_0Thomas Haller2017-10-091-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* libnl-3.4.0-rc1 releaselibnl3_4_0rc1Thomas Haller2017-09-201-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* libnl-3.3.0 releaselibnl3_3_0Thomas Haller2017-05-031-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* libnl-3.3.0-rc1 releaselibnl3_3_0rc1Thomas Haller2017-03-061-1/+1
| | | | | | | | | | | | 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>
* build: style cleanup in doc/Makefile.amThomas Haller2017-02-271-8/+11
|
* link/ipvti: Fix and add function prototypes in public headerTobias Klauser2017-01-201-2/+2
| | | | | | | | | | | | | | | | | | | 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: 8f6301426a00 ("ipvti: introduce vti tunnel support") Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
* libnl-3.2.29 releaselibnl3_2_29Thomas Haller2016-12-301-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* libnl-3.2.29-rc1 releaselibnl3_2_29rc1Thomas Haller2016-12-121-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* doc: fix URLs and typoPeter Wu2016-08-141-3/+3
| | | | | Signed-off-by: Peter Wu <peter@lekensteyn.nl> Signed-off-by: Thomas Haller <thaller@redhat.com>
* libnl-3.2.28 releaselibnl3_2_28Thomas Haller2016-07-081-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* libnl-3.2.28-rc1 releaselibnl3_2_28rc1Thomas Haller2016-06-301-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* route/link: add macvtap supportBeniamino Galvani2015-11-191-0/+57
| | | | | | | | | 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>
* libnl-3.2.27 releaselibnl3_2_27Thomas Haller2015-10-161-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* libnl-3.2.27-rc1 releaselibnl3_2_27rc1Thomas Haller2015-09-211-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* doc: enable generation of Doxygen tagfile for libnl API referenceSteffen Vogel2015-09-192-1/+2
| | | | | | | | | 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
* doc/Makefile.am: don't use asciidoc if disabledKir Kolyshkin2015-07-091-0/+4
| | | | | | | | | 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>
* doc/configure.ac: simplify python checkKir Kolyshkin2015-07-092-101/+5
| | | | | | | | | | | | | | | | | | | 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>
* libnl-3.2.26 releaselibnl3_2_26Thomas Haller2015-03-301-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* libnl-3.2.26-rc1 releaselibnl3_2_26rc1Thomas Haller2015-03-051-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* libnl-3.2.25 releaselibnl3_2_25Thomas Haller2014-07-161-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* doc: state in documentation that libnl3 is supposed to work with 3.x kernelsThomas Haller2014-06-271-2/+2
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* libnl-3.2.25-rc1 releaselibnl3_2_25rc1Thomas Haller2014-06-251-1/+1
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* doc: fix doxygen-link.py by skipping invalid entries in libnl.dictThomas Haller2014-06-251-9/+32
| | | | | | | | | | | | | | | | | | | | | | 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>