wiki
https://en.wikipedia.org/wiki/Nmap
man
https://man7.org/linux/man-pages/man1/nping.1.html
github
https://github.com/nmap/nmap
how to build
./configure
make
make install
then you get the nping under nmap tools.
./nping -e eth0 --udp --source-mac 00:11:11:11:11:11 --dest-mac 00:22:22:22:22:22 --ether-type 0x0800 --source-port 100 --dest-port 200 --source-ip 192.168.1.100 --dest-ip 192.168.1.200 -c 1
PS: please set an ip address before test. If not, nping will complain.