Home
last modified time | relevance | path

Searched refs:nettype (Results 1 – 9 of 9) sorted by relevance

/netbsd/src/lib/libc/rpc/
Dclnt_simple.c85 char nettype[NETIDLEN]; /* Network type */ member
132 const char * nettype) /* nettype */ in rpc_call() argument
166 if ((nettype == NULL) || (nettype[0] == 0)) in rpc_call()
167 nettype = "netpath"; in rpc_call()
172 (!strcmp(rcp->nettype, nettype)))) { in rpc_call()
181 rcp->client = clnt_create(host, prognum, versnum, nettype); in rpc_call()
200 (strlen(nettype) < (size_t)NETIDLEN)) { in rpc_call()
202 (void) strcpy(rcp->nettype, nettype); in rpc_call()
Drpc_generic.c81 int nettype; member
216 getnettype(const char *nettype) in getnettype() argument
220 if ((nettype == NULL) || (nettype[0] == 0)) { in getnettype()
225 nettype = strlocase(nettype); in getnettype()
228 if (strcasecmp(nettype, _rpctypelist[i].name) == 0) { in getnettype()
253 __rpc_getconfip(const char *nettype) in __rpc_getconfip() argument
275 _DIAGASSERT(nettype != NULL); in __rpc_getconfip()
319 if (strcmp(nettype, "udp") == 0) in __rpc_getconfip()
321 else if (strcmp(nettype, "tcp") == 0) in __rpc_getconfip()
338 __rpc_setconf(const char *nettype) in __rpc_setconf() argument
[all …]
Dsvc_simple.c112 char *nettype) /* nettype */ in rpc_reg() argument
124 if (nettype == NULL) in rpc_reg()
125 nettype = __UNCONST("netpath"); /* The default behavior */ in rpc_reg()
126 if ((handle = __rpc_setconf(nettype)) == NULL) { in rpc_reg()
240 __func__, nettype); in rpc_reg()
Dclnt_generic.c85 const char * nettype) in __weak_alias()
96 clnt = clnt_create(hostname, prog, vers_high, nettype); in __weak_alias()
156 const char * nettype) /* net type */ in clnt_create() argument
167 if ((handle = __rpc_setconf(nettype)) == NULL) { in clnt_create()
Dclnt_bcast.c261 const char * nettype) /* transport type */ in rpc_broadcast_exp() argument
319 if (nettype == NULL) in rpc_broadcast_exp()
320 nettype = "datagram_n"; in rpc_broadcast_exp()
321 if ((handle = __rpc_setconf(nettype)) == NULL) { in rpc_broadcast_exp()
681 const char * nettype) /* transport type */ in rpc_broadcast() argument
687 INITTIME, WAITTIME, nettype); in rpc_broadcast()
Dsvc_generic.c93 const char *nettype) /* Networktype token */ in svc_create() argument
107 if ((handle = __rpc_setconf(nettype)) == NULL) { in svc_create()
108 warnx("%s: unknown protocol %s", __func__, nettype); in svc_create()
/netbsd/src/external/bsd/am-utils/dist/conf/transp/
Dtransp_tli.c425 char *nettype = "ticlts"; in create_nfs_service() local
427 nfsncp = getnetconfigent(nettype); in create_nfs_service()
429 plog(XLOG_ERROR, "cannot getnetconfigent for %s", nettype); in create_nfs_service()
431 nettype = "udp"; in create_nfs_service()
432 nfsncp = getnetconfigent(nettype); in create_nfs_service()
434 plog(XLOG_ERROR, "cannot getnetconfigent for %s", nettype); in create_nfs_service()
/netbsd/src/include/rpc/
DMakefile4 INCS= auth.h auth_unix.h clnt.h clnt_soc.h nettype.h \
/netbsd/src/distrib/sets/lists/comp/
Dmi3277 ./usr/include/rpc/nettype.h comp-c-include