Flush stdout after each packet.

For systems with larger stdout buffer it can take quite some time
for the output to show up at the end of the pipe. Since lines
are constructed with multiple printf() it is best to keep buffer
and flush at end of each packet.

Noticed this problem on FreeBSD

Also write out the unknoin ip_p field value.