1 #include "ipf.h" 2 3 const char *familyname(int family) 4 { 5 if (family == AF_INET) 6 return "inet"; 7 #ifdef USE_INET6 8 if (family == AF_INET6) 9 return "inet6"; 10 #endif 11 return "unknown"; 12 } 13