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>
netsniff-ng: have geoip optional

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

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
flowtop, netsniff-ng: add item to help description

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
geoip: Let geoip lib shut up!

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

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
xutils: Make len in strtrim_{right,left}() size_t

strlen(3) returns size_t, so use a variable of this type to store the
length.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
xutils: Don't use register keyword

Today's compilers are better at determining the use of registers by
themselves.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
xutils: Also remove register keyword from strtrim_right() prototype

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
xio: Don't use register keyword

Today's compilers are better at determining the use of registers
by themselves.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen: Don't use register keyword

Today's compilers are better at determining the use of registers by
themselves.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
geoip: updater: just check for http ok

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Merge branch 'master' of github.com:borkmann/netsniff-ng
docs: authors: fix sorting

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