Ocaml code for generating and analysing pcap (packet capture) files