Factor out decode_ip_payload()
authorEmil Mikulic <emikulic@gmail.com>
Sun, 15 May 2011 07:50:54 +0000 (17:50 +1000)
committerEmil Mikulic <emikulic@gmail.com>
Sat, 28 May 2011 10:10:53 +0000 (20:10 +1000)
commit82788eb6a1f9b1b31bc5702ee7eceb500e4747d6
tree4f7c1c26aebfaa21a328c098aca8ffedf70b655d
parentf4ccfc3309b036ebbe84290efda7679e00e20b45
Factor out decode_ip_payload()

This code was duplicated for v4 and v6.  Additionally, don't do
accounting if we couldn't decode the TCP/UDP header.
decode.c
decode.h