summaryrefslogtreecommitdiffstats
path: root/lib/route/rtnl.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/doc: clearify return value of send_simple() functionsThomas Haller2015-05-121-3/+3
| | | | | | | | | | | | | | | | | | The return value of the *nl_send_simple() functions is inconsistent and not according to the documentation. nl_send_simple() is document to return the number of bytes sent. Other *nl_send_simple() functions are documented to return 0 on success -- for the most part. See also commit b70174668b9867de573cf51471bc98bfe7fd2bc3 which changed behavior of nl_rtgen_request() to be according to documenation. Don't change behavior again, only adjust the documentation. http://lists.infradead.org/pipermail/libnl/2015-May/001872.html Reported-by: Xiao Jia <stfairy@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
* style: require comma after __ADD() macroThomas Haller2014-07-271-17/+17
| | | | | | | $ sed -i 's/^\([\t ]\+\<__ADD\> \?([^)]\+)\) *$/\1,/' `git grep -w -l __ADD` Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
* route: fix return value of nl_rtgen_request()Thomas Haller2014-01-311-2/+7
| | | | | | | According to documentation, nl_rtgen_request() returns 0 on success, but before it returned the number of bytes sent. Signed-off-by: Thomas Haller <thaller@redhat.com>
* Move private header files to <netlink-private/*>Thomas Graf2013-01-241-1/+1
| | | | | | | This clarifies the seperation between public and private header files. Signed-off-by: Thomas Graf <tgraf@suug.ch>
* doc: documentation restructuringThomas Graf2012-05-101-2/+2
| | | | | | | | | | - changes the modules hierarchy to better represent the set of libaries - list the header file that needs to be included - remove examples/doc from api ref that is included in the guide - add references to the guide - fix doxygen api linking for version 1.8.0 - readd doxygen mainpage to config file - fix a couple of doxygen doc bugs
* Use name "global" instead of "universe" for largest scopeThomas Graf2011-05-041-1/+1
| | | | | This name is more widespread and easier to understand even though it is less correct.
* constify struct trans_tblThomas Graf2010-11-171-2/+2
|
* restructure module documentation orderThomas Graf2008-12-101-2/+1
| | | | split hiearchy into one top level module per library
* Rename struct nl_handle to struct nl_sockThomas Graf2008-05-151-4/+4
| | | | | | | | The idea of a common handle is long revised and only misleading, nl_handle really represents a socket with some additional action handlers assigned to it. Alias for nl_handle is kept for backwards compatibility.
* Initial importThomas Graf2007-09-141-0/+125