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 dissecting. For example netsniff-ng might be used just for sniffing, and trafgen - send packets to wired network only.
Therefor added --no-libnl option in ./confiure script which sets make option & CPP definition which are used to ignore libnl- related code/modules/libraries. v2: 1) Reorder commits to be "configure" related changes 1st 2) Changed CONFIG_NO_LIBNL -> CONFIG_LIBNL 3) Changed "configure" option --no-libnl -> --disable-libnl Tested on the VM Linux setup with and without libnl packages. Vadim Kochan (3): configure: Add option to compile tools without libnl dependency trafgen: Allow to compile without libnl netsniff-ng: Allow compile without libnl configure | 47 ++++++++++++++++++++++++++++++++++++++++++++--- dissector.h | 4 ++-- dissector_netlink.c | 4 ++++ dissector_netlink.h | 4 ++++ dissector_sll.c | 5 ++++- mac80211.c | 1 - mac80211.h | 15 +++++++++++++++ netsniff-ng/Makefile | 27 +++++++++++++++++---------- trafgen/Makefile | 21 +++++++++++++++------ 9 files changed, 105 insertions(+), 23 deletions(-) -- 2.6.3 -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.