1# SPDX-License-Identifier: LGPL-2.1-or-later 2 3BEGIN{ 4 print "static const char* const ip_protocol_names[] = { " 5} 6!/HOPOPTS/ { 7 printf " [IPPROTO_%s] = \"%s\",\n", $1, tolower($1) 8} 9END{ 10 print "};" 11} 12