1*4dc78e53SAndroid Build Coastguard WorkerChangeLog discontinued, git history can be found here: 2*4dc78e53SAndroid Build Coastguard Workerhttps://github.com/thom311/libnl 3*4dc78e53SAndroid Build Coastguard Worker 4*4dc78e53SAndroid Build Coastguard WorkerSummary of Changes from 1.0-pre6 to 1.0-pre7 5*4dc78e53SAndroid Build Coastguard Worker================================================ 6*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]> 7*4dc78e53SAndroid Build Coastguard Worker o Generic netlink support 8*4dc78e53SAndroid Build Coastguard Worker o Route Addition/Deletion 9*4dc78e53SAndroid Build Coastguard Worker o Added nl_cache_subset() 10*4dc78e53SAndroid Build Coastguard Worker o Have nl_object_clone() make real clones without 11*4dc78e53SAndroid Build Coastguard Worker sharing any data. 12*4dc78e53SAndroid Build Coastguard Worker o Remove old nl_object_alloc() not based on a object 13*4dc78e53SAndroid Build Coastguard Worker operations to avoid bugs due to missing init. 14*4dc78e53SAndroid Build Coastguard Worker o Added nl-list-caches utility 15*4dc78e53SAndroid Build Coastguard Worker o Removed nlmsg_build_no_hdr(), duplicate 16*4dc78e53SAndroid Build Coastguard Worker o Reworked message interface 17*4dc78e53SAndroid Build Coastguard Worker o Fixed nlmsg_put() and genlmsg_put() to correctly reserve 18*4dc78e53SAndroid Build Coastguard Worker tail room for user specific headers. 19*4dc78e53SAndroid Build Coastguard Worker o Added nl_cache_move() 20*4dc78e53SAndroid Build Coastguard Worker o Renamed nl_cache_delete() to nl_cache_remove() (no API break) 21*4dc78e53SAndroid Build Coastguard Worker o Fixed reference counting while objects stay in caches. 22*4dc78e53SAndroid Build Coastguard Worker o Object marking 23*4dc78e53SAndroid Build Coastguard Worker o Moved attribute mask for objects into generic structure 24*4dc78e53SAndroid Build Coastguard Worker o nl-list-caches: List available dump procedures 25*4dc78e53SAndroid Build Coastguard Worker o Use PAGE_SIZE as initial buffer size when reading from 26*4dc78e53SAndroid Build Coastguard Worker netlink socket 27*4dc78e53SAndroid Build Coastguard Worker o Double buffer size when recv() returns MSG_TRUNC 28*4dc78e53SAndroid Build Coastguard Worker o Replaced filter object operation with new compare operation 29*4dc78e53SAndroid Build Coastguard Worker capable of listing differences between two objects 30*4dc78e53SAndroid Build Coastguard Worker o Added nl_object_identical() to check if two objects are 31*4dc78e53SAndroid Build Coastguard Worker identical from a uniqueness point of view 32*4dc78e53SAndroid Build Coastguard Worker o Added nl_object_diff() returning a bitmask of differences in 33*4dc78e53SAndroid Build Coastguard Worker attributes 34*4dc78e53SAndroid Build Coastguard Worker o Added nl_object_attr_list() generating a list of attribute 35*4dc78e53SAndroid Build Coastguard Worker name the object has assigned 36*4dc78e53SAndroid Build Coastguard Worker o Cache updates based on event notifications, code based on 37*4dc78e53SAndroid Build Coastguard Worker Patrick McHardy's patches 38*4dc78e53SAndroid Build Coastguard Worker o Cache Manager 39*4dc78e53SAndroid Build Coastguard Worker o Added NL_AUTO_PID, NL_AUTO_SEQ for convenience 40*4dc78e53SAndroid Build Coastguard Worker o Disable MSG_PEEK by default and provide nl_socket_enable_msg_peek() 41*4dc78e53SAndroid Build Coastguard Worker o Fixed nl_recvmsgs() to return 0 when interrupted via NL_STOP or 42*4dc78e53SAndroid Build Coastguard Worker NL_SKIP 43*4dc78e53SAndroid Build Coastguard Worker o Fixed nl_recvmsgs() to stop reading after parsing if not in the 44*4dc78e53SAndroid Build Coastguard Worker middle of a multipart message. 45*4dc78e53SAndroid Build Coastguard Worker o Fixed nl_recvmsgs() to not stop after receiving an ACK 46*4dc78e53SAndroid Build Coastguard Worker o Fixed nl_recvmsgs() to not blindly discard remaining messages 47*4dc78e53SAndroid Build Coastguard Worker if a NLMSG_DONE message is received. 48*4dc78e53SAndroid Build Coastguard Worker 49*4dc78e53SAndroid Build Coastguard Worker Petr Gotthard <[email protected]> 50*4dc78e53SAndroid Build Coastguard Worker Siemens AG Oesterreich 51*4dc78e53SAndroid Build Coastguard Worker o Fix u32 to properly handle multiple keys 52*4dc78e53SAndroid Build Coastguard Worker o rtnl_htb_set_(r|c)buffer() 53*4dc78e53SAndroid Build Coastguard Worker o Fixed MTU handling in HTB class, problem pointed out 54*4dc78e53SAndroid Build Coastguard Worker by Edouard Thuleau 55*4dc78e53SAndroid Build Coastguard Worker 56*4dc78e53SAndroid Build Coastguard Worker Zilvinas Valinskas <[email protected]> 57*4dc78e53SAndroid Build Coastguard Worker o Fix wrong msg_namelen in nl_recv() 58*4dc78e53SAndroid Build Coastguard Worker o Fix memory leak in flnl_request_put() 59*4dc78e53SAndroid Build Coastguard Worker 60*4dc78e53SAndroid Build Coastguard Worker Helmut Schaa <[email protected]> 61*4dc78e53SAndroid Build Coastguard Worker o Fix for using libnl from within C++ 62*4dc78e53SAndroid Build Coastguard Worker 63*4dc78e53SAndroid Build Coastguard Worker Patrick McHardy <[email protected]> 64*4dc78e53SAndroid Build Coastguard Worker o *_alloc_cache(): Only refill cache if handle is provided 65*4dc78e53SAndroid Build Coastguard Worker 66*4dc78e53SAndroid Build Coastguard Worker James Oakley <[email protected]> 67*4dc78e53SAndroid Build Coastguard Worker o Fix rtnl_link_set_arptype() typo 68*4dc78e53SAndroid Build Coastguard Worker 69*4dc78e53SAndroid Build Coastguard Worker Philip Craig <[email protected]> 70*4dc78e53SAndroid Build Coastguard Worker o Change address family type from char to int 71*4dc78e53SAndroid Build Coastguard Worker o Fix the error handling when the build fails. 72*4dc78e53SAndroid Build Coastguard Worker o add nl_cache_mngr_get_fd() 73*4dc78e53SAndroid Build Coastguard Worker o add netfilter support 74*4dc78e53SAndroid Build Coastguard Worker o add netfilter conntrack support 75*4dc78e53SAndroid Build Coastguard Worker o add netfilter log support 76*4dc78e53SAndroid Build Coastguard Worker 77*4dc78e53SAndroid Build Coastguard WorkerSummary of Changes from 1.0-pre5 to 1.0-pre6 78*4dc78e53SAndroid Build Coastguard Worker================================================ 79*4dc78e53SAndroid Build Coastguard Worker Christopher Aillon <[email protected]> 80*4dc78e53SAndroid Build Coastguard Worker o Use $(libdir) instead of $(prefix)/lib for 64bit awesomeness. 81*4dc78e53SAndroid Build Coastguard Worker 82*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]> 83*4dc78e53SAndroid Build Coastguard Worker o Extend nl_msg to include source address, destination address 84*4dc78e53SAndroid Build Coastguard Worker and the protocol being used. 85*4dc78e53SAndroid Build Coastguard Worker o Make nl_send*() take a nl_msg instead of a nlmsghdr (API BREAK) 86*4dc78e53SAndroid Build Coastguard Worker o Change callbacks to take a nl_msg instead of source address 87*4dc78e53SAndroid Build Coastguard Worker and nlmsghdr (API BREAK) 88*4dc78e53SAndroid Build Coastguard Worker o caches must specify the protocol they're hooked up from now on 89*4dc78e53SAndroid Build Coastguard Worker if they intend to be associated with message types. 90*4dc78e53SAndroid Build Coastguard Worker o cache_mngt_associate now takes the protocol besides the message 91*4dc78e53SAndroid Build Coastguard Worker type to allow for multiple protocols to be supported (API BREAK) 92*4dc78e53SAndroid Build Coastguard Worker o overwrite destination address in nl_send() when specified in the 93*4dc78e53SAndroid Build Coastguard Worker message itself, allows for unbound addressing. 94*4dc78e53SAndroid Build Coastguard Worker o Support for netlink based fib_lookup() 95*4dc78e53SAndroid Build Coastguard Worker o Documentation fixes 96*4dc78e53SAndroid Build Coastguard Worker o Fix double nlmsg_free() in nl_recvmsgs() while receiving 97*4dc78e53SAndroid Build Coastguard Worker a multipart message and the read was interrupted. 98*4dc78e53SAndroid Build Coastguard Worker o Change cache operations to store names for message types. 99*4dc78e53SAndroid Build Coastguard Worker o Provide interface to convert message type to character string. 100*4dc78e53SAndroid Build Coastguard Worker o Add dp_dump_msgtype to prefix each dumped element with a 101*4dc78e53SAndroid Build Coastguard Worker pretty printed message type. 102*4dc78e53SAndroid Build Coastguard Worker o netlink fib lookup support 103*4dc78e53SAndroid Build Coastguard Worker o nl_recvmsgs() debugging 104*4dc78e53SAndroid Build Coastguard Worker o use nl_cachemngt_type2name() when pretty printing netlink header 105*4dc78e53SAndroid Build Coastguard Worker o Routing protocol translations. 106*4dc78e53SAndroid Build Coastguard Worker o Routing metric translations. 107*4dc78e53SAndroid Build Coastguard Worker o Revised route dumping 108*4dc78e53SAndroid Build Coastguard Worker o Nexthop flag translations. 109*4dc78e53SAndroid Build Coastguard Worker o Add support for IFF_DORMANT 110*4dc78e53SAndroid Build Coastguard Worker 111*4dc78e53SAndroid Build Coastguard Worker Petr Gotthard <[email protected]> 112*4dc78e53SAndroid Build Coastguard Worker Siemens AG Oesterreich 113*4dc78e53SAndroid Build Coastguard Worker o Fix access to obj after freeing it 114*4dc78e53SAndroid Build Coastguard Worker o Fix u32 selector access after realloc() 115*4dc78e53SAndroid Build Coastguard Worker o Fix missing out-of-memory error handling in various places 116*4dc78e53SAndroid Build Coastguard Worker o Enhance nl-monitor to have group selection selectable and 117*4dc78e53SAndroid Build Coastguard Worker demonstrate usage of select() 118*4dc78e53SAndroid Build Coastguard Worker o Don't ignore IFF_RUNNING any longer 119*4dc78e53SAndroid Build Coastguard Worker o fw classifier support 120*4dc78e53SAndroid Build Coastguard Worker 121*4dc78e53SAndroid Build Coastguard Worker Patrick McHardy <[email protected]> 122*4dc78e53SAndroid Build Coastguard Worker o Fix conflicting types for __u64 123*4dc78e53SAndroid Build Coastguard Worker o Fix printf format string warnings 124*4dc78e53SAndroid Build Coastguard Worker o Fix object cloning 125*4dc78e53SAndroid Build Coastguard Worker o Deal with structure padding in nl_object_clone 126*4dc78e53SAndroid Build Coastguard Worker o Fix nl_addr leak 127*4dc78e53SAndroid Build Coastguard Worker o Set ce_msgtype in all parsed objects 128*4dc78e53SAndroid Build Coastguard Worker o Fix addr flag filter 129*4dc78e53SAndroid Build Coastguard Worker o Fix RTNLGRP definitions (was based on broken kernel version) 130*4dc78e53SAndroid Build Coastguard Worker o Export nl_get_errno() 131*4dc78e53SAndroid Build Coastguard Worker o Add function to get/set peer pid 132*4dc78e53SAndroid Build Coastguard Worker o Add IFF_LOWER_UP 133*4dc78e53SAndroid Build Coastguard Worker o Add/export some missing accessor functions 134*4dc78e53SAndroid Build Coastguard Worker o print /0 prefix in nl_addr2str() 135*4dc78e53SAndroid Build Coastguard Worker o Fix invalid free in nl_addr_parse for AF_UNSPEC addresses 136*4dc78e53SAndroid Build Coastguard Worker o Use __str2flags instead of __str2type in rtnl_link_str2flags() 137*4dc78e53SAndroid Build Coastguard Worker o Make sure object and filter types match in nl_object_match() 138*4dc78e53SAndroid Build Coastguard Worker o Add support for credential passing over netlink sockets (API BREAK) 139*4dc78e53SAndroid Build Coastguard Worker o Add support for custom dump callbacks 140*4dc78e53SAndroid Build Coastguard Worker o Add NL_DUMP_ENV format 141*4dc78e53SAndroid Build Coastguard Worker 142*4dc78e53SAndroid Build Coastguard Worker Michael Biebl <[email protected]> 143*4dc78e53SAndroid Build Coastguard Worker "Alex V. Myltsev" <[email protected]> 144*4dc78e53SAndroid Build Coastguard Worker o Makefile fixes 145*4dc78e53SAndroid Build Coastguard Worker 146*4dc78e53SAndroid Build Coastguard Worker 147*4dc78e53SAndroid Build Coastguard WorkerSummary of Changes from 1.0-pre4 to 1.0-pre5 148*4dc78e53SAndroid Build Coastguard Worker================================================ 149*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]> 150*4dc78e53SAndroid Build Coastguard Worker o Use minimized local copies for <linux/if.h>, <linux/if_arp.h>, 151*4dc78e53SAndroid Build Coastguard Worker and <linux/if_ether.h> to avoid compile troubles with 152*4dc78e53SAndroid Build Coastguard Worker applications including <net/if*.h> 153*4dc78e53SAndroid Build Coastguard Worker Reported by Christopher Aillon. 154*4dc78e53SAndroid Build Coastguard Worker 155*4dc78e53SAndroid Build Coastguard WorkerSummary of Changes from 1.0-pre3 to 1.0-pre4 156*4dc78e53SAndroid Build Coastguard Worker================================================ 157*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]> 158*4dc78e53SAndroid Build Coastguard Worker o Fix wrong rtnl_addr_set_prefixlen() external declaration, 159*4dc78e53SAndroid Build Coastguard Worker reported by Dan Williams. 160*4dc78e53SAndroid Build Coastguard Worker o Fix nl_addr_parse() to not change the original string 161*4dc78e53SAndroid Build Coastguard Worker for prefixes. 162*4dc78e53SAndroid Build Coastguard Worker o Do not build documentation per default, but have the user 163*4dc78e53SAndroid Build Coastguard Worker issue 'make gendoc' 164*4dc78e53SAndroid Build Coastguard Worker o Assume neighbours to be permanent, set NUD_PERMANENT if not 165*4dc78e53SAndroid Build Coastguard Worker specified otherwise. 166*4dc78e53SAndroid Build Coastguard Worker 167*4dc78e53SAndroid Build Coastguard WorkerSummary of Changes from 1.0-pre2 to 1.0-pre3 168*4dc78e53SAndroid Build Coastguard Worker================================================ 169*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]> 170*4dc78e53SAndroid Build Coastguard Worker o Fix SFQ parser to allocate qdisc options. 171*4dc78e53SAndroid Build Coastguard Worker o Fix rule statistics dumping to not call itself. 172*4dc78e53SAndroid Build Coastguard Worker o Complete Netem qdisc interface. 173*4dc78e53SAndroid Build Coastguard Worker o Add rtnl_*_put() and rtnl_*_free() to increase readability. 174*4dc78e53SAndroid Build Coastguard Worker o Cleanup of nl-* tools 175*4dc78e53SAndroid Build Coastguard Worker o Fix inclusion guards of route/neightbl.h 176*4dc78e53SAndroid Build Coastguard Worker o Fix nl_connect() to only modify rx/tx socket buffers if not 177*4dc78e53SAndroid Build Coastguard Worker already modified by the user. 178*4dc78e53SAndroid Build Coastguard Worker o Fix wrong nl_handle_alloc() prototype. 179*4dc78e53SAndroid Build Coastguard Worker o Fix typo in route/addr.c causing label to be marked as 180*4dc78e53SAndroid Build Coastguard Worker local address. 181*4dc78e53SAndroid Build Coastguard Worker o Use ~0UL as default prefix length instead of 0. 182*4dc78e53SAndroid Build Coastguard Worker o Fix neighbour message parser to correctly store core. 183*4dc78e53SAndroid Build Coastguard Worker attributes and provide them again. 184*4dc78e53SAndroid Build Coastguard Worker o Fix neighbour message parser to correctly guess address family. 185*4dc78e53SAndroid Build Coastguard Worker to make it compatible with nl_addr_parse() and ether llc 186*4dc78e53SAndroid Build Coastguard Worker addresses. 187*4dc78e53SAndroid Build Coastguard Worker o Add rtnl_route_table2str(), rtnl_route_str2table(). 188*4dc78e53SAndroid Build Coastguard Worker o Add nl_cache_nitems_filter() to find out if a filter produces 189*4dc78e53SAndroid Build Coastguard Worker any matches. 190*4dc78e53SAndroid Build Coastguard Worker o Remove rtnl_rule_set_(dst|src)_str() (obsolete). 191*4dc78e53SAndroid Build Coastguard Worker o Remove scope and protocol field of routing rule. 192*4dc78e53SAndroid Build Coastguard Worker o Complete routing rules module. 193*4dc78e53SAndroid Build Coastguard Worker o Move realms translations from route to rtnl module. 194*4dc78e53SAndroid Build Coastguard Worker 195*4dc78e53SAndroid Build Coastguard WorkerSummary of Changes from 1.0-pre1 to 1.0-pre2 196*4dc78e53SAndroid Build Coastguard Worker================================================ 197*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]> 198*4dc78e53SAndroid Build Coastguard Worker o More API documentation 199*4dc78e53SAndroid Build Coastguard Worker o Added flags argument to rtnl_addr_(add|build_add_request)(). 200*4dc78e53SAndroid Build Coastguard Worker o Added rtnl_addr_(set|get)_multicast(). 201*4dc78e53SAndroid Build Coastguard Worker o Moved scope translations routines from route/route.c to 202*4dc78e53SAndroid Build Coastguard Worker route/rtnl.c, required by other modules as well. 203*4dc78e53SAndroid Build Coastguard Worker o Removed old rtattr bits from rtnetlink-kernel.h 204*4dc78e53SAndroid Build Coastguard Worker o Customized libnl.css for doxygen documentation 205*4dc78e53SAndroid Build Coastguard Worker o Removed non-reentrant translation routines, only bloating 206*4dc78e53SAndroid Build Coastguard Worker the code and too risky. 207*4dc78e53SAndroid Build Coastguard Worker o Fixed wrong version number from 1.0-pre1. 208*4dc78e53SAndroid Build Coastguard Worker o Re-enabled unfinished policer module. 209*4dc78e53SAndroid Build Coastguard Worker o Reworked TBF module, automatic caluclation of transmit times, 210*4dc78e53SAndroid Build Coastguard Worker limit setable via latency, automatic cell size calculation, 211*4dc78e53SAndroid Build Coastguard Worker options TLV generation. (untested) 212*4dc78e53SAndroid Build Coastguard Worker o Renamed nl_xmittime() to rtnl_tc_calc_txtime(). 213*4dc78e53SAndroid Build Coastguard Worker o Renamde nl_build_rtable() to rtnl_tc_build_rate_table() 214*4dc78e53SAndroid Build Coastguard Worker 215*4dc78e53SAndroid Build Coastguard Worker Petr Gotthard <[email protected]>, 216*4dc78e53SAndroid Build Coastguard Worker Siemens AG Oesterreich 217*4dc78e53SAndroid Build Coastguard Worker o Fix symlinks to libnl library files to be moveable 218*4dc78e53SAndroid Build Coastguard Worker o Fix extern struct prototypes meant to be static. 219*4dc78e53SAndroid Build Coastguard Worker o Add empty install target to src/Makefile 220*4dc78e53SAndroid Build Coastguard Worker 221*4dc78e53SAndroid Build Coastguard Worker Simon Stelling <[email protected]> 222*4dc78e53SAndroid Build Coastguard Worker o Use LIBDIR instead of $(prefix)/lib for users to allow librariers 223*4dc78e53SAndroid Build Coastguard Worker into $(prefix)/lib64. 224*4dc78e53SAndroid Build Coastguard Worker 225*4dc78e53SAndroid Build Coastguard WorkerSummary of Changes from 0.5.0 to 1.0-pre1 226*4dc78e53SAndroid Build Coastguard Worker================================================ 227*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]> 228*4dc78e53SAndroid Build Coastguard Worker o Uncountable number of changes, rewrite of certain modules, 229*4dc78e53SAndroid Build Coastguard Worker several major API breakages 230*4dc78e53SAndroid Build Coastguard Worker 231*4dc78e53SAndroid Build Coastguard Worker Petr Gotthard <[email protected]>, 232*4dc78e53SAndroid Build Coastguard Worker Siemens AG Oesterreich 233*4dc78e53SAndroid Build Coastguard Worker o added class_build, rtnl_class_build_add_request, rtnl_class_add 234*4dc78e53SAndroid Build Coastguard Worker o added HTB (Hierarchical Token Bucket) class support 235*4dc78e53SAndroid Build Coastguard Worker o added nl_xmittime, nl_build_rtable 236*4dc78e53SAndroid Build Coastguard Worker o added nl_data_append to realloc a nl_data structure 237*4dc78e53SAndroid Build Coastguard Worker o added rtnl_rcopy_ratespec as reverse to rtnl_copy_ratespec 238*4dc78e53SAndroid Build Coastguard Worker o fixed byte order conversion of rtnl_filter.protocol 239*4dc78e53SAndroid Build Coastguard Worker o SuSE and Fedora Linux compile fixes 240*4dc78e53SAndroid Build Coastguard Worker o fixed u32 classifier support 241*4dc78e53SAndroid Build Coastguard Worker o added rtnl_u32_set_handle, rtnl_u32_set_classid, rtnl_u32_set_flags 242*4dc78e53SAndroid Build Coastguard Worker and several rtnl_u32_add_key_... operations to u32 classifier 243*4dc78e53SAndroid Build Coastguard Worker 244*4dc78e53SAndroid Build Coastguard WorkerSummary of Changes from 0.4.4 to 0.5.0 245*4dc78e53SAndroid Build Coastguard Worker================================================ 246*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]> 247*4dc78e53SAndroid Build Coastguard Worker o API documentation 248*4dc78e53SAndroid Build Coastguard Worker o nl_cache_filter to manually filter on a object 249*4dc78e53SAndroid Build Coastguard Worker o partial routing support 250*4dc78e53SAndroid Build Coastguard Worker o routing rules support 251*4dc78e53SAndroid Build Coastguard Worker o Properly set address family when setting addresses 252*4dc78e53SAndroid Build Coastguard Worker o debug flag and some rare messages, more to come 253*4dc78e53SAndroid Build Coastguard Worker o make error message verboseness configurable 254*4dc78e53SAndroid Build Coastguard Worker o tc fixes to wait for ack 255*4dc78e53SAndroid Build Coastguard Worker o cleanup and adaption of address code to latest internal API 256*4dc78e53SAndroid Build Coastguard Worker o various cleanups 257*4dc78e53SAndroid Build Coastguard Worker o dozens of API breakages (better now than later) 258*4dc78e53SAndroid Build Coastguard Worker 259*4dc78e53SAndroid Build Coastguard Worker Daniel Hottinger <[email protected]> 260*4dc78e53SAndroid Build Coastguard Worker o arch 64bit printf length modifier fixes 261*4dc78e53SAndroid Build Coastguard Worker 262*4dc78e53SAndroid Build Coastguard Worker Baruch Even <[email protected]>, 263*4dc78e53SAndroid Build Coastguard Worker Mediatrix Telecom, inc. <[email protected]> 264*4dc78e53SAndroid Build Coastguard Worker o address support 265*4dc78e53SAndroid Build Coastguard Worker 266*4dc78e53SAndroid Build Coastguard WorkerSummary of changes from 0.4.3 to 0.4.4 267*4dc78e53SAndroid Build Coastguard Worker================================================ 268*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]>: 269*4dc78e53SAndroid Build Coastguard Worker o overall cleanups for better code quality 270*4dc78e53SAndroid Build Coastguard Worker o replace dump_(brief|full|with_stats) ops with 271*4dc78e53SAndroid Build Coastguard Worker dump[NL_DUMP_MAX] array to allow further additions without 272*4dc78e53SAndroid Build Coastguard Worker breaking the ABI. 273*4dc78e53SAndroid Build Coastguard Worker o add of send_ack callback, called whenever when oppenent 274*4dc78e53SAndroid Build Coastguard Worker asks for an ACK. 275*4dc78e53SAndroid Build Coastguard Worker o make nl_parse_rtattr initialize the tb buffer like in the 276*4dc78e53SAndroid Build Coastguard Worker kernel, caller must no longer take care of it. 277*4dc78e53SAndroid Build Coastguard Worker o remove nl_addrnattr (obsolete) 278*4dc78e53SAndroid Build Coastguard Worker o fixed nl_msg_append_raw to correctly calculate length 279*4dc78e53SAndroid Build Coastguard Worker for raw data not aligned to NLMSG_ALIGN 280*4dc78e53SAndroid Build Coastguard Worker o fix memory leak in nl_recv in case of errors 281*4dc78e53SAndroid Build Coastguard Worker o correctly check sequence numbers if more than one message 282*4dc78e53SAndroid Build Coastguard Worker was sent out before the answer is being received. 283*4dc78e53SAndroid Build Coastguard Worker o add workaround for buggy netlink applications not properly 284*4dc78e53SAndroid Build Coastguard Worker setting NLM_F_MULTI. 285*4dc78e53SAndroid Build Coastguard Worker 286*4dc78e53SAndroid Build Coastguard WorkerSummary of changes from 0.4.2 to 0.4.3 287*4dc78e53SAndroid Build Coastguard Worker================================================ 288*4dc78e53SAndroid Build Coastguard Worker 289*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]>: 290*4dc78e53SAndroid Build Coastguard Worker o use parser_param in nl_cache_parse 291*4dc78e53SAndroid Build Coastguard Worker o EGP: dump nfilters attribute 292*4dc78e53SAndroid Build Coastguard Worker o allow retrieving of filters attached to classes via 293*4dc78e53SAndroid Build Coastguard Worker FILTER_CACHE_PARENT(C) cache argument 294*4dc78e53SAndroid Build Coastguard Worker o filter message building API 295*4dc78e53SAndroid Build Coastguard Worker 296*4dc78e53SAndroid Build Coastguard WorkerSummary of changes from 0.4.1 to 0.4.2 297*4dc78e53SAndroid Build Coastguard Worker================================================ 298*4dc78e53SAndroid Build Coastguard Worker 299*4dc78e53SAndroid Build Coastguard Worker Baruch Even <[email protected]>: 300*4dc78e53SAndroid Build Coastguard Worker o memory leak fix in nl_parse_rtattr 301*4dc78e53SAndroid Build Coastguard Worker o reset padding to 0 when appending raw data to a nl_msg 302*4dc78e53SAndroid Build Coastguard Worker o avoid overwriting nlmsg ptr when buffer extending fails 303*4dc78e53SAndroid Build Coastguard Worker o typo fixes 304*4dc78e53SAndroid Build Coastguard Worker o create symlinks libnl.so.0 and libnl.so 305*4dc78e53SAndroid Build Coastguard Worker 306*4dc78e53SAndroid Build Coastguard Worker Thomas Graf <[email protected]>: 307*4dc78e53SAndroid Build Coastguard Worker o EGP classifier support 308*4dc78e53SAndroid Build Coastguard Worker o avoid null pointer in printf call 309*4dc78e53SAndroid Build Coastguard Worker o added nl_cache_parse to put nl_msg's into a cache 310*4dc78e53SAndroid Build Coastguard Worker o added rtnl_filter_build to build a nl_msg filter message 311*4dc78e53SAndroid Build Coastguard Worker o correctly install header files 312*4dc78e53SAndroid Build Coastguard Worker o nl_msg_payload/nl_msg_payloadlen to access nl_msg payload 313*4dc78e53SAndroid Build Coastguard Worker o nl_parse_nested macro to simplify nested TLV parsing 314*4dc78e53SAndroid Build Coastguard Worker o NL_ERROR_ASSERT compile flag to assert(0) on errors 315*4dc78e53SAndroid Build Coastguard Worker o rta alignment fix in nl_msg_append_tlv 316*4dc78e53SAndroid Build Coastguard Worker o added nl_msg_parse_rtattr as shortcut for nl_parse_rtattr 317*4dc78e53SAndroid Build Coastguard Worker for nl_msg API 318*4dc78e53SAndroid Build Coastguard Worker o added nl_parse_nested for nested TLVs 319*4dc78e53SAndroid Build Coastguard Worker o added RTA_ARRAY_ELEMS macro to calculate array length 320*4dc78e53SAndroid Build Coastguard Worker for array TLVs 321*4dc78e53SAndroid Build Coastguard Worker o added nl_wait_for_ack to wait for the next ack 322*4dc78e53SAndroid Build Coastguard Worker o added rtnl_link_build_change_request(...) 323*4dc78e53SAndroid Build Coastguard Worker o added rtnl_neigh_build_*_request 324*4dc78e53SAndroid Build Coastguard Worker o converted neighbour code to use nl_wait_for_ack 325*4dc78e53SAndroid Build Coastguard Worker o cb_recvmsgs_ow callback to overwrite internal calls to 326*4dc78e53SAndroid Build Coastguard Worker nl_recvmsgs_def 327*4dc78e53SAndroid Build Coastguard Worker o cb_seq_check callback to overwrite default sequence checking 328*4dc78e53SAndroid Build Coastguard Worker o added nl_parser_param as argument for message parsers including 329*4dc78e53SAndroid Build Coastguard Worker a callback to be called upon successful parsing of a message. 330*4dc78e53SAndroid Build Coastguard Worker Removes the requirement of having all parsed messages to be added 331*4dc78e53SAndroid Build Coastguard Worker to a cache. 332*4dc78e53SAndroid Build Coastguard Worker o added cb_recv_ow and nl_send_ow callbacks to overwrite internal 333*4dc78e53SAndroid Build Coastguard Worker calls to nl_recv and nl_send. 334*4dc78e53SAndroid Build Coastguard Worker 335*4dc78e53SAndroid Build Coastguard Worker Jamal Hadi Salim <[email protected]> 336*4dc78e53SAndroid Build Coastguard Worker o Linux 2.4 compile fixes 337