There is reason to do not install libnl-xxx packages just
for sniffing packets, for example if netsniff-ng will be compiled
on embedded or switch system.
Hide libnl depended code if CONFIG_LIBNL=0.
In case if user will use --rfraw option the panic message will be printed,
in case if netlink messa
It might be useful only if to compile trafgen or netsniff-ng in environment
(or manually w/o needs for rfraw) where is no needed libnl (embedded/switch
server),
and it would be good to have ability to disable libnl dependency at all even w/o
such features like rfraw dissect/inject & nlmsg dissecti
trafgen uses libnl only to inject mac80211 frames but
it might be not needed in some embedded or switch environments,
so lets make possible to disable this feature.
In case if --rfraw option will be used - user will get the panic message.
Signed-off-by: Vadim Kochan
---
mac80211.c | 1 -
Add command line parsing function which allows to compile tools
(trafgen, netsniff-ng) without libnl-xxx libraries.
Option --disable-libnl sets CONFIG_LIBNL=0 which means compile tools
without libnl dependencies.
Signed-off-by: Vadim Kochan
---
.travis.yml | 1 +
configure | 25 +
On Thu, Aug 4, 2016 at 12:19 PM, Tobias Klauser wrote:
> On 2016-08-03 at 10:58:00 +0200, Vadim Kochan wrote:
>> It might be useful only if to compile trafgen or netsniff-ng in environment
>> (or manually w/o needs for rfraw) where is no needed libnl (embedded/switch
>> server),
>> and it would
On 2016-08-03 at 10:58:00 +0200, Vadim Kochan wrote:
> It might be useful only if to compile trafgen or netsniff-ng in environment
> (or manually w/o needs for rfraw) where is no needed libnl (embedded/switch
> server),
> and it would be good to have ability to disable libnl dependency at all eve
On 2016-08-03 at 10:58:01 +0200, Vadim Kochan wrote:
> Add command line parsing function which allows to compile tools
> (trafgen, netsniff-ng) without libnl-xxx libraries.
>
> Option --disable-libnl sets CONFIG_LIBNL=0 which means compile tools
> without libnl dependencies.
>
> Signed-off-by: V