Searched defs:netid (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/lib/libnsl/rpc/
H A Dauth_time.c45 * and destroyed. Two strings "netid" and "uaddr" are malloc'd
178 * the machine and *netid is set to the local netid for the transport
180 * is skipped and the uaddr/netid pair are used to fetch the netconfig
187 char *thost, char **uaddr, char **netid)
195 *useid = NULL; /* netid of selected xp */
262 * the netid of the transport.
305 if (*netid != 0) {
306 supplied.proto = *netid;
345 msg("unable to locate netconfig info for netid
186 __rpc_get_time_offset(struct timeval *td, nis_server *srv, char *thost, char **uaddr, char **netid) argument
[all...]
H A Drpc_generic.c187 char *netid; local
248 netid = netid_udp;
250 netid = netid_tcp;
253 if ((netid == NULL) || (netid[0] == NULL))
255 return (getnetconfigent(netid));
H A Dsvc_simple.c80 * handle is created for all the services (actually one of each netid)
81 * and same xdrbuf is used for same netid. The size of the arguments
119 char *netid; local
128 netid = pl->p_netid;
156 ((netid = strdup(nconf->nc_netid)) == NULL)) {
165 * Check if this (program, version, netid) had already been
171 (strcmp(pl->p_netid, netid) == 0))
183 rpc_reg_msg, prognum, versnum, netid);
187 free(netid);
199 free(netid);
[all...]
H A Drpc_soc.c192 svc_com_create(int fd, uint_t sendsize, uint_t recvsize, char *netid) argument
200 if ((nconf = __rpc_getconfip(netid)) == NULL) {
201 (void) syslog(LOG_ERR, "Could not get %s transport", netid);
212 "svc%s_create: could not open connection : %s", netid,
460 * Dont care about netid here.
H A Drpcb_clnt.c154 * cache of rpcbind addresses for (host, netid).
158 check_cache(char *host, char *netid) argument
167 (strcmp(cptr->ac_netid, netid) == 0) &&
171 host, netid);
207 add_cache(char *host, char *netid, struct netbuf *taddr, char *uaddr) argument
217 ad_cache->ac_netid = strdup(netid);
233 (void) fprintf(stderr, "Added to cache: %s : %s\n", host, netid);
H A Dsvc_vc.c737 do_accept(int srcfd, char *tpname, char *netid, struct t_call *tcp, argument
881 do_accept(srcfd, tpname, netid, tcp2, r);
987 if (strcmp(netid, "tcp") == 0) {
997 } else if (strcmp(netid, "tcp6") == 0) {
1010 xprt->xp_netid = strdup(netid);
H A Dsvc.c860 char *netid = NULL; local
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);
972 char *netid = NULL; local
1066 svc_find(rpcprog_t prog, rpcvers_t vers, struct svc_callout **prev, char *netid) argument
[all...]
/osnet-11/usr/src/lib/libnsl/netselect/
H A Dnetselect.c217 getnetconfigent(const char *netid) argument
229 if (strcmp((*tpp)->nc_netid, netid) == 0) {
321 fgetnetconfig(FILE *fp, char *netid) argument
327 char *entnetid; /* netid for the current entry */
346 if (netid && (strcmp(netid, entnetid) != 0)) {
398 char *netid; /* holds a component of NETPATH */ local
466 netid = tp;
470 *tp++ = '\0'; /* isolate netid */
473 if (strcmp(netid, (*tp
[all...]
/osnet-11/usr/src/lib/libnsl/yp/
H A Dyp_bind.c281 __yp_add_binding_netid(char *domain, char *addr, char *netid) argument
290 nconf = getnetconfigent(netid);
/osnet-11/usr/src/lib/libinetsvc/common/
H A Dinetsvc.h175 char *netid; member in struct:__anon1744

Completed in 43 milliseconds