Home
last modified time | relevance | path

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

/dragonfly/lib/libc/rpc/
H A Dclnt_simple.c71 char nettype[NETIDLEN]; /* Network type */ member
107 const xdrproc_t outproc, char *out, const char *nettype) in rpc_call() argument
140 if ((nettype == NULL) || (nettype[0] == 0)) in rpc_call()
141 nettype = "netpath"; in rpc_call()
146 (!strcmp(rcp->nettype, nettype)))) { in rpc_call()
155 rcp->client = clnt_create(host, prognum, versnum, nettype); in rpc_call()
174 (strlen(nettype) < (size_t)NETIDLEN)) { in rpc_call()
176 strcpy(rcp->nettype, nettype); in rpc_call()
H A Dclnt_generic.c95 rpcvers_t vers_low, rpcvers_t vers_high, const char *nettype) in clnt_create_vers() argument
99 vers_high, nettype, NULL)); in clnt_create_vers()
111 const char *nettype, const struct timeval *tp) in clnt_create_vers_timed() argument
118 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp); in clnt_create_vers_timed()
178 const char *nettype) in clnt_create() argument
181 return (clnt_create_timed(hostname, prog, vers, nettype, NULL)); in clnt_create()
202 char *nettype = &nettype_array[0]; in clnt_create_timed() local
205 nettype = NULL; in clnt_create_timed()
212 strcpy(nettype, netclass); in clnt_create_timed()
215 if ((handle = __rpc_setconf((char *)nettype)) == NULL) { in clnt_create_timed()
H A Drpc_generic.c68 int nettype; member
199 getnettype(const char *nettype) in getnettype() argument
203 if ((nettype == NULL) || (nettype[0] == 0)) { in getnettype()
208 nettype = strlocase(nettype); in getnettype()
211 if (strcasecmp(nettype, _rpctypelist[i].name) == 0) { in getnettype()
222 __rpc_getconfip(const char *nettype) in __rpc_getconfip() argument
282 if (strcmp(nettype, "udp") == 0) in __rpc_getconfip()
284 else if (strcmp(nettype, "tcp") == 0) in __rpc_getconfip()
301 __rpc_setconf(const char *nettype) in __rpc_setconf() argument
309 switch (handle->nettype = getnettype(nettype)) { in __rpc_setconf()
[all …]
H A Dsvc_simple.c103 char *nettype) /* nettype */ in rpc_reg() argument
116 if (nettype == NULL) in rpc_reg()
117 nettype = "netpath"; /* The default behavior */ in rpc_reg()
118 if ((handle = __rpc_setconf(nettype)) == NULL) { in rpc_reg()
232 rpc_reg_msg, nettype); in rpc_reg()
H A Dclnt_bcast.c235 const char *nettype /* transport type */ in rpc_broadcast_exp() argument
294 if (nettype == NULL) in rpc_broadcast_exp()
295 nettype = "datagram_n"; in rpc_broadcast_exp()
296 if ((handle = __rpc_setconf(nettype)) == NULL) { in rpc_broadcast_exp()
657 const char *nettype /* transport type */ in rpc_broadcast() argument
664 INITTIME, WAITTIME, nettype); in rpc_broadcast()
H A Dsvc_generic.c74 const char *nettype) /* Networktype token */ in svc_create() argument
88 if ((handle = __rpc_setconf(nettype)) == NULL) { in svc_create()
/dragonfly/include/rpc/
H A DMakefile12 nettype.h pmap_clnt.h pmap_prot.h pmap_rmt.h raw.h \