Patrick McHardy
660297a3dc
build: convert build to libnl3
...
This patch converts libdect to build with libnl3. Older libnl versions will
not work anymore, to fix this the build system will be converted to automake
and pkgconfig soon.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2013-04-01 12:13:36 +02:00
Patrick McHardy
8dabcb35c6
netlink: include dect_netlink.h
...
Fix compilation with current gccs which require enum definition.
Signed-off-by: Patrick McHardy <kaber@trash,net>
2011-04-23 14:14:58 +02:00
Patrick Mchardy
102612d5aa
netlink: set PARI on dect_llme_mac_me_info_res, clear on dect_llme_scan_req
...
Signed-off-by: Patrick Mchardy <kaber@t61.localnet>
2010-11-19 20:17:37 +01:00
Patrick McHardy
38d4c54807
netlink: clear ARI to make it usable for dect_ari_cmp()
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-17 16:11:16 +01:00
Patrick McHardy
3c41dc14e0
netlink: add MAC_ME_INFO-res and SCAN-req primitives
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-16 18:54:49 +01:00
Patrick McHardy
305e9be660
netlink: restore broadcast reception handler after sending unicast requests
...
Instead of setting the handler to NULL, restore the broadcast message
reception handler. Otherwise messages will be lost after sending a
unicast request. This currently only works because the requests are
either sent before the broadcast message handler is installed by the
initialization function or (in FP mode) there are no broadcast messages.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-11-14 19:10:48 +01:00
Patrick McHardy
a32f8ab727
doc: add documentation for dect_llme_rfp_preload_req
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-05 10:26:10 +02:00
Patrick McHardy
3a01874cd6
llme: add RFP MAC preload support
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-04 22:50:57 +02:00
Patrick McHardy
4f9a40beb9
netlink: increase buffer size for capabity dumps
...
With lots of capabilities the output gets truncated.
Signed-off-by; Patrick McHardy <kaber@trash.net>
2010-08-04 20:59:17 +02:00
Patrick McHardy
e31ee2ae7f
llme: add MAC_ME_INFO-ind indication to notify of FP capability changes
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-03 00:10:06 +02:00
Patrick McHardy
7c0e516ed9
libdect: name timer related functions more consistently
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-08-02 05:25:03 +02:00
Patrick McHardy
cb5d6bd44b
libdect: include cleanup - only include io.h where needed
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-26 22:47:53 +02:00
Patrick McHardy
adc06cfd50
lce: fix up for kernel sockaddr changes
...
Also add support to bind to clusters by name.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-25 00:03:41 +02:00
Patrick McHardy
931c335680
debug: make debugging more colorful
...
Add definitions for the various libdect subsystems, pass them to the
registered debugging handlers and add a handler to the example programs
to colorize debugging messages.
Still could use some cleanup, but causes too many clashes.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-07-24 21:49:43 +02:00
Patrick McHardy
472733d43d
netlink: add beginning of netlink LLME support
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-03-10 14:17:50 +01:00
Patrick McHardy
2c124658fb
examples: add raw socket example for hijacking PPs
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-12-06 14:55:49 +01:00
Patrick McHardy
92eb2349a9
netlink: fix two memory leaks
...
Free the socket and cluster object.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-13 08:39:33 +01:00
Patrick McHardy
5cb0b35602
debug: clean up and improve debugging
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-11-12 19:33:06 +01:00
Patrick McHardy
e795362c37
utils: add fd initialization helper
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-23 00:53:28 +02:00
Patrick McHardy
0406a88b39
Import libdect
...
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-05-06 18:41:57 +02:00