Implemented pcap_dispatch.