summaryrefslogtreecommitdiff
path: root/src/basic/arphrd-to-name.awk
blob: 5a35673e2c977bc97fdad28c0d656fb0aefc56bd (plain)
1
2
3
4
5
6
7
8
9
BEGIN{
        print "static const char* const arphrd_names[] = { "
}
!/CISCO/ {
        printf "        [ARPHRD_%s] = \"%s\",\n", $1, $1
}
END{
        print "};"
}