7b5e750d2a
The source files were moved to shared/. Let's also move the relevant scripts.
10 lines
187 B
Awk
10 lines
187 B
Awk
BEGIN{
|
|
print "static const char* const socket_protocol_names[] = { "
|
|
}
|
|
!/HOPOPTS/ {
|
|
printf " [IPPROTO_%s] = \"%s\",\n", $1, tolower($1)
|
|
}
|
|
END{
|
|
print "};"
|
|
}
|