/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_simple.c | 64 char nettype[NETIDLEN]; /* Network type */ member 96 char *nettype = &nettype_array[0]; in rpc_call() local 99 nettype = NULL; in rpc_call() 106 (void) strcpy(nettype, netclass); in rpc_call() 116 if ((nettype == NULL) || (nettype[0] == '\0')) in rpc_call() 117 nettype = "netpath"; in rpc_call() 123 strcmp(rcp->nettype, nettype) == 0)) { in rpc_call() 132 rcp->client = clnt_create(host, prognum, versnum, nettype); in rpc_call() 150 (strlen(nettype) < (size_t)NETIDLEN)) { in rpc_call() 152 (void) strcpy(rcp->nettype, nettype); in rpc_call()
|
H A D | rpc_generic.c | 62 int nettype; member 165 getnettype(const char *nettype) in getnettype() argument 169 if ((nettype == NULL) || (nettype[0] == '\0')) in getnettype() 173 if (strcasecmp(nettype, _rpctypelist[i].name) == 0) in getnettype() 183 __rpc_getconfip(char *nettype) in __rpc_getconfip() argument 245 if (strcmp(nettype, "udp") == 0) in __rpc_getconfip() 247 else if (strcmp(nettype, "tcp") == 0) in __rpc_getconfip() 262 __rpc_setconf(char *nettype) in __rpc_setconf() argument 269 switch (handle->nettype = getnettype(nettype)) { in __rpc_setconf() 325 switch (handle->nettype) { in __rpc_getconf() [all …]
|
H A D | clnt_generic.c | 72 const rpcvers_t vers_high, const char *nettype) in clnt_create_vers() argument 75 vers_high, nettype, NULL)); in clnt_create_vers() 87 const char *nettype, const struct timeval *tp) in clnt_create_vers_timed() argument 95 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp); in clnt_create_vers_timed() 159 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 186 nettype = NULL; in clnt_create_timed() 193 (void) strcpy(nettype, netclass); in clnt_create_timed() 199 if (__rpc_try_doors(nettype, &try_others)) { in clnt_create_timed() [all …]
|
H A D | svc_simple.c | 90 const xdrproc_t outproc, const char *nettype) in rpc_reg() argument 105 if (nettype == NULL) in rpc_reg() 106 nettype = "netpath"; /* The default behavior */ in rpc_reg() 107 if ((handle = __rpc_setconf((char *)nettype)) == NULL) { in rpc_reg() 223 rpc_reg_msg, nettype); in rpc_reg()
|
H A D | clnt_bcast.c | 139 char *nettype = &nettype_array[0]; in rpc_broadcast_exp() local 161 nettype = NULL; in rpc_broadcast_exp() 166 (void) strcpy(nettype, netclass); in rpc_broadcast_exp() 169 if (nettype == NULL) in rpc_broadcast_exp() 170 nettype = "datagram_n"; in rpc_broadcast_exp() 171 if ((handle = __rpc_setconf((char *)nettype)) == NULL) in rpc_broadcast_exp() 629 caddr_t resultsp, const resultproc_t eachresult, const char *nettype) in rpc_broadcast() argument 633 INITTIME, WAITTIME, nettype)); in rpc_broadcast()
|
H A D | svc_generic.c | 115 const char *nettype) in svc_create() argument 127 if (__rpc_try_doors(nettype, &try_others)) { in svc_create() 136 if ((handle = __rpc_setconf((char *)nettype)) == NULL) { in svc_create()
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_rsvd.c | 38 rpcvers_t vers, const char *nettype, in __yp_clnt_create_rsvdport_netid_req() argument 48 if (nettype == NULL) in __yp_clnt_create_rsvdport_netid_req() 51 nt = nettype; in __yp_clnt_create_rsvdport_netid_req() 98 rpcvers_t vers, const char *nettype, in __yp_clnt_create_rsvdport() argument 101 if (nettype == 0) { in __yp_clnt_create_rsvdport() 111 vers, nettype, in __yp_clnt_create_rsvdport()
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_generic.c | 51 svc_create_local_service(dispatch, prognum, versnum, nettype, servname) 55 char *nettype; /* Networktype token */ variable 67 if ((net = __rpc_setconf(nettype)) == 0) {
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | key_generic.c | 66 svc_create_local_service(dispatch, prognum, versnum, nettype, servname) 70 char *nettype; /* Networktype token */ variable 87 if ((handle = __rpc_setconf(nettype)) == NULL) {
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | optim.c | 47 static int nettype(int mid); 315 cp, arpamach, nettype(arpamach), nettype(LOCAL)); in arpafix() 322 if (((nettype(arpamach) & nettype(LOCAL)) & ~AN) == 0) { in arpafix() 364 nettype(int mid) in nettype() function 833 stype = nettype(src); in best() 834 dtype = nettype(dest); in best()
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_generic.c | 33 char *nettype, /* Networktype token */ in svc_create_local_service() argument 45 if ((net = __rpc_setconf(nettype)) == 0) { in svc_create_local_service()
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 77 static char *nettype; variable 144 nettype = optarg; in main() 176 (resultproc_t)collectnames_3, nettype); in main() 182 (resultproc_t)collectnames, nettype); in main() 212 nettype); in singlehost() 222 (char *)&utmpidlearr, nettype); in singlehost()
|
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | sdp.c | 297 uint64_t ver, const char *nettype, const char *addrtype, in sdp_add_origin() argument 303 if (session == NULL || name == NULL || nettype == NULL || in sdp_add_origin() 316 if ((ret = commp_add_str(&origin->o_nettype, nettype, in sdp_add_origin() 317 strlen(nettype))) != 0) { in sdp_add_origin() 408 sdp_add_connection(sdp_conn_t **conn, const char *nettype, const char *addrtype, in sdp_add_connection() argument 415 if (conn == NULL || nettype == NULL || addrtype == NULL || in sdp_add_connection() 424 if ((ret = commp_add_str(&new_conn->c_nettype, nettype, in sdp_add_connection() 425 strlen(nettype))) != 0) { in sdp_add_connection()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | debug_alloc.c | 333 my__rpc_setconf(char *nettype, char *file, int line) in my__rpc_setconf() argument 337 res = __rpc_setconf(nettype); in my__rpc_setconf()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | Makefile | 43 nettype.h pmap_clnt.h pmap_rmt.h \
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-header.p5m | 542 file path=usr/include/rpc/nettype.h
|