docs: quality: bpfc is good to go

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
docs: todo: remove bullet point

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
proto: remove emtpy macro

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
netsniff-ng: pcap: support for multiple pcap types

Features and supported types can be seen with:

  netsniff-ng -D

Types can be selected with their magic number:

  netsniff-ng --in eth0 --out dump.pcap --silent -T 0xa1b2c3d4 --bind-cpu 0

Four types are currently supported:

  - tcpdump-capable (default)
  - tcpdump-capable with ns resolution
  - Alexey Kuznetsov' pcap format
  - netsniff-ng's pcap format

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
src: move all files from src to root

No reason to keep them in src/.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Merge branch 'master' of github.com:borkmann/netsniff-ng
git: update paths for gitignore

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
pcap_mm: minor: remove comment

(We cannot use this anyway in this case.)

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
docs: remove VERSION file, since we define the version in Makefile

This one still survived the cmake age, where it was read from there.

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

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
oui: remove unneeded assignment

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
dissector: make pkttypes const

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
dissector: remove redundant code, clean up a bit

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
dissector: we're in default case anyways

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
protos: no need to include a whole header

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
built_in: remove unused macros

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
built_in: minor: move macro

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

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
oui: also use v for naming

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
tprintf: minor: do some minor cleanups

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