Using libpcap has proven really easy, but, speed is always an issue with giant (in an arbitrary sense) .pcap dumps.
Are there any common practices for just sampling a dump? Perhaps something that effectively says "Read every fifth frame" as the pcap filter, Or should I simply just do nothing some times in the pcap_handler?