ring: remove atomic op

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
ring: remove alignment

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
ring: remove macro with ptr dereference

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
trafgen: use bool for flags

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
trafgen: replace counter test with condition

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Merge branch 'master' of git://github.com/markusa/netsniff-ng
trafgen: make trafgen multithreaded!

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
trafgen: remove unused cmdline param

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
docs: add two todos

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
trafgen: when using a inter-pkt-gap > 0, use only 1 core

It's slow anyway, so no need to multithread; therefore, we have
a correct interpacket gap.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
trafgen: if num is set, don't use multicore if we have 0 pkts

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
dissector: arp: Remove duplicate #include <stdint.h>

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
scripts: update-oui: Add OUI list update script

Instead of having to maually update the oui.conf file used by
netsniff-ng to resolve OUIs to vendor names, provide a script which
fetches the necessary information from any file in the format as
provided by the IEEE at
http://standards.ieee.org/develop/regauth/oui/oui.txt

This is also the default URL the script will fetch the information from.

The script runs with Python 2.x and 3.x and only uses the respective
standard libraries.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
conf: Update oui.conf using scripts/update-oui.py

Update created using the command inside the netsniff-ng source tree:

$ ./scripts/update-oui.py -f -o src/conf/oui.conf
Updating OUI information in src/conf/oui.conf from http://standards.ieee.org/develop/regauth/oui/oui.txt...
17315 OUIs written to src/conf/oui.conf

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen: add smoke test for drnd packets

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Merge branch 'oui' of git://github.com/tklauser/netsniff-ng
docs: remove completed todo bullet

Also clean up obvious ones for future work.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
scripts: view_rtp_avg: rename file

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
make: comment out hw timestamping

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
make: fix access to NACL env vars

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>