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 --disable-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

v3:
    1) Reorder commits to make "configure" related changes be the last
    2) Rebased over new "configure" options handler code
    3) Print "[DISABLED]" if --disable-libnl option choosed when checking libnl
    4) Skip compilation part in "configure" script for libnl if it is disabled
    5) Added build test with --disabled-libnl in travis script

Vadim Kochan (3):
  trafgen: Allow to compile without libnl
  netsniff-ng: Allow compile without libnl
  configure: Add option to compile tools without libnl dependency

 .travis.yml          |  1 +
 configure            | 25 +++++++++++++++++++++++++
 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 +++++++++++++++------
 10 files changed, 87 insertions(+), 20 deletions(-)

-- 
2.9.2

-- 
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.

Reply via email to