-
Paul Stewart authored
Commits: 2dbc1ca7 Generic Netlink multicast groups support 3229b32e - Prepare for 2.1.x tree - Bump interface number, we will break API in the development tree c0cd587d nl-qdisc-add tool fa894031 HTB: Append TCA_OPTIONS even if no options are set 757592ec classid database 23c61917 remove obsolete nl-qdisc-add code 18848090 pfifo/bfifo qdisc support for cli libs 27883b0f nl-class-add tool a670ee5d make nl-qdisc-list installable 420438c7 Remove NL_DUMP_ENV code cefe7db7 Make nl-qdisc-delete installable 8699ba85 nl-class-delete tool 2a9c3ef7 nl-class-list tool 3a96527f nl-qdisc-add(8), nl-qdisc-delete(8), nl-qdisc-list(8) b9d965b0 Update include/linux header copies 4c6d1c5d Unified TC attributes interface b57a697e nl-cls-* tools 65e386c8 Packet location updates 0fe5b294 Extended pktloc to support nbyte locations for ipv6, etc. d0e56454 Avoid memcpy()/memset() when reserving space for nested attributes e1eacd6b Fix use of uninitialized data at the end of netlink message d7a561a1 Tons of ematch work 2f867686 basic: Only add ematches to message if available 691905bc cgroup classifier improvements - enabled again - ematch support - cli tools module 897828de src/nf-queue: revert nonsensical change ee88c71d routing rules: mark support 6862c659 Include RTA_MARK in routing rule messages 6d434415 Updated arp and ethernet codes 873a64e2 Support for 64bit link counters IFLA_STATS64 2e6d4978 Support neighbour flag NTF_USE 48cdb1fe Support RT_TABLE_COMPAT 85852762 Revert "Include RTA_MARK in routing rule messages" 1eccb7b9 Revert "routing rules: mark support" f703192a routing rules: adapt to unified routing rules cc22992d Improved debugging messages while constructing messages/attributes 93f992ea attr: Add padding if nested data does not end at an alignment boundry c7a67378 text ematch support 7903d6ab Support for meta match 4267d8f3 classid auto generation if provided tc name does not exist 4e48d90e Correctly parse and generate classids 54e2539c nl-qdisc-list: --recursive - print tc objects recursively df36c25b nl-classid-lookup: Added --raw option to print classid without pretty printing it d95a4193 ematch/meta: id definitions 738ee7fe nl-qdisc-delete: Do not attempt to delete default qdiscs d283c8e8 Correctly state the process of sending a netlink message. A message passes through nl_send_iovec() before hitting nl_sendmsg() 59880cb0 pktloc: support to specify a shift operator for packet locations 8970c5cd link: Support IFLA_IFALIAS attribute fd857eeb link: Support IFLA_NUM_VF attribute - parses attribute if available - provides API to access value rtnl_link_get_num_vf(link, num_vf) 3fa6a6b4 link: API for address family specific link data 280d457c link/api: Check for null pointer in rtnl_link_af_ops_put() 800013b7 link: Support for AF_BRIDGE address family 67aeb747 link/api: Convert link info ops to use nl_list_head 12b82e4f link/api: Improve API documentation. 2847cf08 Make nl_str2af return a negative value if parsing fails 7ff4deeb Extend rtnl_link_alloc_cache() to support address families f64ebab0 Add all libraries for libtool to improve linkage 407e9eb0 Add local copies of linux/ipv6.h and linux/snmp.h e69efadc Add support for per interface ICMPv6 statistics a4efc65c link: Add support for IPv6 specific link data - parses IFLA_PROTINFO - dumps flags, cacheinfo, devconf and all statistics 2e3ca4db link: Support for IFLA_AF_SPEC 53015f83 link: AF_INET link module b6592cb5 link: Fix typo, use rtnl_link_af_alloc() to make sure data buffer is allocated e2099719 link/inet: Fix array access 2575d031 link: Add missing IFLA_AF_SPEC container attribute ee57cc71 link: define RTM_SETLINK to allow pretty printing 01bc3c58 link/inet: documentation: add examples a3ea8a60 Make syntax of nl-link-list consistent and install it f56317f4 update Doxyfile to latest version 4d28cc51 link/inet: pretty printing, make output more readable 3a956200 sfq: perturb period is in seconds, not jiffies 10424b20 Rename nl_get_hz() to nl_get_user_hz() to indicate it's not the in-kernel HZ value d8eeb0a2 New function nl_size2str() 98ffedec link/inet6: pretty printing cf5577d2 constify struct trans_tbl c32c3f36 socket: constify interface 09daef3d Don't build doc.c, there is no real code in it 063a2ebf only perform automatic sequence checking if auto-ack mode is enabled 8a365dbd rename nl_send_auto_complete() -> nl_send_auto(), nl_auto_complete -> nl_complete_msg() 5a08c8ff Inherit return code of NL_CB_MSG_OUT in nl_sendmsg() 65452061 Documentation updates - 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 e52a09c5 nl: rename nlmsg_msg_size() to nlmsg_size(), nlmsg_len() -> nlmsg_datalen() 9fbdf6c9 nl_recv(): Make passing creds pointer optional 4fb528bb nl_recv(): Zero out sockaddr in case the caller forgot 9513d4ce Rename nlmsg_for_each_msg() to nlmsg_for_each() c158d06b rename NL_AUTO_PID to NL_AUTO_PORT 7105aea1 addr: hide nl_addr_destroy() 56445781 Tons of documentation 82fe7858 use linux/netlink.h instead of netlink/netlink-kernel.h 4b0126b8 prefix ipv6 link statistics identifiers with IP6 2d1626b3 Include <linux/pkt_cls.h> and <linux/pkt_sched.h> in <netlink/route/tc.h> for convenience 5f3dbf80 Fix function nfnl_ct_del name b5c474e5 allowing silent rules in build d8d67c0a Provide numeric version defines 59c3474b Add missing argument in rtnl_link_change example ae5dfb1c Make struct nl_object public, NLHDR_COMMON has been public anyway 5a9f50b8 __nlmsg_alloc(): Guarantee minimal message size of at least the header 2c758860 Fix off-by-one when reading IFLA_INET6_CONF and IFLA_INET6_STATS 33e94038 Print debugging info while iterating a cache based on a filter 552c85ca Hold reference to obj while calling callback of cache iterator 5dc897d5 provide function to retrieve htb rate 8eb5b553 Unified TC API 45941f9d rename sch -> qdisc 722a2277 fix module parent references 55f803c6 libnl-3.0 c1073d61 Documentation updates f0603a46 add missing checks for ROUTE_ATTR_MULTIPATH 38db636f add missing nl_cache_search in cache.h a0fe7a1c Omit empty nested attributes 913579b4 Fix out-of-tree build. 9f1abddb Fix "make distcheck". 14fa557b Set default MTU to 1500 93b6c114 Add NLE_NODEV error a62bfdb8 Check if all mandatory attributes are present in rtnl_tc_msg_build() 8d549341 Cleanup <netlink/route/qdisc.h> - remove dead prototypes - reformat f523f297 Allow NLSYSCONFDIR environment variable to overwrite built-in sysconfdir e4b507e2 Deprecate rtnl_qdisc_foreach_child() and rtnl_qdisc_foreach_cls() 7e9d5f69 correctly handle the object not found case 23845e94 Add nl_send_sync() 747b892c Qdisc API improvements and documentation 7c620500 trafic class/classifer API improvements and documentation 350b15f9 Move to asciidoc 475dffa6 Provide TC_HANDLE(maj, min) macro to generate tc handles 2dbe7d7c Initialize dump buffer in case caller missed it ef327ffd Provide nl_object_dump_buf() to easily dump to buffers 23c27b47 Provide nl_cache_set_arg{1,2}() to specify cache args 0893aafc link: Make return and argument type match 41fb241b link: Provide rtnl_link_delete() to delete virtual links 48d543cf API to issue direct GET requests to the kernel b5918b5c fix line removed by mistake 96bc6d6f Improve rtnl_link_change() behaviour e81814a2 Support for rtnl_link_add() 5a661019 dummy interface support 8ffab456 export rtnl_link_add() and rtnl_link_build_add_request() 3d70697e Add support for ARPHRD_NONE 36b04747 Support link info types with no payload 4c6dd3a8 Expose <netlink/route/link/inet.h> fac48856 Improve readability of classid string representation c18730dd Set tc->tc_link if link cache is available 83f14112 Fix clone() of AF specific link data daefa769 Provide rtnl_tc_get_link() and fix link refcnt cc33b094 Add missing declaration of rtnl_tc_get_link() cb6a089d Adding rule with "From" option doesn't work d44c31da addr: store link object and provide rtnl_addr_get() 023c6623 Use name "global" instead of "universe" for largest scope f443be6e python interface to netlink protocols 4cb1666f Provide silent variation of nl_cache_require() ed69b2a7 Add rtnl_tc_data_check() 58e0e1ed Add nl_rate2str() aba36899 Provide documentation for rtnl_tc_data() and rtnl_tc_data_check() 053c93fa Update local copies of include/linux 09210d96 HTB: Add support for level and direct pkt stats, complete access functions e56eb065 Work on libnl-python 4806c5c0 Don't redefine offsetof when already defined by e.g. stddef.h c881908a neigh: include ndm flags while building message ca0fc755 socket: Set SOCK_CLOEXEC if available 21d52eab Support for NLM_F_INTR 63548f56 documentation updates 7d484555 Documentation updates dea6de42 Include IFLA_LINK in link messages 50074732 more documentation updates - improved stylesheets for both doxygen and asciidoc - use of xml doxygen layout - python script to resolve <<foo>> asciidoc references to <<foo, title>> based on the target caption - graphics for netlink and netlink error headers - more link documentation 4d238362 bonding link module c79ab52d ignore various generated files 49d29e9c ignore python build directory 16d38a49 Use 'link type' instead of 'link info type' 8219cc79 VLAN: rtnl_link_is_vlan() function and API documentation bf1b5d28 removed autogenerated swig interface files from git tree 20e97976 use rtnl_link_set/get_type() f3ee2167 include <linux/if.h> from <netlink/route/link.h> to export IFF_* flags 915a23fd Hack doxygen CSS to avoid stupid margins in modules listing 70c93717 Updated link documentation f1c8d5b0 3.1 release f9993836 Remove write-only variables in lib/cache.c 7701c857 Make some functions and global variables static bbe5e942 Put "break" inside the "if" block in route_compare() d886de5e Allow building documentation out of the tree b5d081d1 Avoid freeing memory if vasprintf() failed 569bec5b make port map thread safe 7a46ef07 Include all files necessary to build documentation in distribution d8d96bb2 link: fix unaligned access to 64bit link stats 23333e5e python: Include python/ in distribution and provide a README on how to build & install cc9ae9b3 doc: need to include @srcdir@/src not @top_srcdir@/src 4be7adbb htb: fix misplaced memset() overwriting already set htb prio option b3670241 Local port leak on nl_socket_alloc/nl_socket_set_local_port(, 0) eabb7539 nl-link-name2ifindex: fix usage text 6faeffe6 socket: introduce nl_socket_modify_err_cb 17781e44 socket: fix two typos 7adaad78 genl: genl_ctrl_grp_by_name: fix retval in case group id not found f1d9e9d5 64bit unaligned access b4b853e5 Do not require python and swig to be present db6de563 fix license of lib/route/pktloc.c 7ac948c6 Remove GPL-3.0 license file. 80569bb2 remove dist lines for non existing files 2a37ab5f prepare for 3.2 release 5a59cf85 asciidoc xhtml stylesheet 7b0d063f lib: Use @MAJ_VERSION and @MAJ_MINOR@ for -version-info 226b3875 Install headers in ${includedir}/libnl3 6e5332b8 Inform users about changed include location at end of configure script a73cb2f2 build: always install files into /etc/libnl 4c210adc Switch to libtool versioning system b50195c6 addr: Add missing header to <netlink/route/addr.h> 6d93b831 route: Remove dead link_cache variable 109ea68a tools: Use LDADD and link against .la files instead of LDFLAGS and -llib 67bd56f2 Fix a73cb2f2 fallout to allow building in separate directory 5151cbc2 link: Eat ACK followed by RTM_NEWLINK when requesting single link 96f17ce1 bonding: API to create/enslave/release 15b13ddb bonding: Install <netlink/route/link/bonding.h> 076909aa Bonding: Fix header guard of <netlink/route/link/bonding.h> 0d9958e9 Ingnore src/nl-link-enslave and nl-link-release 1c9b175a Provide micro version in <netlink/version.h> d3bb7c9c 3.2.1 release f90dc636 Add libnl-cli-3.0 to pkg-config tool d17379d1 Fix rtnl_link object memory leak when freeing rtnl_addr objects. 6c70cf7d Don't install CLI header files when --disable-cli has been configured. 790966d6 Only use the MULTIPATH attribute when adding routes with more than one next hop. 30d3f8c1 utils: Initialize list head after freeing translation list 2bcd8ecd cache: event_filter() cache operation to filter notifications 7f20c57e link: Ignore bridging notifications in link cache manager 9c7593cc python: Link against nl-3 and nl-route-3 8104b52f Fix typo in debug message 659b6d6f bump to 3.2.2 03f3a587 link: generic link enslaving API bd700094 add missing IFLA_MASTER fillup 32f30b73 release 3.2.3 88940b71 build: simplify optional dirs/files in Makefile.am processing ef75c4ed link: allow to add/get linkinfo of unknown type 847e269c rtnl_link_bond_add: allow to allocate bond name in case NULL is given 4a7791ec dsmark: Add missing declarations for rtnl_class_dsmark_(get|set)_bitmask() 98197174 avoid dangling co_major_cache reference to NL_AUTO_PROVIDE caches d7222e5d 3.2.4 release 794ac78c nl_addr_cmp(): handle prefix length during address comparison 4035e5b5 link: fix regression in link message parser 9015d115 3.2.5 release d111b1df cli: Use -avoid-version to link cli modules c857625b Update COPYING to fix FSF address 83ab0ae8 man: Remove bogus .LO macro in manpages 4cc1daab 3.2.6 release 9cbcbca7 3.2.7 release a39bb563 add new function to provide neighbour event parsing a17970b9 Support plug qdisc - queue traffic until explicit release 0b403641 Add new nl_cache_clone() function. f7d06614 doc: Fix typos in autoconf example 965fd780 missing extended Table attribute for lib/route/ 7d47666e doc: Fix incorrect nl_socket_add_memberships() example f54ac3d5 Memory leak in classid.c 073ef6a6 genl-ctrl-list: Introduce -d|--details as a shortcut for --format=details 5399b3d1 genl-ctrl-list: Provide manual page 4a2962d8 genl-ctrl-list: fix copyright and summary 5f4d4d3b genl-ctrl-list: Mark for installation 653ea345 cache_mngr: document uncommon error codes 9af54690 tests: Convert tests/Makefile to use automake e78975ae tests: fix test programs to compile again b3201125 cache_mngr: Don't modify callback setup of socket c55acc43 cache_manager: Move documentation to doc/core.txt e34ed950 cache_mngr: Automatically allocate socket if needed a143037f test-cache-mngr: Let the cache manager allocate the socket adbc5687 cache_mngr: Fix memory corruption after resizing e0482794 nl: Make nl_recvmsgs() return the number of netlink messages processed a518a318 cache_mngr: Let nl_cache_mngr_data_ready() read multiple messages 743756f3 cache_mngr: API doc updates 51653662 cache_mngr: Provide nl_cache_mngr_info() to pring cache manager details 2ed371eb test-cache-mngr: Allow for management of arbitary caches via argument string 2e93940a cache_mngr: Make providing the result pointer to nl_cache_mngr_add() optional 8bbcd220 genl: Make genl_unregister() a NOP if NULL pointer is passed 2e23491c cache: improve documentation of co_event_filter bd1e4d03 cache: Add co_include_event allowing caches to provide their own nl_cache_include() implementation ff3e9e31 object: Add functions to access the object type, cache and object ops ad5d2b77 3.2.8 release d726ecd2 Fix two bugs in 3.2.8/doc/ 6f156a7b nl: Fix return value of nl_recvmsgs() f8b4f927 3.2.9 release beb40e2b u32: add support for hashing 7b503a12 u32: example/test code for u32 hashing with HTB 183e8691 doc: Check documentation generation requirements with autoconf 2fbab02b doc: add section about addressing 100403a9 route: Add FIXME to rtnl_route_nh_set_gateway() to fix return value 32057bc1 __str2flags fix fec10a28 doc: documentation restructuring 996b5029 FTBFS with musl libc: Missing includes 6627ec38 tc: fix included headers 24d577c9 u32: fix various u32 hashing related warnings ca883b61 Fix for dumping objects to a buffer instead of file descriptor 9bb30a5e add fwmark mask support 970f5d02 correct HTB rtable/HZ calculations d733f8a0 use MSG_TRUNC flag to get recv message size at once 0b70de51 genl: updates to API reference documentation 71b442b9 genl: Add genlmsg_hdr() 3656b6f9 genl: Add genlmsg_user_hdr(), genlmsg_user_data(), and genlmsg_user_datalen() faef2fa4 genl: Support registration of families without depending on caches 8fad2e31 genl: Export genl_ops_resolve() and genl_mngt_resolve() in header 43eab469 genl: Update genl-ctrl-list(8) 0c408aad genl: modify genl_ctrl_resolve and friends to allow for module auto-loading 405d1682 libnl 3.2.10 2275bb0a Fix compilation with clang d3dcde25 rtnl_netem_set_delay_distribution: fix possible segfault d8a25e4c netem: Use ARRAY_SIZE() bf54d6d0 Fixed address deletion 9d60ef0d Removed generated .pyc files from repository 1e75bd00 Make syntax highlighters happy f55ea7ff Fix typo in still unused function that generate colored message 4be1ae2a Introduce Python's absolute_imports b369d22f Fix whitespaces at EOL 38fefc5c Fixed various str-related logick c1547d90 Flags properties description and implementation fixed fb890a5b Code cleanups 83f06bfb Fix indentation (spaces vs tabs) 8959d95e Using only single quotes now and multi-line lists 454ea4a5 pylint's first review and trivial fixes 482c602b Refine some places 08e8b35d Remove unnecessary comments 139e3d32 nl_pickup removed from python binding 87d37091 netlink.nlattr re-implemented in more pythonic way dca358c6 rtnl_link_(get|set)_weight is deprecated in libnl. ffa461d3 Fixed memory leak in Cache destructor 3c532654 Add 'ingress' to the list of recognized TC handles. 84037bec Correct missing fwmark mask proto. 69da6af3 genl: Wait for ACK after successful ctrl reply 49fe936b genl: cleanup genl_ctrl_resolve() 4f933648 link: rtnl_link_get_kernel() should only wait for ACK if AUTO-ACK is on 2bdcde7e Fix types-related warnings based on clang diagnostics 941ba950 libnl 3.2.11 9426d03e tbf: fix false missing attr 052a1311 nl_cli_route_parse_table fixed typo in code a0f1c0e2 ct_dump_stats: detect when stats are not available 25d640da lib/utils.c: One kilobit now is a 1000bits (instead of 1024) 8222519f Fix the always false if (a->rt_nr_nh != a->rt_nr_nh) test 376a0e29 Fix build warning after const char ** convert 97d2460f route_clone : fix segmentation fault using nl_cache_subset to filter routes de28daf2 nl_addr_parse handling of 'default', 'any', and 'all' b62e019a single nexthop flags bug d10d9633 Added lex.yy.c to .gitignore 582a3243 Run-time version information is now available ab15d06d "%llu" replaced with "%" PRIu64 8cd2f572 Fix typo in textual description in ct_dump_stats() a2b23ffe Fix warning "not checking return value of fscanf" in lib/utils.c: get_psched_settings 5eee974e Prevent potential socket file descriptor leak 717fabc4 configure: Check for graphviz and source-highlight before building documentation b377ab1b route: Document ROUTE_CACHE_CONTENT flag 5eeb3d3e doc: Update Doxyfile config to latest release 929bd015 configure: Check for pygmentize when building docs 3bf8712f 3.2.12 release 8f2ce4d7 More clean NL_AUTO_PORT and NL_AUTO_SEQ usage in nl_complete_msg 00261259 Address comparison bug fixed 49c94c34 genl_ctrl_probe_by_name: fix checking of genlmsg_put() return value 49be8cd2 doc: Update Doxyfile.in to latest syntax b1e0a0ca Remove auto-generated Doxyfile from git a8202228 asprintf related fixed in yy parser fddba713 libnl-3.2.12 - ./configure --disable-doc: error: conditional "LINK_DOC" was never defined. \ Usually this means the macro was only invoked conditionally. ce72837c 3.2.13 release 72c2cb9e Enabled the use of Links as context managers. e4192ff9 nl: Provide API to specify the default buffer size when receiving netlink messages 6ac07179 link: Support IFLA_PROMISCUITY link attribute d2876f86 link: correctly set LINK_ATTR_PROMISCUITY 36ed882e link: Support IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES 7f6880ce link: Only print "promisc-mode" if users > 0 f2e2e7fe link: Include IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES when building messages 36139cf1 doc: Provide documentation for link promis counter and rx/tx queues a35287a6 link: Support link grouping c3376e7d Conntrack Dump ICMP 2d674fed doc: mark route.txt as WIP db138439 doc: Split doc/ into separate packages 65c3919f Only include doc/ in dist 1fa61d18 3.2.14 release 5535f597 Don't include doc/ in toplevel dist 787f14db genl/family flags can be damaged during the auto-indentation. fedb862e ROUTE_DIFF result was not used in some place in route_compare e1b67fb2 Clang diagnostics e7ec197d nf-log example: correct copy-range parsing 9d6b104e nl_recv(): "else if" logick simplified and refined 69468517 nl_recv(): Memory allocation errors are handled properly now 2249eaeb nl_recv(): EWOULDBLOCK return value also checked da694e6c nl_recv(): small code cleanups 420e4623 nl_recv(): work with credentials only if "creds" given and NL_SOCK_PASSCRED set 3c1ab421 add missing '}' in __cplusplus namespaces 40457db1 Exp checkpoint 20035ce0 Checkpoint: compare function e8b3356d "checkpoint" c675bf04 Checkpoint before compilation attempt f111efd8 Successful compilation of libnl-nf with expectation 4a702e6b Starting CLI work daf5f93a Compile CLI 453492c9 Expectation get cli tool 3cb581d5 update gitignore d3bec59e bugfixes 547c8f6d reinit port numers on tuple dump 41645957 Bugfixes 07418658 define advanced attributes out 2d707513 Updated nfnetlink includes; removed ifdefs; added delete exp program d2fff93c Source cleanup for upstream a8ef3525 Add configure option to disable pthreads support 503270c1 Remove unreachable code 16e54c4e Add missing va_end() calls 3750e2ac Set err and free ntbl when leaving neightbl_msg_parser 690264a1 Add new object op oo_id_attrs_get bc7c822f Add support for updating objects in the cache ceb8fb9e Document buffer size limitations of nl_recv() 6d52ae64 nl_recv: Don't update *buf in error path fb42f19e nl_recv: improve function documentation eb360669 nl_recv: return NLE_INVAL if buf is NULL 220d8e14 nl_recv: return NLE_INVAL if socket address pointer is NULL 65f97deb nl_recv: fix indent style b25f26b8 socket: document nl_socket_get_fd() 8f475017 nl: improve nl_sendto() docs and error checks a721c1d4 doc: increase dot max graph nodes to 100 b132ee7e nl: improve API doc of transmit functions fd6f205f nl: Allow to overwrite nl_send() b28c25eb nl: Improve API doc of nl_connect() and nl_close() 665464cd nl: Improve API doc of nl_send_simple() a8741fab Add hash function c6f89ed0 Add nl hashtable structures and access functions 55c0e036 Add hash support in cache mngr e16e8fdc Add hash support to link cache 6f24cf12 Add hash support to neigh cache a2207c7b Add hash support to route cache 5641c0ea Hash: Properly prefix hash functions ae1e2368 hashtable: Add API reference documentation 59a6b003 hashtable: Fix reference leak in nl_hashtable_free() b66d2671 hashtable: remove doc section crashing doxygen 7e075c60 doc: update Doxygen layout file to latest format 5a047603 addr: Return -NLE_AF_NOSUPPORT when trying to set unsupported attributes 3132db51 addr: rtnl_addr_set_peer() is limited to IPv4 c83ecb38 doc: Revert to default stylesheet dd8a87da Add support for per cache flags 30d86265 New cache manager add cache api 0bd14aa2 Add NL_CACHE_AF_ITER support during refill and resync ce72565f cache: Move NL_CACHE_AF_ITER to <netlink/cache.h> 57340112 cache: Fix typo in API doc of nl_cache_set_flags() 8ffa257b cache: Move nl_cache_ops_set_flags() to cache_mngt.c ea79a762 addr: Support setting local/peer/anycast/multicast/broadcast address to NULL 125119af Add AF_BRIDGE support to link cache 64fcb47a Add AF_BRIDGE support to neigh cache cb25338a Add master support to rtnl_neigh for AF_BRIDGE objects c658a6ee cache: Add reference counter to caches 3ed1f9ab cache: Hold cache reference while a cache is being provided 20efa14e lock abstraction layer f5af5c5e cache: rwlock accesses to cache operations 74926f92 link: Protect registration of af and link ops with rwlock 1a2c3e36 cache: Add reference counter to cache operations 2b3912a3 cache: Provide safe versions of nl_cache_ops_associate() and nl_cache_ops_lookup() cb82c2a5 use safe cache lookup variants internally 235aa7ff cache: hold a reference to the cache ops while a cache is provided over it 23c4ef67 Use NL_DBG() instead of printing warnings and errors to stderr 00132b46 cache: provide safe variant of nl_cache_mngt_require() and use it 4d94ed5f Bug Fix: Add new fill socket to cache manager a2c4bd8f Updated configure.in to make sure bison and lex are installed. 0a9d5fcf configure: Replace broken AM_PROG_LEX with AC_CHECK_PROGS 3163fa70 cache: reserve room in cache_ops to avoid breaking module ABI too frequently ed3d7066 Include the newly added header files in next release 05a6723e 3.2.15 release 4149154c cache: only continue iterating over co_groups if it is available f535de36 3.2.16 release a96a3b68 build: rename configure.in -> .ac 9d925645 build: resolve automake-1.12 warnings f3cd3fe9 build: use AC_CONFIG_AUX_DIR 0ba9e993 build: use foreign mode ab7f42e0 build: resolve lex failure 52511886 link: basic socket-CAN support c86088ff link: socket-CAN helper functions 68967eb1 Fix python detection code de141363 Fix make check when using --disable-cli 913a689d can: provide local copy of <linux/can/netlink.h> 7c85b8a5 netfilter: update local header files 89e1b302 Included defs.h so DISABLE_PTHREADS is visible. 25c407c7 Re-adding #defines for __aligned_be64 for older kernels 29b71371 route cache: Fix handling of ipv6 multipath routes 20a05123 Bug Fix: cache_include: Fix object ref release after successful object update 91ab1bea make: automake provides a cscope target these days 96bb7c9a cache pickup: Avoid duplicates during cache pickup de213328 cache: Take cache_ops lock when modifying cache ops flags 69719322 Fix file descriptor leak on error 5d536261 nlmsg_ok comparison between signed and unsigned 6369e1fd 3.2.17 release 00a5879e Add <netlink/route/link/can.h> to dist target ba38f391 cache: make sure the user has specified a callback de5744fb build: Fix distribution to include 'nfnetlink_conntrack.h' 383ff943 fix include/Makefile.am f1237954 3.2.18 release 3540e44b link: add carrier support b1ebda92 cache: Add new nl_cache_find api 09213ee5 link af ops: Add new ao_compare op to compare link af_data 310ec86b Add ao_compare support to bridge family af_data 6b4a2cb6 3.2.19 release 99399ca9 Add new rtnl_link_af_data_compare function to compare af_data 5c3f2f01 link: Add af data compare to link objects 5291af6f link: fix reference leak in rtnl_link_af_data_compare() 7559157f Undo soname bump f20bbe1f No longer install module API headers 2b96c338 Remove obsolete release notes at end of configure 1481f97d route cache: This patch adds route priority to route object oo_id_attrs 26e22d88 3.2.20 release 1419851e fix includes after removing some headers 9680f910 Move private header files to <netlink-private/*> 1b9de9a4 Provide compat headers for removed private API c6abb44e Fix test-cache-mngr test c4f80336 Fix build warnings of nl-(qdisc|class|cls)-add 776cde0a Remove obsolete warning from <netlink/object-api.h> as it breaks NM build b6afd0bf Provide better help text when bumping CURRENT,AGE,REVISION 83c762d7 3.2.21 release 56352ab9 netfilter: expectation NAT direction is 32 bit attribute 87244f73 netfilter: keep 8-bit API for 32-bit NAT dir attribute 6cc5fdc0 can: add helper function to get CAN bus state b06c23a9 link cache: remove AF_UNSPEC check in rtnl_get_link and rtnl_get_link_by_name 4f088d38 netfilter: correct error in construction of NAT tuple 87458abb Fix mask calculation in nl_addr_cmp_prefix() 2005c2ec cache: Make NL_ACT_* and nl_cache_ops_(get|put)() available 8571f58f neigh: Remove check for AF_UNSPEC in rtnl_neigh_get() 1c244801 can: Include "linux/can/netlink.h" in the distribution 506020ae can: Fix nested message creation in can_put_attrs() 8b8e26b3 link: Fix af_ops leak on ENOMEM 2d36371a link: Keep reference to af_ops during lifetime of link object e5767684 link: Modify link policy on the stack 4a793a42 link: Hold af_ops reference for each AF_SPEC block during lifetime of link object 8026fe2e link: Free and realloc af specific data upon rtnl_link_set_family() 9f8548b5 attr: Provide nla_is_nested() function fd19dae3 bridge: Support the new bridging attributes 5a5aa731 bridge: Provide rtnl_link_bridge_alloc() bb9911b5 netlink: Forward declare frequent libnl types to ease inclusion deps ee4122a1 vlan: Provide rtnl_link_vlan_alloc() 1ecf98a2 bond: Provide rtnl_link_bond_alloc() 8f151fad link: move af_data_compare to the end ded20487 link: Fix rtnl_link_af_data_compare return value 4d7680c1 Use thread-safe strerror_r() instead of strerror() 9e6cdbf6 attr: Add nla_nest_cancel() to remove partially added nested attributes 60b370de attr: Do not enforce maximum length for NLA_FLAG attributes 64315f73 attr: No longer warn about attribute of type 0 1395c699 attr: Warn application if nla_parse() observes same attribute multiple times c608b4d1 msg: Pretty print padding attributes in nl_msg_dump() f72bfc72 msg: Pretty print error message header even if incomplete f0f33c39 addr: Reset unused portion of binary address in nl_addr_set_binary_addr() 88527534 addr: improve API reference documentation for nl_addr_*() 780a0423 addr: Update to latest address familiy definition for translation e09e7f10 tests: Add check based unit test system 549d26dc rtnl-addr: Inherit prefix length to nl_addr objs in rtnl_addr_set_prefixlen() b39c9f7a rtnl-addr: Fix invalid call to nl_addr_set_prefixlen() if neither local or peer address are present 4db11517 Remove superfluous declaration of rtnl_route_put() 23e26e9e Remove rtnl_link_free() declaration from the header file. 6c9be5a3 nl-route-add: Add NLM_F_EXCL flag to route add aad041c4 genl: Provide internal function to resolve name to id ad545f28 genl: Update mt_id of cache ops when resolving genl id f9241d57 cache: Improve debugging messages of cache operations ff567100 nl: Print file:line:func in debugging messages and provide --disable-debug to disable debugging 18152ca9 ct: add ICMPv6 type,code and ID df66b0f2 genl: Fix cb reference leak in genl_ctrl_probe_by_name() 375a6294 nl: Return -NLE_AGAIN if non-blocking socket would block 56eb22fa msg: Pretty print generic netlink header in nl_msg_dump() ea436445 Perform no operation on nl_object_free(NULL). d3cf89ea addr: only translate more recent address family names and ARP types if defined d505165f autoconf: Use PKG_CHECK_MODULES() instead of AM_PATH_CHECK() ead4cdeb tests: Make unit test building optional c07a6a30 attr: nla_is_nested() must access nla_type directly 59db7fb3 dump_attrs: "NLA_F_NESTED" => nla_is_nested(nla) 33396fac Fix leak of cb if nl_socket_alloc_cb() failed to allocate socket 3a6d256d attr: Fix typo in nla_is_nested() 979ea335 Wrong calcultation in nla_reserve ffc0ee35 configure: Convert ENABLE_UNIT_TESTS to a mere AM conditional 4e9aa6a9 tests: Add basic attribute unit tests ed1f4cba tests: Include util.h in dist 183052d0 Prepare for 3.2.22-rc1 release 8983fa99 rtnl_link_af_unregister: fix locking 807fddc4 nl: Increase receive buffer size to 4 pages c4d846f2 3.2.22 release c76393e2 Add macvlan support 87bbfb6b Default to comparing all attributes if no oo_id_attrs defined 53ac502a Handle -NLE_AGAIN in nl_cache_mngr_data_ready 34a96ba5 netfilter/queue: generalize nfnl_queue_msg_build_verdict() d612180c netfilter/queue: introduce nfnl_queue_msg_send_verdict_batch() 01cfa9c1 msg: Avoid returning a negative value for nlmsg_attrlen() cd1c1e10 tests: use AM_CFLAGS instead of CFLAGS directly 2d0810eb socket: Warn via debug message if local port namespace is exhausted 408a1b8f cache: Return -NLE_PROTO_MISMATCH if socket provided mismatches cache protocol c08aacc2 handle the case where 0 is passed to nl_size2str e77ea939 add support functions for attributes and callback handlers 7dc033f5 add python module for generic netlink library 89b00119 add generic netlink functions to swig 81d2b1d5 Add support for inet diag Netlink protocol. b3fb89f4 Handle the case where nl_msec2str is passed 0 msecs 162c906b Add VXLAN support. 57f1d9f0 link: add support for IFLA_PHYS_PORT_ID c97c8c2b Add idiag-socket-details 2ef91dac More safely parse vegas info and mem info. 0eb665c6 Enable linker versioning 6f37b439 fix double free caused by freeing link af_data in rtnl_link_set_family() c31467e0 Priority of the '<' operator is higher than that of the '=' operator 8a4f16b5 Call to_msg_fill_raw when defined to_msg_fill is NULL 56d2bbe1 netfilter/ct: support optional CTA_TIMESTAMP attribute db08ef44 netfilter/ct: support optional CTA_ZONE attribute 9828326c add python examples using swig provided api 93462690 nl_cb: store nl_cb_type in struct nl_cb 86207d47 python: rework netlink callback handling 2d55872f use Callback object constructing Socket 522cf98f python: allow callback function to be a class method fa234140 python: remove unnecessary callback type definitions 67268951 python: fix typo in Socket::__str__() function b9284bcd python: add send and receive functions to Socket class ae7f8cc9 python: remove use of PyArg_ParseTuple() for callback result f2e6f502 python: fixup VLANLink() initialization a4e588d0 Fixed ObjIterator for python3, fixed output of _color and added missing parameter to nl_cache_resync 1daa48c4 nl: Fix comment typo on recvmsgs 27019c56 nl-link-set: Add --state option fdd1ba22 route/link: fixup link->l_af_ops must be set for some kind of links cb034e12 test: add bridge creation sample defebe30 python: add basic netlink protocol bridge interface support 07669b0b test: add python bridge testing sample 978bb85c python: add bridge flags API d976e2e6 obj: Check for NULL pointer in nl_object_clone() 549010c5 rtnl-addr: set ifa_flags when creating/updating address 74db3002 libnl-3.2.23-rc1 release 72bf3636 doxygen-link: Be python3 compatible 3151eda8 doc: Add instructions on how to build docs 7f066d00 Fix up -rc1 versioning to not be included in libnl_micro_version 71ad234b include: Provide <netlink/route/link/vxlan.h> in distribution f44b82fa libnl-3.2.23-rc2 release ac344b9b tests: fix make test-create-vxlan 60ceeef9 3.2.23 release 43e9438d add ingress qdisc 1f3511c1 factor out rtnl_link_fill_info() 42631067 add veth link support 760bfaba add link netns support 678753ba factor out rtnl_link_info_parse() 2ae52984 python: Include all files in distribution 2d20d097 Remove extra memset from __nlmsg_alloc 4f075a4f do not compile some address families when not available d6cfd047 add initial tc action support 9073aaf6 add mirred tc action 6cdc32df add u32 action support 2e90ed51 add u32 action test 24e8b522 basic: add action support ff940459 add veth.h into include/Makefile.am 04040110 link: Fall back to global provisioned link cache if object is not a cache resident 3ddecb36 fix linux/pkt_act.h inclusion d969a19d add fq_codel qdisc ae19ac01 add fq_codel cli module bda0f668 build: separate compiler and linker flags 6a8d90f5 attr: Allow attribute type 0 b50a36bf The commit 6a8d90f5 "attr: Allow attribute type 0" intended to allow the parsing of {netlink,packet,unix}_diag, even if they are using type 0 for valid attributes. 8b87ae55 fix rtnl_link_info_parse() and rtnl_link_fill_info() aa1c5628 add a parameter to rtnl_link_veth_add() 2b7d1d5a add declaration for rtnl_cls_change() b5309e1e fix a bug in rtnl_act_fill() 017c9711 rename rtnl_mirred_set_index() to rtnl_mirred_set_ifindex() ffbfe92d add rtnl_mirred_get* functions 507897a5 u32: add action removal API efdde42f basic: add action removal API 4b848360 basic: Add missing declaration for rtnl_basic_add_action() 438e3ff2 fix some typo in lib/route/act.c a858d996 basic: Declare rtnl_act in basic.h to silence warning ea0eec9d add an assertion in rtnl_tc_set_link() 7744a5a7 Revert "basic: Declare rtnl_act in basic.h to silence warning" 85c01924 Revert "basic: Add missing declaration for rtnl_basic_add_action()" c855e4fe add declaration for rtnl_basic_add_action() bc717a9b cache: Add missing declaration for nl_cache_find() d7aca177 u32: add rtnl_u32_get_key() 02c9c251 build: fix build failure when using different build dir (make distcheck) 62c37faa libnl-3.2.24-rc1 release 2cf635b0 route: add libnl name prefix to global variable link_policy 42c41336 add support for IFA_FLAGS nl attribute dcc0baac addr: add address flag IFA_F_MANAGETEMPADDR 8dabf9fb bridge: add rtnl_link_add_bridge() function aa8877d5 act: remove rtnl_act_alloc_cache() b203c89d addr: add address flag IFA_F_NOPREFIXROUTE 815e192d python: fix build error for missing library_path in setup.py 894acf79 doc: fix typo in documentation 1a510c57 libnl-3.2.24 release 4c7a3074 build: fix error when running `configure --disable-doc` b7017466 route: fix return value of nl_rtgen_request() 7dbf4d59 remove the obsolete src/cls directory b3b8d724 remove nl_cache_lookup() from cache.h 3fb0aae0 utils: fix nl_msec2str() which always returned '0msec' for whole second durations 85ec9c7a route: rtnl_route_build_msg() should not overwrite the route scope 20aa7320 basic: make BASIC_ATTR_TARGET optional 59547d2d fix comments for rtnl_act_add() cdfdfb16 remove some useless code in lib/route/cls/u32.c a126d66b fill prio and protocol attr bits when parsing cls message 68d6bd7f utils: add nl_has_capability() function 015c4ee5 utils: indicate capability NL_CAPABILITY_ROUTE_BUILD_MSG_SET_SCOPE 67a70467 link: document sk == NULL case for rtnl_link_alloc_cache() c0a5b393 u32: add const to rtnl_u32_add_key_in*_addr() dfd0a80e route: don't enforce minlen in inet6_parse_protinfo() (IFLA_PROTINFO) and inet_parse_af() (IFLA_AF_SPEC) 3584a7ab route: detect missing cfgid in rtnl_link_inet_get_conf() 5981a395 route: update kernel header snmp.h and fix inet6_parse_protinfo() after kernel API breakage 1048a610 route: rename internal copy of kernel header file 'inetdevice.h' to 'ip.h' a593803a route: update copy of kernel header 'ip.h' baa2cadd route: fix off-by-one in rtnl_act_parse() 34bfce62 link: Catch missing io_free() implementations 5206c050 route/addr: only sent IFA_FLAGS when needed to workaround picky older kernels 690545a2 act: fix policy range check ab55ea80 link: call rtnl_link_set_type() in link_msg_parser() 12bd035b veth: implement ->io_alloc 6c8f67b8 veth: implement ->io_free 3700bf56 veth: use nl_object_clone() to deep copy rtnl_link object 65f218bc add NLM_F_EXCL to rtnl_link_veth_add() cb319e22 python: fix wrongly passing argument to function in ObjIterator.next() 8ff19994 netfilter/ct: expand CT parameters that can be used in add/delete operations 69f4a034 gitignore: ignore ctags file 6722853f doc/core: reply message should send from kernel to app f55ef93d gitignore: ignore patch files 0ba7e663 veth: grab a reference for rtnl_link_veth_get_peer() e5d9b828 act: grab a reference when adding an action to a filter a5917da5 gitignore: ignore 'nf-ct-add' (netfilter/ct) 6d70d839 docs: add code comment to explain the meaning of the fields in rtnl_addr_cacheinfo b8d90d9b act: fix a pointer in rtnl_act_msg_parse() 35f44734 act: fix memory leak in rtnl_act_parse() a1c99150 doc: fix wrong name in documentation for rtnl_link_bridge_alloc() 0482cdcd gitignore: ignore test binaries and artifacts in "tests/" 3a95fad5 introduce ipip tunnel support 57bdc4ff introduce gre tunnel support d715b8a5 introduce sit tunnel support 737d5f02 ipgre: fix attribute IPGRE_ATTR_OKEY in ipgre_put_attrs() adb9f5d8 ipgre: rename new public API to avoid confusion 8f630142 ipvti: introduce vti tunnel support 657e257e gitignore: ignore test binaries and artifacts in "tests/" 0fd510b3 lib/socket: use proper typed constant UINT32_MAX for uint32_t typed port 02715789 lib/socket: don't fail if no more local ports can be assigned in nl_socket_alloc 4dd5fdd0 lib/socket: retry generate local port in nl_connect on ADDRINUSE 1f734a8f lib/socket: randomize the generated local port c7975429 tunnel: add a copy of include/linux/if_tunnel.h 430eb400 vlan: add support for IFLA_VLAN_PROTOCOL 4dc72467 Explicitly create output directories for flex/yacc output. 425d3d66 Use paths relative to srcdir in setup.py. 1087eb53 obj: Fix dereference before NULL check 872544c0 msg: Remove unnecessary call of nlmsg_free on known NULL pointer 6608cd5d act: fix the logic of parsing actions bb44548b route/link: pass proper type to sizeof() for calloc() in vlan_parse() 29a38942 lib: reorder free() after printf("%p") statements d50758cb route: remove unnecessary non-null check in pktloc and ematch 87682a09 cli: add error checking to nl-route-get about out-of-memory 8532ac5e cls: fix array overrun in rtnl_ematch_opnd2txt() dae0a231 cache: fix crash in nl_cache_dump_filter() when omitting the params argument d7a9e74f route/link: fix dangling pointer after rtnl_link_get_ifalias(link, NULL) 90cfeeec netfilter/ct: fix calling nfnl_*_put() on uninitialized memory after nfnlmsg_*_parse() 3d5e4883 route/pktloc: read_pktlocs() always returned success status 11f9cc09 ip6tnl: introduce ip6 tunnel support f8144b11 build: fix error in include/Makefile.am feda7054 cli: Fix typo in error message 8f82270c cache_mngr: Return proper error code if nl_socket_alloc() fails b6cadfef cache_mngr: Fix assignment of error code in nl_cache_mngr_alloc() e4c94ea9 doc: fix error in core documentation for nl_cache_mngr_alloc() 2ca01afc u32: prevent memcpy from NULL 8e052f59 attr: prevent garbage return value for NULL param a8b352a4 attr: fix compile warning in headers 853c045a cache: add missing declaration of nl_cache_move() in include/netlink/cache.h 940e5d54 doc: fix doxygen-link.py by skipping invalid entries in libnl.dict 558df52e attr: nla_get_u64() should return 0 if the attribute does not fully contain 64 bit 04467311 libnl-3.2.25-rc1 release 9e0960c1 doc: state in documentation that libnl3 is supposed to work with 3.x kernels 9c2dbdfb ip6tnl: Use <netinet/in.h> for in6_addr and stuff c62cda91 build: let autogen.sh script change into top source directory 94e13458 build: embed the git commit id of HEAD in the configure script c4d70003 tc: add co_groups for tc qdisc and filter dcc53759 libnl-3.2.25 release Change-Id: I5c46e7d2b808ad7baf037a49523ad69191450cbf Bug: 32255299 Test: Compile (fails)
054c80d7
This project is licensed under the GNU Lesser General Public License v2.1 only.
Learn more