Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-19
/
.
/
src
/
basic
/
af-to-name.awk
blob: 18d0a8972845c1e7a2e3c6d2a0f558a64c6c78b4 [
file
] [
log
] [
blame
] [
raw
]
BEGIN
{
print
"static const char* const af_names[] = { "
}
!
/AF_FILE/
&&
!
/AF_ROUTE/
&&
!
/AF_LOCAL/
{
printf
" [%s] = \"%s\",\n"
,
$1
,
$1
}
END
{
print
"};"
}