Lines Matching defs:netid
860 char *netid = NULL;
866 netid = strdup(xprt->xp_netid);
869 netid = strdup(nconf->nc_netid);
873 netid = strdup(tnconf->nc_netid);
877 if ((netid == NULL) && (flag == 1))
881 if ((s = svc_find(prog, vers, &prev, netid)) != NULL_SVC) {
882 if (netid)
883 free(netid);
891 if (netid)
892 free(netid);
900 s->sc_netid = netid;
911 if ((xprt->xp_netid == NULL) && (flag == 1) && netid)
912 if ((((SVCXPRT *)xprt)->xp_netid = strdup(netid)) == NULL) {
914 free(netid);
972 char *netid = NULL;
976 netid = strdup(xprt->xp_netid);
980 /* fill in missing netid field in SVCXPRT */
981 netid = strdup(nconf->nc_netid);
986 if ((netid == NULL) && (flag == 1))
990 if ((s = svc_find(prog, vers, &prev, netid)) != NULL_SVC) {
991 if (netid)
992 free(netid);
1000 if (netid)
1001 free(netid);
1008 s->sc_netid = netid;
1012 if ((xprt->xp_netid == NULL) && (flag == 1) && netid)
1013 if ((xprt->xp_netid = strdup(netid)) == NULL) {
1015 free(netid);
1063 * netid == NULL
1066 svc_find(rpcprog_t prog, rpcvers_t vers, struct svc_callout **prev, char *netid)
1076 ((netid == NULL) || (s->sc_netid == NULL) ||
1077 (strcmp(netid, s->sc_netid) == 0)))