I wrote a little script to do this for me. You might be able to adapt it more easily.
In reply to Re: converting tcpdump output by brian_d_foy in thread converting tcpdump output by RnC