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. Vadim Kochan (3): trafgen: Allow to compile without libnl netsniff-ng: Allow compile without libnl configure: Add option to compile tools without libnl dependency configure | 52 +++++++++++++++++++++++++++++++++++++++++++++++++--- 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, 110 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.