History log of /external/libnl/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
19c48c82efd448e310e8151af749c5f6ec5d321b 08-Sep-2011 Thomas Graf <tgraf@infradead.org> Remove GPL-3.0 license file.

There is no code licensed GPL-3.0 so we might as well remove this file.

(Cherry-picked from upstream
http://git.infradead.org/users/tgr/libnl.git/commit/7ac948c643b86104e5b6b795a0f44b8d2ede1bd1
)
OPYING
cb05bbb0e2d38f41569754e1505c22929537c17e 05-Aug-2010 Andreas Bießmann <biessmann@corscience.de> automake: add ${top_builddir}/include to AM_CFLAGS

This patch enables out-of-source builds like this
$ cd builddir && src_dir/configure && make

Before this patch there was an error about missing netlink/version.h which
is built by automake in top_builddir rather than top_srcdir which is already
in include search path.

Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
akefile.am
ib/Makefile.am
706ac94ed523be847f09d04544d379d35263a930 13-Oct-2010 Thomas Graf <tgraf@suug.ch> Use CPPFLAGS
ib/Makefile.am
a172e3ccf0617828a23d08c8c4a8eb4825ce0ccf 19-Apr-2010 Matthew L. Creech <mlcreech@gmail.com> Put preprocessor definitions in AM_CPPFLAGS

When an alternate kernel header include directory is added in
CPPFLAGS, the libnl build fails. This is because the local copy of
kernel headers is added in AM_CFLAGS, which gets included after
CPPFLAGS in the automake-generated makefile. Switching to AM_CPPFLAGS
fixes the problems.
akefile.am
db5bd57899affbcaf42ac0b93c5c7be8f51ca390 02-Jul-2010 Thomas Graf <tgr@lsx.(none)> Packet Location Interface
akefile.am
l-pktloc-lookup.c
d378220c96c3c8b6f27dca33e7d8ba03318f9c2d 18-Mar-2010 Karl Hiramoto <karl@hiramoto.org> src/nf-queue.c: cleanup and improve performance of test program for NF_QUEUE

* Fix filename in file header

* If the kernel or netlink socket becomes over loaded,
the kernel starts printing error messages like:

nf_queue: full at 1024 entries, dropping packets(s). Dropped: 1
nf_queue: full at 1024 entries, dropping packets(s). Dropped: 2
nf_queue: full at 1024 entries, dropping packets(s). Dropped: 3

So detect out of order packet ID's and set the NF_ACCEPT verdict�,
so they will be removed from the kernel queue.

* increase socket buffer to improve performance

without these changes sending more than 100 KB/s over tcp HTTP lo(localhost)
was difficult on my core2 duo machine, due to so many dropped packets.
After these changes over 150 MB/s was easy.

* improve help text

Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
f-queue.c
8808743839b0f459394ecd00cb0f7c1896c0ab7a 16-Dec-2009 Thomas Graf <tgraf@suug.ch> CLI - Command Line Interface Library

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}
akefile.am
ddr-utils.c
ddr-utils.h
t-utils.c
t-utils.h
trl-utils.c
trl-utils.h
enl-ctrl-list.c
ib/Makefile.am
ib/addr.c
ib/ct.c
ib/link.c
ib/neigh.c
ib/qdisc.c
ib/route.c
ib/rule.c
ib/utils.c
ink-utils.c
ink-utils.h
og-utils.c
og-utils.h
eigh-utils.c
eigh-utils.h
f-ct-list.c
f-log.c
f-monitor.c
f-queue.c
l-addr-add.c
l-addr-delete.c
l-addr-list.c
l-fib-lookup.c
l-link-ifindex2name.c
l-link-list.c
l-link-name2ifindex.c
l-link-set.c
l-link-stats.c
l-list-caches.c
l-list-sockets.c
l-monitor.c
l-neigh-add.c
l-neigh-delete.c
l-neigh-list.c
l-neightbl-list.c
l-qdisc-delete.c
l-qdisc-list.c
l-route-add.c
l-route-delete.c
l-route-get.c
l-route-list.c
l-rule-list.c
l-tctree-list.c
l-util-addr.c
disc-utils.c
disc-utils.h
ueue-utils.c
ueue-utils.h
oute-utils.c
oute-utils.h
tnl-utils.c
tnl-utils.h
ule-utils.c
ule-utils.h
tils.c
tils.h
fed168212ecfd179691813b67959fa20593d23dd 05-Nov-2009 Patrick McHardy <kaber@trash.net> libnl: fix automake breakage

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>
akefile.am
dc273a12da9f0116e80fa81d63beb820e632dd17 03-Sep-2009 Thomas Graf <tgr@lsx.localdomain> - Compile with _GNU_SOURCE
- Fixed classifier.c -> cls.c
akefile.am
f946cfaa3a45e4c5752e3930e8383196aae85399 02-Sep-2009 Thomas Graf <tgr@lsx.localdomain> Merge branch 'master' of git://dev.medozas.de/libnl

Conflicts:
lib/Makefile
src/Makefile
ef858fb492dfe98e3ae194264fbc73649cf8493a 02-Sep-2009 Thomas Graf <tgr@lsx.localdomain> - Reworked the classifier interface.
- Added initial ematch support
- Added support for the basic classifier
- Added support for the cgroup classifier
akefile
ls/basic.c
ls/cgroup.c
ls/utils.c
ls/utils.h
l-cls-add.c
l-cls-delete.c
l-cls-list.c
l-list-caches.c
tils.h
a73e5f92c378e96458ae88a3dc07514ee5856987 05-Jul-2009 Jan Engelhardt <jengelh@medozas.de> build: make use of library dependencies
akefile.am
bf4fd3acee4e611afee20025f55454e37813f8ca 23-Jun-2009 Jan Engelhardt <jengelh@medozas.de> Move to automake-based build

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>
akefile
akefile.am
8ee16e6688657886f591f0841cb8e892743ecf2a 07-Apr-2009 Pavel Roskin <proski@gnu.org> Separate compiling from linking

This helps users understand where possible warnings come from.
It also allows more find-grained control over the build flags.
akefile
4f2ff2749bd9a498dc2e65a16f713fd0315d9d41 07-Apr-2009 Pavel Roskin <proski@gnu.org> Include limits.h to fix undefined ULONG_MAX in src/utils.c
tils.c
f9071054d0f2512dea9e95f99c308e931ed78dba 21-Jan-2009 Patrick McHardy <kaber@trash.net> libnl: fix socket function rename related build failure

Signed-off-by: Patrick McHardy <kaber@trash.net>
f-log.c
f-monitor.c
f-queue.c
l-monitor.c
b624b9ed936f4c23bc4f30d8dce34da49775dd15 10-Dec-2008 Thomas Graf <tgr@plip.localdomain> Remove obsoleted struct nl_handle definition
isabled-nl-qdisc-add.c
l-addr-delete.c
l-addr-list.c
l-fib-lookup.c
l-route-add.c
l-route-delete.c
334f551c5994f7a5a2163fd73ca20d201c7e7bf0 23-Oct-2008 Patrick McHardy <kaber@trash.net> libnl: nfqueue: add nfqueue specific socket allocation function

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>
f-queue.c
b310cbb7b6d1f48411d3ee72b48b7103ee2267eb 19-Aug-2008 Thomas Graf <tgr@plip.localdomain> Explicitely link to nl-route when linking nf apps.

ld won't resolve its own deps in -L../lib/ for some
reason.
akefile
13ab2441ced84cfc093734b257c43fa468cb22fd 17-Jun-2008 Thomas Graf <tgr@lsx.localdomain> Remove XML dumping

Bloats the library, not frequently used
l-list-caches.c
tils.c
ff05f2ffc3caea6c59b6c940aa80e1314783a070 17-Jun-2008 Thomas Graf <tgr@lsx.localdomain> Fix compile errors when linking against libnl-genl
l-list-caches.c
tils.c
tils.h
ab578b9ca00b19ad6b66283ec08d004f9fc391d6 17-Jun-2008 Thomas Graf <tgr@lsx.localdomain> Improvements to address utilities

- Moved env var dumping to nl-addr-list.c
- support for ipv6 lifetimes
- correct and complete help texts
ddr-utils.c
ddr-utils.h
l-addr-add.c
l-addr-delete.c
l-addr-list.c
d84430702496f617c01c5e2d27d0e82e02390bb7 23-May-2008 Thomas Graf <tgr@lsx.localdomain> Remove old line counting while dumping
enl-ctrl-list.c
f-ct-list.c
l-addr-add.c
l-addr-delete.c
l-addr-list.c
l-fib-lookup.c
l-link-list.c
l-link-set.c
l-neigh-add.c
l-neigh-delete.c
l-neigh-list.c
l-neightbl-list.c
l-qdisc-delete.c
l-qdisc-list.c
l-route-add.c
l-route-delete.c
l-route-list.c
l-rule-list.c
tils.c
10cf5a586c149fdb7e2639000dbfae5e6f8522a5 23-May-2008 Thomas Graf <tgr@lsx.localdomain> New set of libnl tools

Converts all tools to the API changes and improves the useability by
introducing regular options and long options.
gitignore
akefile
ddr-utils.c
ddr-utils.h
t-utils.c
t-utils.h
trl-utils.c
trl-utils.h
isabled-nl-qdisc-add.c
_ct.c
_link.c
_neigh.c
enl-ctrl-dump.c
enl-ctrl-list.c
ink-utils.c
ink-utils.h
og-utils.c
og-utils.h
eigh-utils.c
eigh-utils.h
f-ct-dump.c
f-ct-list.c
f-log.c
f-monitor.c
f-queue.c
l-fib-lookup.c
l-link-dump.c
l-link-ifindex2name.c
l-link-list.c
l-link-name2ifindex.c
l-link-set.c
l-link-stats.c
l-monitor.c
l-neigh-add.c
l-neigh-delete.c
l-neigh-dump.c
l-neigh-list.c
l-neightbl-dump.c
l-neightbl-list.c
l-qdisc-add.c
l-qdisc-delete.c
l-qdisc-dump.c
l-qdisc-list.c
l-route-add.c
l-route-delete.c
l-route-get.c
l-route-list.c
l-rule-dump.c
l-rule-list.c
l-tctree-dump.c
l-tctree-list.c
l-util-addr.c
disc-utils.c
disc-utils.h
ueue-utils.c
ueue-utils.h
oute-utils.c
oute-utils.h
tnl-utils.c
tnl-utils.h
ule-utils.c
ule-utils.h
tils.c
tils.h
4f339ba0afeabfa1aa4e3d0215311af9d4d82aa0 16-May-2008 Thomas Graf <tgr@lsx.localdomain> Remove src/f_addr.c, it's no longer used
_addr.c
e1cc1b859e81e7b0645d8183b555a470909655e1 15-May-2008 Thomas Graf <tgr@lsx.localdomain> utility functions for address tools
ddr-utils.c
ddr-utils.h
5e732ad075e54ceb9f9e94fadbcec2e83d971b52 15-May-2008 Thomas Graf <tgr@lsx.localdomain> New set of address management tools
OPYING
akefile
l-addr-add.c
l-addr-delete.c
l-addr-dump.c
l-addr-list.c
tils.c
tils.h
85f932552e61c5997c1e83fe386098c94d93c273 08-May-2008 Ben Gamsa <ben@somanetworks.com> patch: fixed compilation problem for nl-route-get

Fixed compilation problem for nl-route-get by adding extra parameter now
needed for nltool_alloc_route_cache() function.
l-route-get.c
85808860b6174aecc901c34c90968911ad013280 05-May-2008 Thomas Graf <tgr@lsx.localdomain> Route cache support

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.
l-route-add.c
l-route-delete.c
l-route-list.c
tils.c
tils.h
a948e082ea1d9457057296f65e5d72708cd5e768 30-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Adapt syntax of nl-route-add to nl-route-delete
l-route-add.c
182608e23629781698756aaf36c1db4ba888626f 30-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Fix segfault nexthop parsing when no option is given
oute-utils.c
6d9d3d54750c1d8a9c90c463cc1d58a447c98f64 30-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Adapt syntax of nl-route-list to nl-route-delete
l-route-list.c
tils.c
2a09497fa43699320346a224829e764448406537 30-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Improved nl-route-delete featuring an interactive deletion mode
l-route-delete.c
tils.h
535e83162249ed6274ba46bc72d8cc683ba20e17 29-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Big routing code rework (API/ABI BREAK!)

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.
gitignore
akefile
_route.c
l-route-add.c
l-route-del.c
l-route-delete.c
l-route-dump.c
l-route-list.c
oute-utils.c
oute-utils.h
tils.c
tils.h
8ac78f1552fa6b6340776513c8a7c36f7b72e498 29-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Fix compile warning in nl-list-caches
l-list-caches.c
22f0ece5acc0d1cbe556c1dd2a11bb42d27cab0c 29-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Remove dead code in nl-list-sockets
l-list-sockets.c
25ccbf1dab4d40ddd0fa5343c31aed0a49d76c46 29-Apr-2008 Thomas Graf <tgr@lsx.localdomain> Prepare nl-list-sockets for 64bit addresses
l-list-sockets.c
2f4f8a5094b56c460f4b5bb1b62b7ec8f624942c 18-Jan-2008 Patrick McHardy <kaber@trash.net> [LIBNL]: Split up nfnetlink_log into log and msg objects

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>
f-log.c
e72cb033f2f7323b63f3e640a37e7a75558ab128 18-Jan-2008 Patrick McHardy <kaber@trash.net> [LIBNL]: Add nfnetlink_queue support

Signed-off-by: Patrick McHardy <kaber@trash.net>
f-queue.c
373bc7854537cf931a73b18ea126e75fd2f13935 09-Jan-2008 Thomas Graf <tgr@deb.localdomain> Tell git to ignore temporary files and push to pre9
gitignore
680c54fd4616649763a50b122df6cff53b9e62bd 18-Dec-2007 Thomas Graf <tgr@deb.localdomain> Support defining the default callback handler with an environment variable
tils.c
3c56ed5787481a06703ffb25561df3dd56b447bd 18-Dec-2007 Thomas Graf <tgr@deb.localdomain> Read debugging environment variable when initializing the library
tils.c
5780c640fcf9dee398a72285c7cc34ab8f5c46a3 13-Dec-2007 Patrick McHardy <kaber@trash.net> [LIBNL]: Fix pointer conversion warnings on 64 bit

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
l-tctree-dump.c
6a0d290a704f0d4201acd9a553a01e602e9ece52 13-Dec-2007 Patrick McHardy <kaber@trash.net> [LIBNL]: Fix pointer conversion warnings on 64 bit

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>
l-tctree-dump.c
936c9844b0ff4aab06301f18fe31e08b1818d0a2 13-Dec-2007 Patrick McHardy <kaber@trash.net> [LIBNL]: Fix format strings

Use %td for ptrdiff_t and %zu for size_t.

Signed-off-by: Patrick McHardy <kaber@trash.net>
l-list-caches.c
d36d396fd0ae94aa2269546a02b5973b4ec27775 11-Oct-2007 Thomas Graf <tgraf@suug.ch> Cache message type association interface cleanups
l-list-caches.c
cbe8902265ccc9f6aa6453aeb3a2a4631ed0eb01 18-Sep-2007 Philip Craig <philipc@snapgear.com> Allow filtering by name for conntrack status flags
_ct.c
f-ct-dump.c
44d362409d5469aed47d19e7908d19bd194493a4 15-Sep-2007 Thomas Graf <tgraf@suug.ch> Initial import
akefile
_addr.c
_ct.c
_link.c
_neigh.c
_route.c
enl-ctrl-dump.c
f-ct-dump.c
f-log.c
f-monitor.c
l-addr-add.c
l-addr-delete.c
l-addr-dump.c
l-fib-lookup.c
l-link-dump.c
l-link-ifindex2name.c
l-link-name2ifindex.c
l-link-set.c
l-link-stats.c
l-list-caches.c
l-list-sockets.c
l-monitor.c
l-neigh-add.c
l-neigh-delete.c
l-neigh-dump.c
l-neightbl-dump.c
l-qdisc-add.c
l-qdisc-delete.c
l-qdisc-dump.c
l-route-add.c
l-route-del.c
l-route-dump.c
l-route-get.c
l-rule-dump.c
l-tctree-dump.c
l-util-addr.c
tils.c
tils.h