summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix make check when using --disable-cliGilles Espinasse2012-12-051-4/+8
| | | | | Signed-off-by: Gilles Espinasse <g.esp@free.fr> Signed-off-by: Thomas Graf <tgraf@suug.ch>
* genl: modify genl_ctrl_resolve and friends to allow for module auto-loadingNeil Horman2012-06-031-0/+3
| | | | | | | | | | | | Generic netlink has the ability to autoload modules in response to a request for a family. Currently libnl uses a GETFAMILY call with the NLM_F_DUMP flag to list all the available families, but doing so neglects the possibility of an autoloaded module. This patch modifies the genl code to probe the kernel for a specific family rather than dumping a list of all the currenlty available ones, making autoload work properly. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> CC: Thomas Graf <tgraf@redhat.com>
* genl: Support registration of families without depending on cachesThomas Graf2012-06-011-4/+83
| | | | | | | | | | | | Introduces the functions genl_register_family() and genl_unregister_family() to register a Generic Netlink family which does not implement a cachable type. API users can direct received messages into genl_handle_msg() which will validate the messages and call the callback functions defined in the commands definition. See test/test-genl.c for an example on how to use it.
* u32: fix various u32 hashing related warningsAdrian Ban2012-05-161-35/+43
| | | | | I've add an missing u32 hash filter missing from u32.h I've fix all warnings in file test-complex-HTB-with-hash-filters.c
* u32: example/test code for u32 hashing with HTBAdrian Ban2012-05-083-1/+760
|
* test-cache-mngr: Allow for management of arbitary caches via argument stringThomas Graf2012-04-211-23/+17
| | | | | | | | Let the user specify a list of cache types to add to the manager as arguments instead of adding a static list. Uses the newly added nl_cache_mngr_info() to constantly print information about the manager.
* test-cache-mngr: Let the cache manager allocate the socketThomas Graf2012-04-211-4/+1
|
* tests: fix test programs to compile againThomas Graf2012-04-215-45/+49
|
* tests: Convert tests/Makefile to use automakeThomas Graf2012-04-212-33/+31
|
* 3.1 releaseThomas Graf2011-08-114-9/+114
|
* - Reworked the classifier interface.Thomas Graf2009-09-021-1/+1
| | | | | | - Added initial ematch support - Added support for the basic classifier - Added support for the cgroup classifier
* Remove obsoleted struct nl_handle definitionThomas Graf2008-12-101-1/+1
|
* test updatesThomas Graf2008-08-204-82/+47
|
* Free associated caches when freeing cache managerThomas Graf2008-02-051-2/+13
| | | | | | Caches allocated by the cache manager must be freed again when the cache manager itself is freed. However, the netlink socket is allocated indepdently so it should not be freed.
* Tell git to ignore temporary files and push to pre9Thomas Graf2008-01-091-0/+4
|
* Fix creation and destruction of socketsThomas Graf2007-12-171-4/+16
| | | | | | | | Fixes an off-by-one when releasing local ports. Fixes nl_connect() to properly close the socket upon failure. Return EBADFD if operations are performed on unconnected sockets where appropriate. Makes nl_handle_alloc() return an error if all local ports are used up.
* Initial importThomas Graf2007-09-155-0/+239