function "activate" should be "pcap_activate"