Lines Matching refs:netid
58 (strcmp(ri->netid, ri2->netid) == 0));
69 * when getnetconfigent() returns failure for a v6 netid due to no IPv6
71 * if a netid is either 'tcp6' or 'udp6' and __can_use_af() returns 0,
97 is_v6_netid(const char *netid)
99 return ((strcmp(netid, SOCKET_PROTO_TCP6) == 0) ||
100 (strcmp(netid, SOCKET_PROTO_UDP6) == 0));
105 * high, with the netid, all specified in 'rpc'. If registration fails,
114 if ((nconf = getnetconfigent(rpc->netid)) == NULL) {
117 * having no IPv6 interfaces configured for a v6 netid, or
121 if (is_v6_netid(rpc->netid) && !can_use_af(AF_INET6)) {
123 "Couldn't register netid %s for RPC instance %s "
125 rpc->netid, fmri);
128 "Failed to lookup netid '%s' for instance %s: %s"),
129 rpc->netid, fmri, nc_sperror());
137 "of RPC service instance %s, netid %s"), ver,
138 fmri, rpc->netid);
159 if ((nconf = getnetconfigent(rpc->netid)) == NULL) {
162 * a v6 netid when an IPv6 interface isn't configured.
164 if (!(is_v6_netid(rpc->netid) && !can_use_af(AF_INET6))) {
166 "Failed to lookup netid '%s' for instance %s: %s"),
167 rpc->netid, fmri, nc_sperror());