Add tests for pcap_create() and associated functions