Code for analyzing tcpdump captures