Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c66 char nettype[NETIDLEN]; /* Network type */ member
98 char *nettype = &nettype_array[0]; in rpc_call() local
101 nettype = NULL; in rpc_call()
108 (void) strcpy(nettype, netclass); in rpc_call()
118 if ((nettype == NULL) || (nettype[0] == NULL)) in rpc_call()
119 nettype = "netpath"; in rpc_call()
125 strcmp(rcp->nettype, nettype) == 0)) { in rpc_call()
134 rcp->client = clnt_create(host, prognum, versnum, nettype); in rpc_call()
152 (strlen(nettype) < (size_t)NETIDLEN)) { in rpc_call()
154 (void) strcpy(rcp->nettype, nettype); in rpc_call()
H A Drpc_generic.c64 int nettype; member
167 getnettype(const char *nettype) in getnettype() argument
171 if ((nettype == NULL) || (nettype[0] == NULL)) in getnettype()
175 if (strcasecmp(nettype, _rpctypelist[i].name) == 0) in getnettype()
185 __rpc_getconfip(char *nettype) in __rpc_getconfip() argument
247 if (strcmp(nettype, "udp") == 0) in __rpc_getconfip()
249 else if (strcmp(nettype, "tcp") == 0) in __rpc_getconfip()
264 __rpc_setconf(char *nettype) in __rpc_setconf() argument
271 switch (handle->nettype = getnettype(nettype)) { in __rpc_setconf()
327 switch (handle->nettype) { in __rpc_getconf()
[all …]
H A Dclnt_generic.c74 const rpcvers_t vers_high, const char *nettype) in clnt_create_vers() argument
77 vers_high, nettype, NULL)); in clnt_create_vers()
89 const char *nettype, const struct timeval *tp) in clnt_create_vers_timed() argument
97 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp); in clnt_create_vers_timed()
162 const char *nettype) in clnt_create() argument
164 return (clnt_create_timed(hostname, prog, vers, nettype, NULL)); in clnt_create()
185 char *nettype = &nettype_array[0]; in clnt_create_timed() local
189 nettype = NULL; in clnt_create_timed()
196 (void) strcpy(nettype, netclass); in clnt_create_timed()
202 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.c141 char *nettype = &nettype_array[0]; in rpc_broadcast_exp() local
163 nettype = NULL; in rpc_broadcast_exp()
168 (void) strcpy(nettype, netclass); in rpc_broadcast_exp()
171 if (nettype == NULL) in rpc_broadcast_exp()
172 nettype = "datagram_n"; in rpc_broadcast_exp()
173 if ((handle = __rpc_setconf((char *)nettype)) == NULL) in rpc_broadcast_exp()
631 caddr_t resultsp, const resultproc_t eachresult, const char *nettype) in rpc_broadcast() argument
635 INITTIME, WAITTIME, nettype)); in rpc_broadcast()
H A Dsvc_generic.c111 const char *nettype) in svc_create() argument
123 if (__rpc_try_doors(nettype, &try_others)) { in svc_create()
132 if ((handle = __rpc_setconf((char *)nettype)) == NULL) { in svc_create()
/titanic_41/usr/src/lib/libnsl/yp/
H A Dyp_rsvd.c40 rpcvers_t vers, const char *nettype, in __yp_clnt_create_rsvdport_netid_req() argument
50 if (nettype == NULL) in __yp_clnt_create_rsvdport_netid_req()
53 nt = nettype; in __yp_clnt_create_rsvdport_netid_req()
100 rpcvers_t vers, const char *nettype, in __yp_clnt_create_rsvdport() argument
103 if (nettype == 0) { in __yp_clnt_create_rsvdport()
113 vers, nettype, in __yp_clnt_create_rsvdport()
/titanic_41/usr/src/cmd/gss/gssd/
H A Dgssd_generic.c53 svc_create_local_service(dispatch, prognum, versnum, nettype, servname)
57 char *nettype; /* Networktype token */ variable
69 if ((net = __rpc_setconf(nettype)) == 0) {
/titanic_41/usr/src/cmd/keyserv/
H A Dkey_generic.c68 svc_create_local_service(dispatch, prognum, versnum, nettype, servname)
72 char *nettype; /* Networktype token */ variable
89 if ((handle = __rpc_setconf(nettype)) == NULL) {
/titanic_41/usr/src/cmd/mailx/
H A Doptim.c50 static int nettype(int mid);
318 cp, arpamach, nettype(arpamach), nettype(LOCAL)); in arpafix()
325 if (((nettype(arpamach) & nettype(LOCAL)) & ~AN) == 0) { in arpafix()
367 nettype(int mid) in nettype() function
836 stype = nettype(src); in best()
837 dtype = nettype(dest); in best()
/titanic_41/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_generic.c35 char *nettype, /* Networktype token */ in svc_create_local_service() argument
47 if ((net = __rpc_setconf(nettype)) == 0) { in svc_create_local_service()
/titanic_41/usr/src/cmd/rpcsvc/
H A Drusers.c80 static char *nettype; variable
147 nettype = optarg; in main()
179 (resultproc_t)collectnames_3, nettype); in main()
185 (resultproc_t)collectnames, nettype); in main()
215 nettype); in singlehost()
225 (char *)&utmpidlearr, nettype); in singlehost()
/titanic_41/usr/src/lib/libcommputil/common/
H A Dsdp.c299 uint64_t ver, const char *nettype, const char *addrtype, in sdp_add_origin() argument
305 if (session == NULL || name == NULL || nettype == NULL || in sdp_add_origin()
318 if ((ret = commp_add_str(&origin->o_nettype, nettype, in sdp_add_origin()
319 strlen(nettype))) != 0) { in sdp_add_origin()
410 sdp_add_connection(sdp_conn_t **conn, const char *nettype, const char *addrtype, in sdp_add_connection() argument
417 if (conn == NULL || nettype == NULL || addrtype == NULL || in sdp_add_connection()
426 if ((ret = commp_add_str(&new_conn->c_nettype, nettype, in sdp_add_connection()
427 strlen(nettype))) != 0) { in sdp_add_connection()
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.c335 my__rpc_setconf(char *nettype, char *file, int line) in my__rpc_setconf() argument
339 res = __rpc_setconf(nettype); in my__rpc_setconf()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmetarpcopen.c311 char *nettype) in meta_client_create() argument
317 cd.cd_nettype = nettype; in meta_client_create()
H A Dmeta_med.c93 char *nettype, in med_clnt_create_timed() argument
101 cd.mcd_nettype = nettype; in med_clnt_create_timed()
/titanic_41/usr/src/uts/common/rpc/
H A DMakefile43 nettype.h pmap_clnt.h pmap_rmt.h \
/titanic_41/usr/src/lib/libnsl/common/
H A Dllib-lnsl526 rpcvers_t vers_high, const char *nettype);
529 rpcvers_t vers_high, const char *nettype,
532 const char *nettype);
651 struct netconfig *__rpc_getconfip(char *nettype);
652 void *__rpc_setconf(char *nettype);
815 const char *nettype);
834 const char *nettype);
1052 const char *nettype,
/titanic_41/usr/src/head/
H A Dmeta.h1784 rpcvers_t version, char *nettype);
/titanic_41/usr/src/pkg/manifests/
H A Dsystem-header.mf659 file path=usr/include/rpc/nettype.h