porting libpcap package