Generate packets from XML to pcap file