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