Implement all the functions we need.The ICMPSniifer should be rewritten
by using pcap_next rather than pcap_loop.