set snaplen in __pcap_dump_open