netidbytype
static const char *netidbytype(int af, int sotype);
if ((netid = netidbytype(ai->ai_family, sotype)) == NULL) {
if ((netid_mnt = netidbytype(ai->ai_family, SOCK_DGRAM))