Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-47
/
.
/
src
/
basic
/
generate-socket-protocol-list.sh
blob: a9b1e0fb57545c7e22249a3a6ddca82d4a3adf0b [
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_//'