docs: improve Performance file

Some further recommendations have been added to the Performance file for
high-speed capturing.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
Merge branch 'master' of github.com:gnumaniacs/netsniff-ng
docs: add note in readme that user shall read the doc folder

This commit adds a short note for the user to also have a look into the
Documentation/ folder.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
docs: made project idea a little more concrete

Added some more things to trafgen's packet generator.

Signed-off-by: Daniel Borkmann <daniel@netsniff-ng.org>
protos: added patchset for dissector by Markus Amend for ipv6, esp, ip auth

This patch adds new protocols for netsniff-ng's disector that have been written
by Markus Amend.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
Merge branch 'master' of github.com:gnumaniacs/netsniff-ng
html: minor update on html files

n/a

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
proto_ip*: small whitespace and coding convention fixups

Fix whitespace and other minor coding convention issues.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
proto_ipv6_routing: removed GCC overflow warning of loop counter

Removed GCC overflow warning of loop counter.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
dissector: reset off, key and table within dissector, not proto

This patch resets next dissector fields within the dissector, not
within the protocols. Hence, this removes a lot of redundant code.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
Revert "Fixed build_nacl.sh script."

This reverts commit 9c5ae72e25c76fa4933c35df397f5770c8842d21.

For such a simple piece of "glue script", it is not needed to start the
slow, bloated bash. Using the POSIX-compliant shell ought to be enough.
Fixed build NaCl lib/ and include/ paths.

This commit removes the guessing part involved in finding the right
path of the build directory.
Now it retrieves all paths the very same way as NaCl would do.
This should cover all corner cases.

This fix addresses Issue #32.

Signed-off-by: Emmanuel Roullit <emmanuel@netsniff-ng.org>
Redirect all NaCl build output to /dev/null.

Signed-off-by: Emmanuel Roullit <emmanuel@netsniff-ng.org>
build_nacl: 'hack' for fixing build with nacl for selecting right arch

NaCl tries to build for all possible architectures on the system, i.e. on
x86_64 it builds the lib for amd64 and for x86. On at least 2 standard
Debian-based x86_64 systems, the current build has selected the x86 library
version instead of amd64, hence the cmake build fails. This hack chooses
the right arch with the currently used gcc that is also used in the cmake
build.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
build_nacl.sh: made the script more 'userfriendly' and give a note on install

The selected arch is shown first, thus the user can cancel the process early.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
Removed unnecessary command from build_nacl.sh

If abiname is called within the build enviromnent, no need to chdir to
NaCl abiname directory to build it and run it.

Signed-off-by: Emmanuel Roullit <emmanuel@netsniff-ng.org>
protos: minor fixes in ipv6_routing and hex printing

Minor fixes by Markus Amend.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
flowtop: Use correct name as man-page title

Instead of flowtop.c, use flowtop as title for the man-page.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
docs: minor: fixed mail address

n/a

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
built_in: renamed compiler.h to a more appropriate name

Instead of compiler.h, a more appropriate name (built_in.h) has been chosen,
since most of the file content is rather macro related instead of compiler
related.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>