]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/socket-protocol-to-name.awk
tree-wide: remove various unused functions
[thirdparty/systemd.git] / src / shared / socket-protocol-to-name.awk
1 BEGIN{
2 print "static const char* const socket_protocol_names[] = { "
3 }
4 !/HOPOPTS/ {
5 printf " [IPPROTO_%s] = \"%s\",\n", $1, tolower($1)
6 }
7 END{
8 print "};"
9 }