Blame ChangeLog

Packit 51cea0
ChangeLog discontinued, git history can be found here:
Packit 51cea0
http://git.infradead.org/users/tgr/libnl.git
Packit 51cea0
Packit 51cea0
Summary of Changes from 1.0-pre6 to 1.0-pre7
Packit 51cea0
================================================
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>
Packit 51cea0
	  o Generic netlink support
Packit 51cea0
	  o Route Addition/Deletion
Packit 51cea0
	  o Added nl_cache_subset()
Packit 51cea0
	  o Have nl_object_clone() make real clones without
Packit 51cea0
	    sharing any data.
Packit 51cea0
	  o Remove old nl_object_alloc() not based on a object
Packit 51cea0
	    operations to avoid bugs due to missing init.
Packit 51cea0
	  o Added nl-list-caches utility
Packit 51cea0
	  o Removed nlmsg_build_no_hdr(), duplicate
Packit 51cea0
	  o Reworked message interface
Packit 51cea0
	  o Fixed nlmsg_put() and genlmsg_put() to correctly reserve
Packit 51cea0
	    tail room for user specific headers.
Packit 51cea0
	  o Added nl_cache_move()
Packit 51cea0
	  o Renamed nl_cache_delete() to nl_cache_remove() (no API break)
Packit 51cea0
	  o Fixed reference counting while objects stay in caches.
Packit 51cea0
	  o Object marking
Packit 51cea0
	  o Moved attribute mask for objects into generic structure
Packit 51cea0
	  o nl-list-caches: List available dump procedures
Packit 51cea0
	  o Use PAGE_SIZE as initial buffer size when reading from
Packit 51cea0
	    netlink socket
Packit 51cea0
	  o Double buffer size when recv() returns MSG_TRUNC
Packit 51cea0
	  o Replaced filter object operation with new compare operation
Packit 51cea0
	    capable of listing differences between two objects
Packit 51cea0
	  o Added nl_object_identical() to check if two objects are
Packit 51cea0
	    identical from a uniqueness point of view
Packit 51cea0
	  o Added nl_object_diff() returning a bitmask of differences in
Packit 51cea0
	    attributes
Packit 51cea0
	  o Added nl_object_attr_list() generating a list of attribute
Packit 51cea0
	    name the object has assigned 
Packit 51cea0
	  o Cache updates based on event notifications, code based on
Packit 51cea0
	    Patrick McHardy's patches
Packit 51cea0
	  o Cache Manager
Packit 51cea0
	  o Added NL_AUTO_PID, NL_AUTO_SEQ for convenience
Packit 51cea0
	  o Disable MSG_PEEK by default and provide nl_socket_enable_msg_peek()
Packit 51cea0
	  o Fixed nl_recvmsgs() to return 0 when interrupted via NL_STOP or
Packit 51cea0
	    NL_SKIP
Packit 51cea0
	  o Fixed nl_recvmsgs() to stop reading after parsing if not in the
Packit 51cea0
	    middle of a multipart message.
Packit 51cea0
	  o Fixed nl_recvmsgs() to not stop after receving an ACK
Packit 51cea0
	  o Fixed nl_recvmsgs() to not blindly discard remaining messages
Packit 51cea0
	    if a NLMSG_DONE message is received.
Packit 51cea0
	
Packit 51cea0
	Petr Gotthard <petr.gotthard@siemens.com>
Packit 51cea0
	Siemens AG Oesterreich
Packit 51cea0
	  o Fix u32 to properly handle multiple keys
Packit 51cea0
	  o rtnl_htb_set_(r|c)buffer()
Packit 51cea0
	  o Fixed MTU handling in HTB class, problem pointed out
Packit 51cea0
	    by Edouard Thuleau
Packit 51cea0
	
Packit 51cea0
	Zilvinas Valinskas <zilvinas@wilibox.com>
Packit 51cea0
	  o Fix wrong msg_namelen in nl_recv()
Packit 51cea0
	  o Fix memory leak in flnl_request_put()
Packit 51cea0
Packit 51cea0
	Helmut Schaa <hschaa@suse.de>
Packit 51cea0
	  o Fix for using libnl from within C++
Packit 51cea0
Packit 51cea0
	Patrick McHardy <kaber@trash.net>
Packit 51cea0
	  o *_alloc_cache(): Only refill cache if handle is provided
Packit 51cea0
	
Packit 51cea0
	James Oakley <jfunk@funktronics.ca>
Packit 51cea0
	  o Fix rtnl_link_set_arptype() typo
Packit 51cea0
Packit 51cea0
	Philip Craig <philipc@snapgear.com>
Packit 51cea0
	  o Change address family type from char to int
Packit 51cea0
	  o Fix the error handling when the build fails.
Packit 51cea0
	  o add nl_cache_mngr_get_fd()
Packit 51cea0
	  o add netfilter support
Packit 51cea0
	  o add netfilter conntrack support
Packit 51cea0
	  o add netfilter log support
Packit 51cea0
Packit 51cea0
Summary of Changes from 1.0-pre5 to 1.0-pre6
Packit 51cea0
================================================
Packit 51cea0
	Christopher Aillon <caillon@redhat.com>
Packit 51cea0
	  o Use $(libdir) instead of $(prefix)/lib for 64bit awesomeness.
Packit 51cea0
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>
Packit 51cea0
	  o Extend nl_msg to include source address, destination address
Packit 51cea0
	    and the protocol being used.
Packit 51cea0
	  o Make nl_send*() take a nl_msg instead of a nlmsghdr (API BREAK)
Packit 51cea0
	  o Change callbacks to take a nl_msg instead of source address
Packit 51cea0
	    and nlmsghdr (API BREAK)
Packit 51cea0
	  o caches must specify the protocol they're hooked up from now on
Packit 51cea0
	    if they intend to be associated with message types.
Packit 51cea0
	  o cache_mngt_associate now takes the protocol besides the message
Packit 51cea0
	    type to allow for multiple protocols to be supported (API BREAK)
Packit 51cea0
	  o overwrite destination address in nl_send() when specified in the
Packit 51cea0
	    message itself, allows for unbound addressing.
Packit 51cea0
	  o Support for netlink based fib_lookup()
Packit 51cea0
	  o Documentation fixes
Packit 51cea0
	  o Fix double nlmsg_free() in nl_recvmsgs() while receiving
Packit 51cea0
	    a multipart message and the read was interrupted.
Packit 51cea0
	  o Change cache operations to store names for message types.
Packit 51cea0
	  o Provide interface to convert message type to character string.
Packit 51cea0
	  o Add dp_dump_msgtype to prefix each dumped element with a
Packit 51cea0
	    pretty printed message type.
Packit 51cea0
	  o netlink fib lookup support
Packit 51cea0
	  o nl_recvmsgs() debugging
Packit 51cea0
	  o use nl_cachemngt_type2name() when pretty printing netlink header
Packit 51cea0
	  o Routing protocol translations.
Packit 51cea0
	  o Routing metric translations.
Packit 51cea0
	  o Revised route dumping
Packit 51cea0
	  o Nexthop flag translations.
Packit 51cea0
	  o Add support for IFF_DORMANT
Packit 51cea0
Packit 51cea0
	Petr Gotthard <petr.gotthard@siemens.com>
Packit 51cea0
	Siemens AG Oesterreich
Packit 51cea0
	  o Fix access to obj after freeing it
Packit 51cea0
	  o Fix u32 selector access after realloc() 
Packit 51cea0
	  o Fix missing out-of-memory error handling in various places
Packit 51cea0
	  o Enhance nl-monitor to have group selection selectable and
Packit 51cea0
	    demonstrate usage of select()
Packit 51cea0
	  o Don't ignore IFF_RUNNING any longer
Packit 51cea0
	  o fw classifier support
Packit 51cea0
	
Packit 51cea0
	Patrick McHardy <kaber@trash.net>
Packit 51cea0
	  o Fix conflicting types for __u64
Packit 51cea0
	  o Fix printf format string warnings
Packit 51cea0
	  o Fix object cloning
Packit 51cea0
	  o Deal with structure padding in nl_object_clone
Packit 51cea0
	  o Fix nl_addr leak
Packit 51cea0
	  o Set ce_msgtype in all parsed objects
Packit 51cea0
	  o Fix addr flag filter
Packit 51cea0
	  o Fix RTNLGRP definitions (was based on broken kernel version)
Packit 51cea0
	  o Export nl_get_errno()
Packit 51cea0
	  o Add function to get/set peer pid
Packit 51cea0
	  o Add IFF_LOWER_UP
Packit 51cea0
	  o Add/export some missing accessor functions
Packit 51cea0
	  o print /0 prefix in nl_addr2str()
Packit 51cea0
	  o Fix invalid free in nl_addr_parse for AF_UNSPEC addresses
Packit 51cea0
	  o Use __str2flags instead of __str2type in rtnl_link_str2flags()
Packit 51cea0
	  o Make sure object and filter types match in nl_object_match()
Packit 51cea0
	  o Add support for credential passing over netlink sockets (API BREAK)
Packit 51cea0
	  o Add support for custom dump callbacks
Packit 51cea0
	  o Add NL_DUMP_ENV format
Packit 51cea0
Packit 51cea0
	Michael Biebl <biebl@teco.edu>
Packit 51cea0
	"Alex V. Myltsev" <avm@altlinux.ru>
Packit 51cea0
	  o Makefile fixes
Packit 51cea0
Packit 51cea0
Packit 51cea0
Summary of Changes from 1.0-pre4 to 1.0-pre5
Packit 51cea0
================================================
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>
Packit 51cea0
	  o Use minimized local copies for <linux/if.h>, <linux/if_arp.h>,
Packit 51cea0
	    and <linux/if_ether.h> to avoid compile troubles with
Packit 51cea0
	    applications including <net/if*.h>
Packit 51cea0
	    Reported by Christopher Aillon.
Packit 51cea0
Packit 51cea0
Summary of Changes from 1.0-pre3 to 1.0-pre4
Packit 51cea0
================================================
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>
Packit 51cea0
	  o Fix wrong rtnl_addr_set_prefixlen() external declaration,
Packit 51cea0
	    reported by Dan Williams.
Packit 51cea0
	  o Fix nl_addr_parse() to not change the original string
Packit 51cea0
	    for prefixes.
Packit 51cea0
	  o Do not build documentation per default, but have the user
Packit 51cea0
	    issue 'make gendoc'
Packit 51cea0
	  o Assume neighbours to be permanent, set NUD_PERMANENT if not
Packit 51cea0
	    specified otherwise.
Packit 51cea0
Packit 51cea0
Summary of Changes from 1.0-pre2 to 1.0-pre3
Packit 51cea0
================================================
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>
Packit 51cea0
	  o Fix SFQ parser to allocate qdisc options.
Packit 51cea0
	  o Fix rule statistics dumping to not call itself.
Packit 51cea0
	  o Complete Netem qdisc interface.
Packit 51cea0
	  o Add rtnl_*_put() and rtnl_*_free() to increase readability.
Packit 51cea0
	  o Cleanup of nl-* tools
Packit 51cea0
	  o Fix inclusion guards of route/neightbl.h
Packit 51cea0
	  o Fix nl_connect() to only modify rx/tx socket buffers if not
Packit 51cea0
	    already modified by the user.
Packit 51cea0
	  o Fix wrong nl_handle_alloc() prototype.
Packit 51cea0
	  o Fix typo in route/addr.c causing label to be marked as
Packit 51cea0
	    local address.
Packit 51cea0
	  o Use ~0UL as default prefix length instead of 0.
Packit 51cea0
	  o Fix neighbour message parser to correctly store core.
Packit 51cea0
	    attributes and provide them again.
Packit 51cea0
	  o Fix neighbour message parser to correctly guess address family.
Packit 51cea0
	    to make it compatible with nl_addr_parse() and ether llc
Packit 51cea0
	    addresses.
Packit 51cea0
	  o Add rtnl_route_table2str(), rtnl_route_str2table().
Packit 51cea0
	  o Add nl_cache_nitems_filter() to find out if a filter produces
Packit 51cea0
	    any matches.
Packit 51cea0
	  o Remove rtnl_rule_set_(dst|src)_str() (obsolete).
Packit 51cea0
	  o Remove scope and protocol field of routing rule.
Packit 51cea0
	  o Complete routing rules module.
Packit 51cea0
	  o Move realms translations from route to rtnl module.
Packit 51cea0
Packit 51cea0
Summary of Changes from 1.0-pre1 to 1.0-pre2
Packit 51cea0
================================================
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>
Packit 51cea0
	  o More API documentation
Packit 51cea0
	  o Added flags argument to rtnl_addr_(add|build_add_request)().
Packit 51cea0
	  o Added rtnl_addr_(set|get)_multicast().
Packit 51cea0
	  o Moved scope translations routines from route/route.c to
Packit 51cea0
	    route/rtnl.c, required by other modules as well.
Packit 51cea0
	  o Removed old rtattr bits from rtnetlink-kernel.h
Packit 51cea0
	  o Customized libnl.css for doxygen documentation
Packit 51cea0
	  o Removed non-reentrant translation routines, only bloating
Packit 51cea0
	    the code and too risky.
Packit 51cea0
	  o Fixed wrong version number from 1.0-pre1.
Packit 51cea0
	  o Reenabled unfinished policer module.
Packit 51cea0
	  o Reworked TBF module, automatic caluclation of transmit times,
Packit 51cea0
	    limit setable via latency, automatic cell size calculation,
Packit 51cea0
	    options TLV generation. (untested)
Packit 51cea0
	  o Renamed nl_xmittime() to rtnl_tc_calc_txtime().
Packit 51cea0
	  o Renamde nl_build_rtable() to rtnl_tc_build_rate_table()
Packit 51cea0
Packit 51cea0
	Petr Gotthard <petr.gotthard@siemens.com>,
Packit 51cea0
	Siemens AG Oesterreich
Packit 51cea0
	  o Fix symlinks to libnl library files to be moveable
Packit 51cea0
	  o Fix extern struct prototypes meant to be static.
Packit 51cea0
	  o Add empty install target to src/Makefile
Packit 51cea0
Packit 51cea0
	Simon Stelling <blubb@gentoo.org>
Packit 51cea0
	  o Use LIBDIR instead of $(prefix)/lib for users to alllow librariers
Packit 51cea0
	    into $(prefix)/lib64.
Packit 51cea0
Packit 51cea0
Summary of Changes from 0.5.0 to 1.0-pre1
Packit 51cea0
================================================
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>
Packit 51cea0
	  o Uncountable number of changes, rewrite of certain modules,
Packit 51cea0
	    several major API breakages
Packit 51cea0
	
Packit 51cea0
	Petr Gotthard <petr.gotthard@siemens.com>,
Packit 51cea0
	Siemens AG Oesterreich
Packit 51cea0
	  o added class_build, rtnl_class_build_add_request, rtnl_class_add
Packit 51cea0
	  o added HTB (Hierachical Token Bucket) class support
Packit 51cea0
	  o added nl_xmittime, nl_build_rtable
Packit 51cea0
	  o added nl_data_append to realloc a nl_data structure
Packit 51cea0
	  o added rtnl_rcopy_ratespec as reverse to rtnl_copy_ratespec
Packit 51cea0
	  o fixed byte order conversion of rtnl_filter.protocol
Packit 51cea0
	  o SuSE and Fedora Linux compile fixes
Packit 51cea0
	  o fixed u32 classifier support
Packit 51cea0
	  o added rtnl_u32_set_handle, rtnl_u32_set_classid, rtnl_u32_set_flags
Packit 51cea0
	    and several rtnl_u32_add_key_... operations to u32 classifier
Packit 51cea0
Packit 51cea0
Summary of Changes from 0.4.4 to 0.5.0
Packit 51cea0
================================================
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>
Packit 51cea0
	  o API documentation
Packit 51cea0
	  o nl_cache_filter to manually filter on a object
Packit 51cea0
	  o partial routing support
Packit 51cea0
	  o routing rules support
Packit 51cea0
	  o Propely set address family when setting addresses
Packit 51cea0
	  o debug flag and some rare messages, more to come
Packit 51cea0
	  o make error mesage verboseness configureable
Packit 51cea0
	  o tc fixes to wait for ack
Packit 51cea0
	  o cleanup and adaption of address code to latest internal API
Packit 51cea0
	  o various cleanups
Packit 51cea0
	  o dozens of API breakages (better now than later)
Packit 51cea0
Packit 51cea0
	Daniel Hottinger <hotti@hotti.ch>
Packit 51cea0
	  o arch 64bit printf length modifier fixes
Packit 51cea0
Packit 51cea0
	Baruch Even <baruch@ev-en.org>,
Packit 51cea0
	Mediatrix Telecom, inc. <ericb@mediatrix.com>
Packit 51cea0
	  o address support
Packit 51cea0
Packit 51cea0
Summary of changes from 0.4.3 to 0.4.4
Packit 51cea0
================================================
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>:
Packit 51cea0
	  o overall cleanups for better code quality
Packit 51cea0
	  o replace dump_(brief|full|with_stats) ops with
Packit 51cea0
	    dump[NL_DUMP_MAX] array to allow further additions without
Packit 51cea0
	    breaking the ABI.
Packit 51cea0
	  o add of send_ack callback, called whenever when oppenent
Packit 51cea0
	    asks for an ACK.
Packit 51cea0
	  o make nl_parse_rtattr initialize the tb buffer like in the
Packit 51cea0
	    kernel, caller must no longer take care of it.
Packit 51cea0
	  o remove nl_addrnattr (obsolete)
Packit 51cea0
	  o fixed nl_msg_append_raw to correctly calculate length
Packit 51cea0
	    for raw data not aligned to NLMSG_ALIGN
Packit 51cea0
	  o fix memory leak in nl_recv in case of errors
Packit 51cea0
	  o correctly check sequence numbers if more than one message
Packit 51cea0
	    was sent out before the answer is being received.
Packit 51cea0
	  o add workaround for buggy netlink applications not properly
Packit 51cea0
	    setting NLM_F_MULTI.
Packit 51cea0
Packit 51cea0
Summary of changes from 0.4.2 to 0.4.3
Packit 51cea0
================================================
Packit 51cea0
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>:
Packit 51cea0
	  o use parser_param in nl_cache_parse
Packit 51cea0
	  o EGP: dump nfilters attribute
Packit 51cea0
	  o allow retrieving of filters attached to classes via
Packit 51cea0
	    FILTER_CACHE_PARENT(C) cache argument
Packit 51cea0
	  o filter message building API
Packit 51cea0
Packit 51cea0
Summary of changes from 0.4.1 to 0.4.2
Packit 51cea0
================================================
Packit 51cea0
Packit 51cea0
	Baruch Even <baruch@ev-en.org>:
Packit 51cea0
	  o memory leak fix in nl_parse_rtattr
Packit 51cea0
	  o reset padding to 0 when appending raw data to a nl_msg
Packit 51cea0
	  o avoid overwriting nlmsg ptr when buffer extending fails
Packit 51cea0
	  o typo fixes
Packit 51cea0
	  o create symlinks libnl.so.0 and libnl.so
Packit 51cea0
	
Packit 51cea0
	Thomas Graf <tgraf@suug.ch>:
Packit 51cea0
	  o EGP classifier support
Packit 51cea0
	  o avoid null pointer in printf call
Packit 51cea0
	  o added nl_cache_parse to put nl_msg's into a cache
Packit 51cea0
	  o added rtnl_filter_build to build a nl_msg filter message
Packit 51cea0
	  o correctly install header files
Packit 51cea0
	  o nl_msg_payload/nl_msg_payloadlen to access nl_msg payload
Packit 51cea0
	  o nl_parse_nested macro to simplify nested TLV parsing
Packit 51cea0
	  o NL_ERROR_ASSERT compile flag to assert(0) on errors
Packit 51cea0
	  o rta alignment fix in nl_msg_append_tlv
Packit 51cea0
	  o added nl_msg_parse_rtattr as shortcut for nl_parse_rtattr
Packit 51cea0
	    for nl_msg API
Packit 51cea0
	  o added nl_parse_nested for nested TLVs
Packit 51cea0
	  o added RTA_ARRAY_ELEMS macro to calculate array length
Packit 51cea0
	    for array TLVs
Packit 51cea0
	  o added nl_wait_for_ack to wait for the next ack
Packit 51cea0
	  o added rtnl_link_build_change_request(...)
Packit 51cea0
	  o added rtnl_neigh_build_*_request
Packit 51cea0
	  o converted neighbour code to use nl_wait_for_ack
Packit 51cea0
	  o cb_recvmsgs_ow callback to overwrite internal calls to
Packit 51cea0
	    nl_recvmsgs_def
Packit 51cea0
	  o cb_seq_check callback to overwrite default sequence checking
Packit 51cea0
	  o added nl_parser_param as argument for message parsers including
Packit 51cea0
	    a callback to be called upon successful parsing of a message.
Packit 51cea0
	    Removes the requirement of having all parsed messages to be added
Packit 51cea0
	    to a cache.
Packit 51cea0
	  o added cb_recv_ow and nl_send_ow callbacks to overwrite internal
Packit 51cea0
	    calls to nl_recv and nl_send.
Packit 51cea0
Packit 51cea0
	Jamal Hadi Salim <hadi@cyberus.ca>
Packit 51cea0
	  o Linux 2.4 compile fixes