Use libpcap API to send/receive packets.