e045e325df
And use them where they can be applicable.
6 lines
167 B
Bash
Executable file
6 lines
167 B
Bash
Executable file
#!/bin/sh -eu
|
|
|
|
$1 -dM -include netinet/in.h - </dev/null | \
|
|
awk '/^#define[ \t]+IPPROTO_[^ \t]+[ \t]+[^ \t]/ { print $2; }' | \
|
|
sed -e 's/IPPROTO_//'
|