nm_sotype
if (nmp->nm_sotype == SOCK_DGRAM)
if (args.sotype == SOCK_DGRAM && nmp->nm_sotype == SOCK_STREAM)
nmp->nm_sotype = argp->sotype;
if (nmp->nm_sotype == SOCK_DGRAM)
nfscl_printopt(nmp, nmp->nm_sotype == SOCK_STREAM, ",tcp", &buf, &blen);
nfscl_printopt(nmp, nmp->nm_sotype != SOCK_STREAM, ",udp", &buf, &blen);
adjsock |= ((nmp->nm_sotype != argp->sotype) ||
if (nmp->nm_sotype == SOCK_STREAM) {
nmp->nm_sotype = argp->sotype;
if (nmp->nm_sotype == SOCK_DGRAM)
nmp->nm_sotype = argp->sotype;
int nm_sotype; /* Type of socket */