Source code to craft icmp packets