Erlang packet capture interface using pcap