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 |
| | |||||
* | 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> | ||||
* | allowing silent rules in build | Reuben Hawkins | 2011-03-16 | 1 | -4/+4 |
| | |||||
* | prefix ipv6 link statistics identifiers with IP6 | Thomas Graf | 2011-03-16 | 2 | -65/+67 |
| | |||||
* | addr: hide nl_addr_destroy() | Thomas Graf | 2010-11-26 | 1 | -25/+14 |
| | | | | everyone should use nl_addr_put() | ||||
* | 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 | 3 | -15/+47 |
| | | | | The old symbols are left around for compatibility. | ||||
* | Documentation updates | Thomas Graf | 2010-11-19 | 1 | -487/+0 |
| | | | | | | | | | | | - 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 | 2 | -5/+18 |
| | | | | | | 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 | 1 | -6/+6 |
| | |||||
* | constify struct trans_tbl | Thomas Graf | 2010-11-17 | 24 | -47/+47 |
| | |||||
* | link/inet6: pretty printing | Thomas Graf | 2010-11-17 | 1 | -12/+49 |
| | |||||
* | New function nl_size2str() | Thomas Graf | 2010-11-17 | 1 | -0/+50 |
| | |||||
* | Rename nl_get_hz() to nl_get_user_hz() to indicate it's not the in-kernel HZ ↵ | Thomas Graf | 2010-11-17 | 4 | -9/+13 |
| | | | | 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 |
| | |||||
* | 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 | 4 | -8/+314 |
| | | | | | | | | 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 | 2 | -9/+43 |
| | | | | | | | | 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 | 1 | -0/+4 |
| | |||||
* | Extend rtnl_link_alloc_cache() to support address families | Thomas Graf | 2010-11-11 | 1 | -7/+82 |
| | | | | | | | 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 | 3 | -13/+17 |
| | |||||
* | link/api: Convert link info ops to use nl_list_head | Thomas Graf | 2010-11-11 | 2 | -19/+71 |
| | | | | | 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 | 3 | -13/+215 |
| | | | | | | 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. | ||||
* | link: Support IFLA_NUM_VF attribute | Thomas Graf | 2010-11-11 | 1 | -0/+28 |
| | | | | | | - parses attribute if available - provides API to access value rtnl_link_get_num_vf(link, num_vf) | ||||
* | link: Support IFLA_IFALIAS attribute | Thomas Graf | 2010-11-11 | 1 | -1/+58 |
| | | | | | | | | - parse IFLA_IFALIAS if available - provides API to access/change ifalias rtnl_link_get_ifalias(link) rtnl_link_set_ifalias(link, alias) - extends nl-link-set to test functionality | ||||
* | pktloc: support to specify a shift operator for packet locations | Thomas GraF | 2010-11-04 | 2 | -4/+14 |
| | | | | no users yet though. | ||||
* | Correctly state the process of sending a netlink message. A message | Thomas GraF | 2010-11-04 | 1 | -0/+3 |
| | | | | passes through nl_send_iovec() before hitting nl_sendmsg() | ||||
* | ematch/meta: id definitions | Thomas Graf | 2010-11-03 | 1 | -1/+44 |
| | |||||
* | Correctly parse and generate classids | Thomas Graf | 2010-11-01 | 1 | -3/+4 |
| | | | | | | | Make sure to parse strings starting with a hex represention letter but not representing a valid number as tc names. Fix typo while generating classid. | ||||
* | classid auto generation if provided tc name does not exist | Thomas Graf | 2010-11-01 | 1 | -28/+110 |
| | | | | | | | | | | | | | | | | Manually editing etc/libnl/classid before adding tc objects is a pain. This patch adds code to attempt auto generating a unique tc id which will then be assigned to the provided name and added to the classid file. This will make the following commands work with prior definitions of the names "top" and "test" sudo sbin/nl-qdisc-add --dev eth0 --parent root --id top htb sudo sbin/nl-class-add --dev eth0 --parent top --id test htb --rate 100mbit It will generate the following ids automatically: 4001: top 4001:1 test | ||||
* | Support for meta match | Thomas Graf | 2010-10-31 | 5 | -3/+513 |
| | | | | | Syntax: meta(pktlen > 768) | ||||
* | text ematch support | Thomas Graf | 2010-10-29 | 5 | -8/+265 |
| | |||||
* | attr: Add padding if nested data does not end at an alignment boundry | Thomas Graf | 2010-10-29 | 1 | -0/+17 |
| | | | | | This could happen if a user put an unaligned amount of data inside an attribute with nlmsg_append(). | ||||
* | Improved debugging messages while constructing messages/attributes | Thomas Graf | 2010-10-29 | 2 | -7/+19 |
| | |||||
* | routing rules: adapt to unified routing rules | Thomas Graf | 2010-10-29 | 1 | -216/+216 |
| | | | | | | - Use FRA_ definitions - Removed obsoleted fields - Added fwmask and goto support |