Use correct 'libnl1' headers for building

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Fix header-dependency in Makefile

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
izcoordinator: support setting of PID file

Based on the patch by Xue Liu make izcoordinator support optional argument
with the name of pid file.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
izcoordinator: cleanup lease file name handling

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
iz: print interface index in list

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
make responsible callback more flexible

Hi all,

this patch allows to process several response statuses and execute specified
handlers. Currently it's used in active scanning when you may receive a
beacon or end_of_scan signals.

Thank you,
Alexander
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev

>From 8516cb53c66ba883da9ceb30146479728d097cb6 Mon Sep 17 00:00:00 2001
From: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Date: Fri, 17 Jun 2011 12:34:04 +0400
Subject: [PATCH] Add response callback more flexible.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
iz: small corrections for last Alexaner's patch

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
iz: add catch-all field for iz_cmd_names array

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
izattach: make it compatible with our 2.6.38 kernel

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Add NL_CFLAGS and _GNU_SOURCE

The NL_CFLAGS and -D_GNU_SOURCE is added to quite a few Makefiles...
This makes lowpan-tools compile using the static libnl1.

* some parts do not find the header files of libnl, thus add NL_CFLAGS
* 'struct ucred' in glibc header files is hidden under _GNU_SOURCE

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
addrdb: char* vs. const char*

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
serial: fix socket verification code

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Port to libnl-3.0

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
build: support for automake 1.12

/usr/share/automake-1.12/am/ltlibrary.am: warning:
'libaddrdb.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.12/am/ltlibrary.am: archiver requires
'AM_PROG_AR' in 'configure.ac'

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
build: check for libnl-genl which is a separate library

The detection for extra libs fails in my environment. According to
config.log:

configure:12586: checking whether libnl requires additional libraries
configure:12608: gcc -o conftest -g -O2   conftest.c -lnl-3    >&5
/tmp/ccfZXCbJ.o: In function `main':
/home/jengelh/obs/zu/home/jengelh/dev/lowpan-tools/lowpan-tools/
 conftest.c:35: undefined reference to `genl_connect'
collect2: ld returned 1 exit status

This happens because lowpan-tools forgot that genl_connect is in its
own library in libnl2 and up. Furthermore, any dependent libraries of
libnl* is listed in the .so, or in case of static archives, .la files,
rendering the -lm check redundant.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
tests: unify test program names

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
configure.ac: switch to foreign mode to remove requirements for NEWS, ChangeLog, etc.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Version 0.3

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Update spec file

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Debian packaging update

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>