summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* CLI - Command Line Interface LibraryThomas Graf2009-12-1662-1454/+1212
| | | | | Moved common code in src/ used by CLI tools to src/lib/ for possible use by other CLI tools. Just link to libnl-cli.{so|la}
* libnl: fix automake breakagePatrick McHardy2009-11-101-2/+18
| | | | | | | | libnl-route must be handled before libnl-nf in lib_LTLIBRARIES since the later depends on the former. Additionally nf-monitor, nl-list-caches, nl-list-sockets and nl-util-addr have been dropped from the Makefile. Signed-off-by: Patrick McHardy <kaber@trash.net>
* - Compile with _GNU_SOURCEThomas Graf2009-09-031-1/+1
| | | | - Fixed classifier.c -> cls.c
* Merge branch 'master' of git://dev.medozas.de/libnlThomas Graf2009-09-022-66/+86
|\ | | | | | | | | | | Conflicts: lib/Makefile src/Makefile
| * build: make use of library dependenciesJan Engelhardt2009-07-051-25/+25
| |
| * Move to automake-based buildJan Engelhardt2009-06-232-62/+86
| | | | | | | | | | | | | | | | | | | | | | | | Issues solved: * PACKAGE_VERSION was abused for SOVERSION * unneeded DEP stage * did not support out-of-tree builds * no way to turn off silent mode * overriding CFLAGS at make time was not supported * no static libs were provided Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* | - Reworked the classifier interface.Thomas Graf2009-09-0210-1/+701
|/ | | | | | - Added initial ematch support - Added support for the basic classifier - Added support for the cgroup classifier
* Separate compiling from linkingPavel Roskin2009-04-161-3/+3
| | | | | This helps users understand where possible warnings come from. It also allows more find-grained control over the build flags.
* Include limits.h to fix undefined ULONG_MAX in src/utils.cPavel Roskin2009-04-161-0/+1
|
* libnl: fix socket function rename related build failurePatrick McHardy2009-01-214-4/+4
| | | | Signed-off-by: Patrick McHardy <kaber@trash.net>
* Remove obsoleted struct nl_handle definitionThomas Graf2008-12-106-6/+6
|
* libnl: nfqueue: add nfqueue specific socket allocation functionPatrick McHardy2008-10-231-1/+4
| | | | | | | | | | | | | | | | | commit e92539843a0c7e5116254382626cce226bf2135e Author: Patrick McHardy <kaber@trash.net> Date: Thu Oct 23 13:46:16 2008 +0200 libnl: nfqueue: add nfqueue specific socket allocation function nfqueue users usually send verdict messages from the receive callback. When waiting for ACKs, the receive callback might be called again recursively until the stack blows up. Add a nfqueue specific socket allocation function that automatically disables ACKing for the socket. Signed-off-by: Patrick McHardy <kaber@trash.net>
* Explicitely link to nl-route when linking nf apps.Thomas Graf2008-08-191-1/+1
| | | | | ld won't resolve its own deps in -L../lib/ for some reason.
* Remove XML dumpingThomas Graf2008-06-172-3/+0
| | | | Bloats the library, not frequently used
* Fix compile errors when linking against libnl-genlThomas Graf2008-06-173-1/+2
|
* Improvements to address utilitiesThomas Graf2008-06-175-54/+198
| | | | | | - Moved env var dumping to nl-addr-list.c - support for ipv6 lifetimes - correct and complete help texts
* Remove old line counting while dumpingThomas Graf2008-05-2319-20/+20
|
* New set of libnl toolsThomas Graf2008-05-2362-1788/+2143
| | | | | Converts all tools to the API changes and improves the useability by introducing regular options and long options.
* Remove src/f_addr.c, it's no longer usedThomas Graf2008-05-161-107/+0
|
* utility functions for address toolsThomas Graf2008-05-152-0/+112
|
* New set of address management toolsThomas Graf2008-05-158-289/+1070
|
* patch: fixed compilation problem for nl-route-getBen Gamsa2008-05-081-1/+1
| | | | | Fixed compilation problem for nl-route-get by adding extra parameter now needed for nltool_alloc_route_cache() function.
* Route cache supportThomas Graf2008-05-055-9/+14
| | | | | | This changesets adds the possibility to fill a nl_cache with the contents of the route cache. It also adds the possibility to limit route caches to certain address families.
* Adapt syntax of nl-route-add to nl-route-deleteThomas Graf2008-04-301-47/+73
|
* Fix segfault nexthop parsing when no option is givenThomas Graf2008-04-301-0/+4
|
* Adapt syntax of nl-route-list to nl-route-deleteThomas Graf2008-04-302-41/+63
|
* Improved nl-route-delete featuring an interactive deletion modeThomas Graf2008-04-302-44/+125
|
* Big routing code rework (API/ABI BREAK!)Thomas Graf2008-04-2912-305/+636
| | | | | | | | | | Adds all missing routing attributes and brings the routing related code to a working state. In the process the API was broken several times with the justification that nobody is using this code yet. The changes include new example code which is also a prototype for how plain CLI tools could look like to control routes.
* Fix compile warning in nl-list-cachesThomas Graf2008-04-291-1/+0
|
* Remove dead code in nl-list-socketsThomas Graf2008-04-291-9/+0
|
* Prepare nl-list-sockets for 64bit addressesThomas Graf2008-04-291-4/+4
|
* [LIBNL]: Split up nfnetlink_log into log and msg objectsPatrick McHardy2008-02-071-9/+46
| | | | | | | | | | | | | | Split the nfnetlink_log code into two seperate objects, "netfilter/log" to represent logging instances and "netfilter/log_msg" to represent log messages. Also perform some function name unification for consistency with other libnl object types, mainly renaming nfnl_log_build_*_msg to nfnl_log_build_*_request. This changes the API in an incompatible way, but since this feature is new and the libnl netfilter headers haven't been installed so far, there shouldn't be any users affected by this. Signed-off-by: Patrick McHardy <kaber@trash.net>
* [LIBNL]: Add nfnetlink_queue supportPatrick McHardy2008-02-071-0/+172
| | | | Signed-off-by: Patrick McHardy <kaber@trash.net>
* Tell git to ignore temporary files and push to pre9Thomas Graf2008-01-091-0/+31
|
* Support defining the default callback handler with an environment variableThomas Graf2007-12-181-29/+1
|
* Read debugging environment variable when initializing the libraryThomas Graf2007-12-181-12/+0
|
* [LIBNL]: Fix pointer conversion warnings on 64 bitPatrick McHardy2007-12-131-4/+4
| | | | | | | | | | | nl-tctree-dump.c: In function 'print_class': nl-tctree-dump.c:31: warning: cast from pointer to integer of different size nl-tctree-dump.c:44: warning: cast from pointer to integer of different size nl-tctree-dump.c: In function 'print_qdisc': nl-tctree-dump.c:55: warning: cast from pointer to integer of different size nl-tctree-dump.c:64: warning: cast from pointer to integer of different size Signed-off-by: Patrick McHardy <kaber@trash.net
* [LIBNL]: Fix pointer conversion warnings on 64 bitPatrick McHardy2007-12-131-4/+4
| | | | | | | | | | | nl-tctree-dump.c: In function 'print_class': nl-tctree-dump.c:31: warning: cast from pointer to integer of different size nl-tctree-dump.c:44: warning: cast from pointer to integer of different size nl-tctree-dump.c: In function 'print_qdisc': nl-tctree-dump.c:55: warning: cast from pointer to integer of different size nl-tctree-dump.c:64: warning: cast from pointer to integer of different size Signed-off-by: Patrick McHardy <kaber@trash.net>
* [LIBNL]: Fix format stringsPatrick McHardy2007-12-131-1/+1
| | | | | | Use %td for ptrdiff_t and %zu for size_t. Signed-off-by: Patrick McHardy <kaber@trash.net>
* Cache message type association interface cleanupsThomas Graf2007-10-111-1/+1
|
* Allow filtering by name for conntrack status flagsPhilip Craig2007-09-182-4/+24
|
* Initial importThomas Graf2007-09-1538-0/+3514