Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-24
/
.
/
src
/
basic
/
generate-arphrd-list.sh
blob: e4e7271c4de01add7153f75ad1fbbaaa756df292 [
file
] [
log
] [
blame
] [
raw
]
#!/bin/sh
set
-
eu
$1
-
dM
-
include net
/
if_arp
.
h
-
</
dev
/
null
|
\
awk
'/^#define[ \t]+ARPHRD_[^ \t]+[ \t]+[^ \t]/ { print $2; }'
|
\
sed
-
e
's/ARPHRD_//'