csum: move p4_csum into csum.h

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Merge pull request #53 from electronjoe/curvetun-udp-tcp-server-spec-check

curvetun: Added error reporting for mal-formed tcp/udp carrier types
Merge branch 'master' of github.com:borkmann/netsniff-ng
xio: redirect stdout, stderr to syslog in daemon mode

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
xio: minor: rename variable

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Merge remote-tracking branch 'upstream/master'
Improved error reporting in xio

How portable is strerror? Assuming it is... This patch provides more robust
failure mode reporting in xio.

Pre patch:
curvetun[15819]: ioctl screwed up!

Post patch:
curvetun[15819]: ioctl screwed up! Operation not permitted.