Hping is a command-line TCP/IP assembler that supports TCP, ICMP, UDP and RAW-IP protocols.
also works on Unix systems, Windows, Sun and MacOS's.
See hping3 for latest info. https://www.soldierx.com/tools/Hping-3
http://www.hping.org/