Add missing includes
Fix printf length modifier and conversation specifier
Move mixed ANSI + K&R function definitions to ANSI-only
Unify indentation/line length styles
Mark locally-only used functions as static
Remove unused function record_flow_name
Remove unused variables in functions
Avoid clash with predefined preprocessor macro __VERSION__
Don't mix typedef and non-typdef version of pcap_dumper_t
Don't store casted udph pointer as udphdr pointer
Don't implicitly cast integer pointer to char pointer for hashf
Enable compiler warnings