test use libpcap library