mirror of
https://github.com/systemd/systemd.git
synced 2026-07-16 20:40:56 +00:00
Even though many of those scripts are very simple, it is easier to include the header than to try to say whether each of those files is trivial enough not to require one.
12 lines
229 B
Awk
12 lines
229 B
Awk
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
BEGIN{
|
|
print "static const char* const ip_protocol_names[] = { "
|
|
}
|
|
!/HOPOPTS/ {
|
|
printf " [IPPROTO_%s] = \"%s\",\n", $1, tolower($1)
|
|
}
|
|
END{
|
|
print "};"
|
|
}
|