summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow NLSYSCONFDIR environment variable to overwrite built-in sysconfdirThomas Graf2011-03-244-4/+18
|
* Cleanup <netlink/route/qdisc.h>Thomas Graf2011-03-242-12/+11
| | | | | - remove dead prototypes - reformat
* Check if all mandatory attributes are present in rtnl_tc_msg_build()Thomas Graf2011-03-241-1/+5
| | | | TCA_ATTR_IFINDEX | TCA_ATTR_PARENT | TCA_ATTR_KIND
* Add NLE_NODEV errorThomas Graf2011-03-242-1/+4
|
* Set default MTU to 1500Thomas Graf2011-03-241-2/+2
|
* Fix "make distcheck".Thierry Reding2011-03-233-2/+71
| | | | | | | | | This commit adds some missing files (some header files, the files below /etc and the bison/flex files) to the distribution tarball to ensure that libnl can be built from the tarballs created using "make dist". It also adds some incantations to properly generate the flex and bison output since the generated output is no longer shipped in the tarball.
* Fix out-of-tree build.Thierry Reding2011-03-231-1/+1
| | | | | | | This patch fixes out-of-tree build, that is, when building with $builddir != $srcdir. In such a case, some generated header files are not found because they live in a different tree and can be fixed by adding the directories to the compiler's include search path.
* Omit empty nested attributesThomas Graf2011-03-231-3/+15
| | | | | Check for empty nested attributes in nla_nest_end() and omit the attribute alltogether if is is the case.
* add missing nl_cache_search in cache.hDaniel Walter2011-03-221-0/+2
| | | | fix missing declaration of nl_cache_search
* add missing checks for ROUTE_ATTR_MULTIPATHDaniel Walter2011-03-221-4/+12
| | | | | | | | | | | attached patch adds missing checks for ROUTE_ATTR_MULTIPATH when dealing with multipath routing. Affected functions rtnl_route_remove_nexthop rtnl_route_get_nexthops rtnl_route_get_nnexthops
* Documentation updatesThomas Graf2011-03-2112-74/+198
| | | | Mostly killing doxygen warnings, some doc updates to caching
* libnl-3.0libnl3_0Thomas Graf2011-03-213-5/+5
|
* fix module parent referencesThomas Graf2011-03-212-2/+2
|
* rename sch -> qdiscThomas Graf2011-03-2124-34/+35
|
* Unified TC APIThomas Graf2011-03-2164-3079/+2142
| | | | | | | | Finally got rid of all the qdisc/class/cls code duplication in the tc module API. The API takes care of allocation/freeing the tc object specific data. I hope I got it right this time.
* provide function to retrieve htb rateThomas Graf2011-03-172-0/+10
|
* Hold reference to obj while calling callback of cache iteratorThomas Graf2011-03-171-0/+5
|
* Print debugging info while iterating a cache based on a filterThomas Graf2011-03-171-2/+9
|
* Fix off-by-one when reading IFLA_INET6_CONF and IFLA_INET6_STATSThomas Graf2011-03-171-2/+2
|
* __nlmsg_alloc(): Guarantee minimal message size of at least the headerThomas Graf2011-03-171-0/+3
|
* Make struct nl_object public, NLHDR_COMMON has been public anywayThomas Graf2011-03-172-5/+6
|
* Add missing argument in rtnl_link_change exampleMiguel Di Ciurcio Filho2011-03-161-1/+1
| | | | Signed-off-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com>
* Provide numeric version definesThomas Graf2011-03-162-2/+12
|
* allowing silent rules in buildReuben Hawkins2011-03-162-4/+5
|
* Fix function nfnl_ct_del nameLaurent Defert2011-03-161-1/+1
| | | | | This function is named nfnl_nl_del in lib/netfilter/ct.c, while it was declared nfnl_ct_delete in the header.
* Include <linux/pkt_cls.h> and <linux/pkt_sched.h> in <netlink/route/tc.h> ↵Thomas Graf2011-03-161-0/+2
| | | | for convenience
* prefix ipv6 link statistics identifiers with IP6Thomas Graf2011-03-163-95/+97
|
* use linux/netlink.h instead of netlink/netlink-kernel.hThomas Graf2011-03-162-1/+229
|
* Tons of documentationThomas Graf2010-11-2720-374/+2191
|
* addr: hide nl_addr_destroy()Thomas Graf2010-11-262-29/+15
| | | | everyone should use nl_addr_put()
* rename NL_AUTO_PID to NL_AUTO_PORTThomas Graf2010-11-231-5/+8
| | | | Old name is kept for compatibility.
* Rename nlmsg_for_each_msg() to nlmsg_for_each()Thomas Graf2010-11-231-4/+6
| | | | | Also put remaining variable on local stack instead of requiring the user to supply it. Old interface is kept for compatibility.
* nl_recv(): Zero out sockaddr in case the caller forgotThomas Graf2010-11-221-0/+2
|
* nl_recv(): Make passing creds pointer optionalThomas Graf2010-11-221-2/+4
|
* nl: rename nlmsg_msg_size() to nlmsg_size(), nlmsg_len() -> nlmsg_datalen()Thomas Graf2010-11-224-24/+54
| | | | The old symbols are left around for compatibility.
* Documentation updatesThomas Graf2010-11-198-854/+1442
| | | | | | | | | | | - moved documentation from lib/doc.c to doc/src/ - splitted pages into separate files - worked over core sections, explaining the receiving and sending behaviour in much more details including the the available mechanisms to customize the behaviour - updated the html stylesheet file for increased readability, probably needs some doxygen patching to achieve what I am looking for. - enabled call graphs, not expanded by default
* Inherit return code of NL_CB_MSG_OUT in nl_sendmsg()Thomas Graf2010-11-181-2/+2
| | | | | | If NL_CB_MSG_OUT() returns anything != NL_OK, return that value to let any caller of nl_sendmsg() know that the message has not been sent.
* rename nl_send_auto_complete() -> nl_send_auto(), nl_auto_complete -> ↵Thomas Graf2010-11-183-6/+22
| | | | | | nl_complete_msg() Old symbols left to maintain backwards compatibility
* only perform automatic sequence checking if auto-ack mode is enabledThomas Graf2010-11-181-7/+11
|
* Don't build doc.c, there is no real code in itThomas Graf2010-11-181-1/+1
|
* socket: constify interfaceThomas Graf2010-11-182-12/+12
|
* constify struct trans_tblThomas Graf2010-11-1725-51/+51
|
* link/inet6: pretty printingThomas Graf2010-11-171-12/+49
|
* New function nl_size2str()Thomas Graf2010-11-172-0/+51
|
* Rename nl_get_hz() to nl_get_user_hz() to indicate it's not the in-kernel HZ ↵Thomas Graf2010-11-175-10/+14
| | | | value
* sfq: perturb period is in seconds, not jiffiesThomas Graf2010-11-171-1/+1
|
* link/inet: pretty printing, make output more readableThomas Graf2010-11-161-3/+3
|
* update Doxyfile to latest versionThomas Graf2010-11-161-544/+922
|
* Make syntax of nl-link-list consistent and install itThomas Graf2010-11-162-33/+24
|
* link/inet: documentation: add examplesThomas Graf2010-11-161-0/+52
|