working pcap_read, now to use pcap_loop