blob: ee207fb38e63006861055cf2ca653d13f22990ea [file] [log] [blame] [raw]
#!/bin/sh -eu
$1 -dM -include net/if_arp.h - </dev/null | \
awk '/^#define[ \t]+ARPHRD_[^ \t]+[ \t]+[^ \t]/ { print $2; }' | \
sed -e 's/ARPHRD_//'