Searched refs:pcap (Results 1 – 1 of 1) sorted by relevance
123 pcap_t *pcap; in file_handler() local132 pcap = pcap_open_offline(filename, errbuf); in file_handler()133 if (pcap == NULL) { in file_handler()138 passed_dumper = pcap_dump_open(pcap, passed_file); in file_handler()139 dropped_dumper = pcap_dump_open(pcap, dropped_file); in file_handler()143 pcap_close(pcap); in file_handler()147 while ((apf_packet = pcap_next(pcap, &apf_header)) != NULL) { in file_handler()166 pcap_close(pcap); in file_handler()