rest of functions added to ioport_pcap.cc