set up libpcap library