netsniff-ng: dissector: Remove unused parameter to show_frame_hdr()

The rmode parameter is no longer used since commit 58f49a6a ("dissector:
remove redundant code, clean up a bit"), so purge it.

Also remove the thus now unused enum ring_mode.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
xutils: put commonly used code into xutils, remove deprecated one

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
docs: mention txhashes in trafgen

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

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
pcap_rw: simplify code by using raw

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
pcap_sg: simplify code by using raw

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
pcap_mm: simplify code by using raw

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
curve: use sizeof instead of hard coded value

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
pcap: also support byte swapped pcap types

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
dissector: Remove unnecessary void * cast

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>