No description
Find a file
Arend van Spriel 86207d47ab python: rework netlink callback handling
The initial commit adding netlink callback handling also introduced
memory leak issue. The python callback info was stored in an allocated
structure, but that was never freed.

Only exposing nl_cb_alloc() as is. nl_cb_get() is removed as it is
not very useful to use reference counting mechanism. Python uses
that itself internally. To deal properly with Python callback info
the function nl_cb_put() and nl_cb_clone() have a custom wrapper
taking care of Python reference counting.

This commit also adds a Callback python class using the netlink
callback functions.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-09-05 17:46:00 +02:00
doc Add VXLAN support. 2013-08-04 15:43:54 +09:00
etc pktloc: support to specify a shift operator for packet locations 2010-11-04 20:01:36 +01:00
include nl_cb: store nl_cb_type in struct nl_cb 2013-09-05 17:46:00 +02:00
lib nl_cb: store nl_cb_type in struct nl_cb 2013-09-05 17:46:00 +02:00
m4 doc: Check documentation generation requirements with autoconf 2012-05-09 10:06:24 +02:00
man genl: Update genl-ctrl-list(8) 2012-06-01 13:10:03 +02:00
python python: rework netlink callback handling 2013-09-05 17:46:00 +02:00
src Priority of the '<' operator is higher than that of the '=' operator 2013-08-26 10:06:30 +02:00
tests Add VXLAN support. 2013-08-04 15:43:54 +09:00
.gitignore Enable linker versioning 2013-08-07 14:51:03 +02:00
autogen.sh doc: Split doc/ into separate packages 2012-10-19 16:16:06 +02:00
ChangeLog libnl 3.2.10 2012-06-06 11:43:53 +02:00
configure.ac Enable linker versioning 2013-08-07 14:51:03 +02:00
COPYING Update COPYING to fix FSF address 2012-01-17 12:38:37 +01:00
libnl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-cli-3.0.pc.in Add libnl-cli-3.0 to pkg-config tool 2011-10-10 11:39:24 +02:00
libnl-genl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-idiag-3.0.pc.in Add support for inet diag Netlink protocol. 2013-07-19 02:06:21 -07:00
libnl-nf-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-route-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl.sym.in Enable linker versioning 2013-08-07 14:51:03 +02:00
Makefile.am make: automake provides a cscope target these days 2012-12-21 13:30:21 +01:00