Lines Matching refs:tpp
220 struct netconfig **tpp; in getnetconfigent() local
229 for (tpp = netpp; *tpp; tpp++) { in getnetconfigent()
230 if (strcmp((*tpp)->nc_netid, netid) == 0) { in getnetconfigent()
231 if (*tpp && (strcmp((*tpp)->nc_netid, "udp6") == 0 || in getnetconfigent()
232 strcmp((*tpp)->nc_netid, "tcp6") == 0)) { in getnetconfigent()
239 return (netconfig_dup(*tpp)); in getnetconfigent()
269 struct netconfig **tpp; /* used to traverse the netconfig list */ in getnetlist() local
306 for (tpp = listpp; *tpp = fgetnetconfig(fp, NULL); tpp++) in getnetlist()
396 struct netconfig **tpp; /* scans the list from netconfig file */ in setnetpath() local
440 for (tpp = netpp; *tpp; tpp++) { in setnetpath()
441 if ((*tpp)->nc_flag & NC_VISIBLE) { in setnetpath()
442 (void) strcat(valid_netpath, (*tpp)->nc_netid); in setnetpath()
472 for (tpp = netpp; *tpp; tpp++) { in setnetpath()
473 if (strcmp(netid, (*tpp)->nc_netid) == 0) { in setnetpath()
475 (*tpp)->nc_netid); in setnetpath()
508 for (tpp = netpp; *tpp; tpp++) { in setnetpath()
509 if (strcmp(netid, (*tpp)->nc_netid) == 0) { in setnetpath()
510 *curr_pp++ = *tpp; in setnetpath()
667 char **tpp; /* traverses the list, populating it */ in getlookups() local
676 tpp = listpp; in getlookups()
696 if ((*tpp++ = strdup(start)) == NULL) { in getlookups()
697 for (tpp = listpp; *tpp; tpp++) in getlookups()
698 free(*tpp); in getlookups()
703 *tpp = NULL; in getlookups()
880 struct netconfig **tpp; in netlist_free() local
882 for (tpp = *netppp; *tpp; tpp++) { in netlist_free()
883 netconfig_free(*tpp); in netlist_free()