geoip: Add geoip v4/v6 API abstraction layer

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
netsniff-ng: add geoip support for IPv4

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
tprintf: fix missing header for getting terminal width

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
netsniff-ng: add geoip v6 support

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
update-geoip: add symlinks to /etc/netsniff-ng

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
docs: add netsniff-ng geoip bullet

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

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
geoip: fix header inclusion

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
docs: update to more up2date emails

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
src: minor update in header files

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
flowtop: use geoip api wrapper

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
flowtop: minor style fix

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
docs: add note to geoip databases

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
geoip: add region code output

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
geoip: Add asnum lookup, prefer /etc/ database path before default

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
geoip: get asnum names for v4/v6

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
update-geoip: add asnumbers
bpf: Do not open device for generating filter

Also, refactor code a bit to make it cleaner.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
pcap_io: adapt double hdr inclusion define

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
geoip: add internal updater with mirror selection

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