Rivoreo Source Code Repositories
src.rivoreo.one
/
net
/
ipfilter
/
a4ed0d6270162abbb68bf69d8229c6d37b521e4d
/
.
/
lib
/
familyname.c
blob: 35bb975cc6b172c0e10b7043e222f8600fe3b01d [
file
] [
log
] [
blame
] [
raw
]
#include
"ipf.h"
const
char
*
familyname
(
int
family
)
{
if
(
family
==
AF_INET
)
return
"inet"
;
#ifdef
AF_INET6
if
(
family
==
AF_INET6
)
return
"inet6"
;
#endif
return
"unknown"
;
}