[netsniff-ng] Re: [PATCH v2 0/3] build: Allow compile trafgen & netsniff-ng without libnl

2016-08-04 Thread Tobias Klauser
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

[netsniff-ng] [PATCH v3 2/3] netsniff-ng: Allow compile without libnl

2016-08-04 Thread Vadim Kochan
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

[netsniff-ng] [PATCH v3 0/3] build: Allow compile trafgen & netsniff-ng without libnl

2016-08-04 Thread Vadim Kochan
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

[netsniff-ng] [PATCH v3 1/3] trafgen: Allow to compile without libnl

2016-08-04 Thread Vadim Kochan
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 ---