Searched defs:nettype (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_rsvd.c40 rpcvers_t vers, const char *nettype,
50 if (nettype == NULL)
53 nt = nettype;
100 rpcvers_t vers, const char *nettype,
103 if (nettype == 0) {
113 vers, nettype,
39 __yp_clnt_create_rsvdport_netid_req(const char *hostname, rpcprog_t prog, rpcvers_t vers, const char *nettype, const uint_t sendsz, const uint_t recvsz) argument
99 __yp_clnt_create_rsvdport(const char *hostname, rpcprog_t prog, rpcvers_t vers, const char *nettype, const uint_t sendsz, const uint_t recvsz) argument
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_generic.c13 #include <rpc/nettype.h>
35 char *nettype, /* Networktype token */
47 if ((net = __rpc_setconf(nettype)) == 0) {
32 svc_create_local_service(void (*dispatch) (), u_long prognum, u_long versnum, char *nettype, char *servname) argument
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c66 char nettype[NETIDLEN]; /* Network type */ member in struct:rpc_call_private
84 * the future calls to same prog, vers, host and nettype combination.
98 char *nettype = &nettype_array[0]; local
101 nettype = NULL;
108 (void) strcpy(nettype, netclass);
118 if ((nettype == NULL) || (nettype[0] == NULL))
119 nettype = "netpath";
125 strcmp(rcp->nettype, nettype)
[all...]
H A Dsvc_generic.c48 #include <rpc/nettype.h>
111 const char *nettype)
123 if (__rpc_try_doors(nettype, &try_others)) {
132 if ((handle = __rpc_setconf((char *)nettype)) == NULL) {
110 svc_create(void (*dispatch)(), const rpcprog_t prognum, const rpcvers_t versnum, const char *nettype) argument
H A Dclnt_generic.c44 #include <rpc/nettype.h>
74 const rpcvers_t vers_high, const char *nettype)
77 vers_high, nettype, NULL));
89 const char *nettype, const struct timeval *tp)
97 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp);
149 * Generic client creation: takes (servers name, program-number, nettype) and
162 const char *nettype)
164 return (clnt_create_timed(hostname, prog, vers, nettype, NULL));
185 char *nettype = &nettype_array[0]; local
189 nettype
72 clnt_create_vers(const char *hostname, const rpcprog_t prog, rpcvers_t *vers_out, const rpcvers_t vers_low, const rpcvers_t vers_high, const char *nettype) argument
87 clnt_create_vers_timed(const char *hostname, const rpcprog_t prog, rpcvers_t *vers_out, const rpcvers_t vers_low, const rpcvers_t vers_high, const char *nettype, const struct timeval *tp) argument
161 clnt_create(const char *hostname, const rpcprog_t prog, const rpcvers_t vers, const char *nettype) argument
307 char *nettype = &nettype_array[0]; local
[all...]
H A Drpc_generic.c46 #include <rpc/nettype.h>
64 int nettype; member in struct:handle
163 * Returns the type of the network as defined in <rpc/nettype.h>
164 * If nettype is NULL, it defaults to NETPATH.
167 getnettype(const char *nettype) argument
171 if ((nettype == NULL) || (nettype[0] == NULL))
175 if (strcasecmp(nettype, _rpctypelist[i].name) == 0)
181 * For the given nettype (tcp or udp only), return the first structure found.
185 __rpc_getconfip(char *nettype) argument
264 __rpc_setconf(char *nettype) argument
527 __rpc_try_doors(const char *nettype, bool_t *try_others) argument
[all...]
H A Dsvc_simple.c54 #include <rpc/nettype.h>
78 * nettype indicates the type of transport on which the service will be
90 const xdrproc_t outproc, const char *nettype)
105 if (nettype == NULL)
106 nettype = "netpath"; /* The default behavior */
107 if ((handle = __rpc_setconf((char *)nettype)) == NULL) {
223 rpc_reg_msg, nettype);
88 rpc_reg(const rpcprog_t prognum, const rpcvers_t versnum, const rpcproc_t procnum, char *(*progname)(), const xdrproc_t inproc, const xdrproc_t outproc, const char *nettype) argument
H A Dclnt_bcast.c49 #include <rpc/nettype.h>
77 * If nettype is NULL, it broadcasts on all the available
141 char *nettype = &nettype_array[0]; local
163 nettype = NULL;
168 (void) strcpy(nettype, netclass);
171 if (nettype == NULL)
172 nettype = "datagram_n";
173 if ((handle = __rpc_setconf((char *)nettype)) == NULL)
631 caddr_t resultsp, const resultproc_t eachresult, const char *nettype)
635 INITTIME, WAITTIME, nettype));
629 rpc_broadcast(const rpcprog_t prog, const rpcvers_t vers, const rpcproc_t proc, const xdrproc_t xargs, caddr_t argsp, xdrproc_t const xresults, caddr_t resultsp, const resultproc_t eachresult, const char *nettype) argument
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmetarpcopen.c311 char *nettype)
317 cd.cd_nettype = nettype;
310 meta_client_create(char *host, rpcprog_t prognum, rpcvers_t version, char *nettype) argument
H A Dmeta_med.c93 char *nettype,
101 cd.mcd_nettype = nettype;
89 med_clnt_create_timed( char *hostname, const ulong_t prog, const ulong_t vers, char *nettype, const md_timeval32_t *tp ) argument
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.c39 #include <rpc/nettype.h>
335 my__rpc_setconf(char *nettype, char *file, int line) argument
339 res = __rpc_setconf(nettype);
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drusers.c80 static char *nettype; variable
147 nettype = optarg;
179 (resultproc_t)collectnames_3, nettype);
185 (resultproc_t)collectnames, nettype);
215 nettype);
225 (char *)&utmpidlearr, nettype);
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp.c295 * o=<username> <sess-id> <sess-version> <nettype> <addrtype> <unicast-address>
299 uint64_t ver, const char *nettype, const char *addrtype,
305 if (session == NULL || name == NULL || nettype == NULL ||
318 if ((ret = commp_add_str(&origin->o_nettype, nettype,
319 strlen(nettype))) != 0) {
407 * c=<nettype> <addrtype> <connection-address>[/ttl]/<number of addresses>
410 sdp_add_connection(sdp_conn_t **conn, const char *nettype, const char *addrtype, argument
417 if (conn == NULL || nettype == NULL || addrtype == NULL ||
426 if ((ret = commp_add_str(&new_conn->c_nettype, nettype,
427 strlen(nettype))) !
298 sdp_add_origin(sdp_session_t *session, const char *name, uint64_t id, uint64_t ver, const char *nettype, const char *addrtype, const char *address) argument
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Doptim.c50 static int nettype(int mid);
318 cp, arpamach, nettype(arpamach), nettype(LOCAL));
325 if (((nettype(arpamach) & nettype(LOCAL)) & ~AN) == 0) {
367 nettype(int mid) function
836 stype = nettype(src);
837 dtype = nettype(dest);

Completed in 93 milliseconds