Lines Matching refs:netid
75 const char *netid; member
132 static struct netconfig *getnetconf_cached(const char *netid);
772 const char *netid, *netid_mnt, *secname; in nfs_tryproto() local
787 if ((netid = netidbytype(ai->ai_family, sotype)) == NULL) { in nfs_tryproto()
792 if ((nconf = getnetconf_cached(netid)) == NULL) { in nfs_tryproto()
793 snprintf(errbuf, sizeof errbuf, "%s: %s", netid, nc_sperror()); in nfs_tryproto()
798 netid_mnt = netid; in nfs_tryproto()
844 netid, hostp, spec, in nfs_tryproto()
855 snprintf(errbuf, sizeof errbuf, "[%s] %s:%s: %s", netid, in nfs_tryproto()
870 "[%s] %s:%s: CLSET_CONNECT failed", netid, hostp, in nfs_tryproto()
887 snprintf(errbuf, sizeof errbuf, "[%s] %s:%s: %s", netid, in nfs_tryproto()
1062 for (p = nc_protos; p->netid != NULL; p++) { in netidbytype()
1065 return (p->netid); in netidbytype()
1078 getnetconf_cached(const char *netid) in getnetconf_cached() argument
1088 if (strcmp(netid, p->nconf->nc_netid) == 0) in getnetconf_cached()
1091 if ((nconf = getnetconfigent(netid)) == NULL) in getnetconf_cached()