/usr/lib/radare/bin/net-udp is in radare-common 1:1.5.2-6.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/sh
#; This UDP header can be aligned where you want becouse it is relative :)
#; author: sha0
cat <<EOF
s here
b 16
f udp.sourceport
s +16
b 16
f udp.destport
s here
b 16
f udp.length
s +16
b 16
f udp.chksum
s +16
b 64
f udp.data
EOF
|