Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Print debugging info while iterating a cache based on a filter | Thomas Graf | 2011-03-17 | 1 | -2/+9 |
| | |||||
* | Fix off-by-one when reading IFLA_INET6_CONF and IFLA_INET6_STATS | Thomas Graf | 2011-03-17 | 1 | -2/+2 |
| | |||||
* | __nlmsg_alloc(): Guarantee minimal message size of at least the header | Thomas Graf | 2011-03-17 | 1 | -0/+3 |
| | |||||
* | Make struct nl_object public, NLHDR_COMMON has been public anyway | Thomas Graf | 2011-03-17 | 2 | -5/+6 |
| | |||||
* | Add missing argument in rtnl_link_change example | Miguel Di Ciurcio Filho | 2011-03-16 | 1 | -1/+1 |
| | | | | Signed-off-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com> | ||||
* | Provide numeric version defines | Thomas Graf | 2011-03-16 | 2 | -2/+12 |
| | |||||
* | allowing silent rules in build | Reuben Hawkins | 2011-03-16 | 2 | -4/+5 |
| | |||||
* | Fix function nfnl_ct_del name | Laurent Defert | 2011-03-16 | 1 | -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 Graf | 2011-03-16 | 1 | -0/+2 |
| | | | | for convenience | ||||
* | prefix ipv6 link statistics identifiers with IP6 | Thomas Graf | 2011-03-16 | 3 | -95/+97 |
| | |||||
* | use linux/netlink.h instead of netlink/netlink-kernel.h | Thomas Graf | 2011-03-16 | 2 | -1/+229 |
| | |||||
* | Tons of documentation | Thomas Graf | 2010-11-27 | 20 | -374/+2191 |
| | |||||
* | addr: hide nl_addr_destroy() | Thomas Graf | 2010-11-26 | 2 | -29/+15 |
| | | | | everyone should use nl_addr_put() | ||||
* | rename NL_AUTO_PID to NL_AUTO_PORT | Thomas Graf | 2010-11-23 | 1 | -5/+8 |
| | | | | Old name is kept for compatibility. | ||||
* | Rename nlmsg_for_each_msg() to nlmsg_for_each() | Thomas Graf | 2010-11-23 | 1 | -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 forgot | Thomas Graf | 2010-11-22 | 1 | -0/+2 |
| | |||||
* | nl_recv(): Make passing creds pointer optional | Thomas Graf | 2010-11-22 | 1 | -2/+4 |
| | |||||
* | nl: rename nlmsg_msg_size() to nlmsg_size(), nlmsg_len() -> nlmsg_datalen() | Thomas Graf | 2010-11-22 | 4 | -24/+54 |
| | | | | The old symbols are left around for compatibility. | ||||
* | Documentation updates | Thomas Graf | 2010-11-19 | 8 | -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 Graf | 2010-11-18 | 1 | -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 Graf | 2010-11-18 | 3 | -6/+22 |
| | | | | | | nl_complete_msg() Old symbols left to maintain backwards compatibility | ||||
* | only perform automatic sequence checking if auto-ack mode is enabled | Thomas Graf | 2010-11-18 | 1 | -7/+11 |
| | |||||
* | Don't build doc.c, there is no real code in it | Thomas Graf | 2010-11-18 | 1 | -1/+1 |
| | |||||
* | socket: constify interface | Thomas Graf | 2010-11-18 | 2 | -12/+12 |
| | |||||
* | constify struct trans_tbl | Thomas Graf | 2010-11-17 | 25 | -51/+51 |
| | |||||
* | link/inet6: pretty printing | Thomas Graf | 2010-11-17 | 1 | -12/+49 |
| | |||||
* | New function nl_size2str() | Thomas Graf | 2010-11-17 | 2 | -0/+51 |
| | |||||
* | Rename nl_get_hz() to nl_get_user_hz() to indicate it's not the in-kernel HZ ↵ | Thomas Graf | 2010-11-17 | 5 | -10/+14 |
| | | | | value | ||||
* | sfq: perturb period is in seconds, not jiffies | Thomas Graf | 2010-11-17 | 1 | -1/+1 |
| | |||||
* | link/inet: pretty printing, make output more readable | Thomas Graf | 2010-11-16 | 1 | -3/+3 |
| | |||||
* | update Doxyfile to latest version | Thomas Graf | 2010-11-16 | 1 | -544/+922 |
| | |||||
* | Make syntax of nl-link-list consistent and install it | Thomas Graf | 2010-11-16 | 2 | -33/+24 |
| | |||||
* | link/inet: documentation: add examples | Thomas Graf | 2010-11-16 | 1 | -0/+52 |
| | |||||
* | link: define RTM_SETLINK to allow pretty printing | Thomas Graf | 2010-11-16 | 1 | -0/+1 |
| | |||||
* | link: Add missing IFLA_AF_SPEC container attribute | Thomas Graf | 2010-11-16 | 1 | -0/+6 |
| | |||||
* | link/inet: Fix array access | Thomas Graf | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | link: Fix typo, use rtnl_link_af_alloc() to make sure data buffer is allocated | Thomas Graf | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | link: AF_INET link module | Thomas Graf | 2010-11-16 | 9 | -9/+397 |
| | | | | | | | | Note: The code for this is not upstream yet. Extends the link api to allow address family modules to fill a link message and implements a AF_INET address family link module which uses the new interface. | ||||
* | link: Support for IFLA_AF_SPEC | Thomas Graf | 2010-11-13 | 4 | -9/+67 |
| | | | | | | | | This feature isn't upstream yet. It's required to test a patch in my local tree. Makes the link parser understand IFLA_AF_SPEC and call the address family specific parser. | ||||
* | link: Add support for IPv6 specific link data | Thomas Graf | 2010-11-11 | 2 | -1/+328 |
| | | | | | - parses IFLA_PROTINFO - dumps flags, cacheinfo, devconf and all statistics | ||||
* | Add support for per interface ICMPv6 statistics | Thomas Graf | 2010-11-11 | 2 | -0/+8 |
| | |||||
* | Add local copies of linux/ipv6.h and linux/snmp.h | Thomas Graf | 2010-11-11 | 2 | -0/+389 |
| | |||||
* | Add all libraries for libtool to improve linkage | Gery Kahn | 2010-11-11 | 1 | -40/+1 |
| | | | | | | | | This will fix finding libs while link, by adding them to LDFLAGS [It's no ideal but it's less of a mess than what we have now. -tgraf] Signed-off-by: Gery Kahn <geryk@ti.com> | ||||
* | Extend rtnl_link_alloc_cache() to support address families | Thomas Graf | 2010-11-11 | 6 | -14/+144 |
| | | | | | | | Adds a family argument which allows to request link dumps for a certain address family. This allows to f.e. dump ipv6 specific statistics and data. nl-link-list --family inet6 | ||||
* | Make nl_str2af return a negative value if parsing fails | Thomas Graf | 2010-11-11 | 1 | -1/+1 |
| | |||||
* | link/api: Improve API documentation. | Thomas Graf | 2010-11-11 | 4 | -17/+26 |
| | |||||
* | link/api: Convert link info ops to use nl_list_head | Thomas Graf | 2010-11-11 | 3 | -21/+73 |
| | | | | | rtnl_link_info_ops_lookup() now returns a pointer with refcnt increment, you must return it using rtnl_link_info_ops_put() | ||||
* | link: Support for AF_BRIDGE address family | Thomas Graf | 2010-11-11 | 2 | -0/+94 |
| | | | | Supports parsing of IFLA_PROTINFO returned when dumping with PF_BRIDGE | ||||
* | link/api: Check for null pointer in rtnl_link_af_ops_put() | Thomas Graf | 2010-11-11 | 1 | -1/+2 |
| | |||||
* | link: API for address family specific link data | Thomas Graf | 2010-11-11 | 6 | -92/+358 |
| | | | | | | Introduces a new API to handle address familiy specific link data such as IFLA_PROTINFO. It provides entry hooks for parsing IFLA_PROTINFO attributes and allows to include the parsed data when a link object is dumped. |