Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c64 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 Drpc_generic.c62 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 Dclnt_generic.c72 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 Dsvc_simple.c90 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 Dclnt_bcast.c139 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 Dsvc_generic.c115 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 Dyp_rsvd.c38 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 Dgssd_generic.c51 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 Dkey_generic.c66 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 Doptim.c47 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 Dkwarnd_generic.c33 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 Drusers.c77 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 Dsdp.c297 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 Ddebug_alloc.c333 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 DMakefile43 nettype.h pmap_clnt.h pmap_rmt.h \
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-header.p5m542 file path=usr/include/rpc/nettype.h