Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v247
/
.
/
src
/
shared
/
generate-ip-protocol-list.sh
blob: 3f9197949f6c40a545168c6184607b1f00301f7b [
file
] [
log
] [
blame
] [
raw
]
#!/bin/sh
set
-
eu
$1
-
dM
-
include netinet
/
in
.
h
-
</
dev
/
null
|
\
awk
'/^#define[ \t]+IPPROTO_[^ \t]+[ \t]+[^ \t]/ { print $2; }'
|
\
sed
-
e
's/IPPROTO_//'