Searched refs:pcap_handle (Results 1 – 1 of 1) sorted by relevance
159 pcap_t *pcap_handle; in main() local551 pcap_handle = pcap_open_offline("-", errbuf); in main()553 if (!pcap_handle) { in main()557 assert(pcap_handle != NULL); in main()558 if ((pcap_compile(pcap_handle, &fp, filter_exp, 1, pcap_net)) == -1) { in main()560 pcap_geterr(pcap_handle)); in main()563 if (pcap_setfilter(pcap_handle, &fp) == -1) { in main()565 pcap_geterr(pcap_handle)); in main()579 pcap_loop(pcap_handle, 0, rtp_decoder_handle_pkt, (u_char *)dec); in main()