miekg/pcap — pull request #11 by khiro (2014-02-24 17:21:58+00:00)
Title: Added pcap dump functions which save packets as pcap file

I had added few libpcap function's wrappers for saving of pcap file.
- `pcap_dump_open`
- `pcap_loop` : pseudo behavior using `pcap_next_ex`
- `pcap_dump_close`
- `pcap_dump_flush`

Then, I changed an example of tcpdump program to enable pcap saving.