Searched refs:nettype (Results 1 – 8 of 8) sorted by relevance
| /src/lib/libc/rpc/ |
| H A D | clnt_simple.c | 70 char nettype[NETIDLEN]; /* Network type */ member 117 const xdrproc_t outproc, char *out, const char *nettype) in rpc_call() argument 149 if ((nettype == NULL) || (nettype[0] == 0)) in rpc_call() 150 nettype = "netpath"; in rpc_call() 155 (!strcmp(rcp->nettype, nettype)))) { in rpc_call() 164 rcp->client = clnt_create(host, prognum, versnum, nettype); in rpc_call() 183 (strlen(nettype) < (size_t)NETIDLEN)) { in rpc_call() 185 (void) strcpy(rcp->nettype, nettype); in rpc_call()
|
| H A D | clnt_generic.c | 75 rpcvers_t vers_low, rpcvers_t vers_high, const char *nettype) in clnt_create_vers() argument 79 vers_high, nettype, NULL)); in clnt_create_vers() 91 const char *nettype, const struct timeval *tp) in clnt_create_vers_timed() argument 98 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp); in clnt_create_vers_timed() 158 const char *nettype) in clnt_create() argument 161 return (clnt_create_timed(hostname, prog, vers, nettype, NULL)); in clnt_create() 182 char *nettype = &nettype_array[0]; in clnt_create_timed() local 185 nettype = NULL; in clnt_create_timed() 192 strcpy(nettype, netclass); in clnt_create_timed() 195 if ((handle = __rpc_setconf((char *)nettype)) == NULL) { in clnt_create_timed()
|
| H A D | rpc_generic.c | 67 int nettype; member 177 getnettype(const char *nettype) in getnettype() argument 181 if ((nettype == NULL) || (nettype[0] == 0)) { in getnettype() 186 nettype = strlocase(nettype); in getnettype() 189 if (strcasecmp(nettype, _rpctypelist[i].name) == 0) { in getnettype() 212 __rpc_getconfip(const char *nettype) in __rpc_getconfip() argument 264 if (strcmp(nettype, "udp") == 0) in __rpc_getconfip() 266 else if (strcmp(nettype, "tcp") == 0) in __rpc_getconfip() 283 __rpc_setconf(const char *nettype) in __rpc_setconf() argument 291 switch (handle->nettype = getnettype(nettype)) { in __rpc_setconf() [all …]
|
| H A D | svc_simple.c | 104 char *nettype) in rpc_reg() argument 117 if (nettype == NULL) in rpc_reg() 118 nettype = "netpath"; /* The default behavior */ in rpc_reg() 119 if ((handle = __rpc_setconf(nettype)) == NULL) { in rpc_reg() 231 rpc_reg_msg, nettype); in rpc_reg()
|
| H A D | clnt_bcast.c | 241 const char *nettype) in rpc_broadcast_exp() argument 299 if (nettype == NULL) in rpc_broadcast_exp() 300 nettype = "datagram_n"; in rpc_broadcast_exp() 301 if ((handle = __rpc_setconf(nettype)) == NULL) { in rpc_broadcast_exp() 665 resultproc_t eachresult, const char *nettype) in rpc_broadcast() argument 671 INITTIME, WAITTIME, nettype); in rpc_broadcast()
|
| H A D | svc_generic.c | 77 rpcprog_t prognum, rpcvers_t versnum, const char *nettype) in svc_create() argument 91 if ((handle = __rpc_setconf(nettype)) == NULL) { in svc_create()
|
| /src/sys/rpc/ |
| H A D | rpc_generic.c | 79 int nettype; member 488 getnettype(const char *nettype) in getnettype() argument 492 if ((nettype == NULL) || (nettype[0] == 0)) { in getnettype() 497 nettype = strlocase(nettype); in getnettype() 500 if (strcasecmp(nettype, _rpctypelist[i].name) == 0) { in getnettype() 511 __rpc_getconfip(const char *nettype) in __rpc_getconfip() argument 540 if (strcmp(nettype, "udp") == 0) in __rpc_getconfip() 542 else if (strcmp(nettype, "tcp") == 0) in __rpc_getconfip() 563 __rpc_setconf(const char *nettype) in __rpc_setconf() argument 569 switch (handle->nettype = getnettype(nettype)) { in __rpc_setconf() [all …]
|
| /src/include/rpc/ |
| H A D | Makefile | 13 nettype.h pmap_clnt.h pmap_prot.h pmap_rmt.h raw.h \
|