Lines Matching refs:nc
67 struct netconfig *nc = NULL; in ypclnt_havepasswdd() local
85 while ((nc = getnetconfig(localhandle)) != NULL) { in ypclnt_havepasswdd()
86 if (nc->nc_protofmly != NULL && in ypclnt_havepasswdd()
87 strcmp(nc->nc_protofmly, NC_LOOPBACK) == 0) in ypclnt_havepasswdd()
90 if (nc == NULL) { in ypclnt_havepasswdd()
97 MASTER_YPPASSWDVERS, nc)) == NULL) { in ypclnt_havepasswdd()
141 struct netconfig *nc = NULL; in yppasswd_local() local
168 while ((nc = getnetconfig(localhandle)) != NULL) { in yppasswd_local()
169 if (nc->nc_protofmly != NULL && in yppasswd_local()
170 strcmp(nc->nc_protofmly, NC_LOOPBACK) == 0) in yppasswd_local()
173 if (nc == NULL) { in yppasswd_local()
180 MASTER_YPPASSWDVERS, nc)) == NULL) { in yppasswd_local()