HomeSort by: relevance | last modified time | path
    Searched refs:clnt (Results 1 - 18 of 18) sorted by relevancy

  /src/usr.sbin/rpc.lockd/
test.c 23 nlm_test_1(struct nlm_testargs *argp, CLIENT *clnt)
29 st = clnt_call(clnt, NLM_TEST, xdr_nlm_testargs, argp, xdr_nlm_testres,
38 nlm_lock_1(struct nlm_lockargs *argp, CLIENT *clnt)
44 st = clnt_call(clnt, NLM_LOCK, xdr_nlm_lockargs, argp, xdr_nlm_res,
48 clnt_perror(clnt, "humbug");
56 nlm_cancel_1(struct nlm_cancargs *argp, CLIENT *clnt)
62 st = clnt_call(clnt, NLM_CANCEL, xdr_nlm_cancargs, argp, xdr_nlm_res,
72 nlm_unlock_1(struct nlm_unlockargs *argp, CLIENT *clnt)
78 st = clnt_call(clnt, NLM_UNLOCK, xdr_nlm_unlockargs, argp, xdr_nlm_res,
88 nlm_granted_1(struct nlm_testargs *argp, CLIENT *clnt)
    [all...]
  /src/sys/fs/nfs/nlm/
nlm_prot_clnt.c 23 nlm_sm_notify_0(struct nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
25 return (CLNT_CALL_EXT(clnt, ext, NLM_SM_NOTIFY,
32 nlm_test_1(struct nlm_testargs *argp, nlm_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
34 return (CLNT_CALL_EXT(clnt, ext, NLM_TEST,
41 nlm_lock_1(struct nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
43 return (CLNT_CALL_EXT(clnt, ext, NLM_LOCK,
50 nlm_cancel_1(struct nlm_cancargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
52 return (CLNT_CALL_EXT(clnt, ext, NLM_CANCEL,
59 nlm_unlock_1(struct nlm_unlockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
61 return (CLNT_CALL_EXT(clnt, ext, NLM_UNLOCK
    [all...]
  /src/usr.bin/eject/
am_glue.c 46 static CLIENT *clnt; variable in typeref:typename:CLIENT *
106 clnt = clnt_create(server, xAMQ_PROGRAM, xAMQ_VERSION, "tcp");
107 if (clnt != NULL)
111 clnt = clnt_create(server, xAMQ_PROGRAM, xAMQ_VERSION, "udp");
112 if (clnt != NULL) /* set udp timeout */
113 (void)clnt_control(clnt, CLSET_RETRY_TIMEOUT, (void *)&tv);
124 if (clnt == NULL)
127 if (clnt_call(clnt, xAMQPROC_SYNC_UMNT, xdr_amq_string, &dirname,
  /src/usr.sbin/rpc.statd/
test.c 17 sm_stat_1(struct sm_name *argp, CLIENT *clnt)
22 if (clnt_call(clnt, SM_STAT, xdr_sm_name, argp, xdr_sm_stat_res,
30 sm_mon_1(struct mon *argp, CLIENT *clnt)
35 if (clnt_call(clnt, SM_MON, xdr_mon, argp, xdr_sm_stat_res,
43 sm_unmon_1(struct mon_id *argp, CLIENT *clnt)
48 if (clnt_call(clnt, SM_UNMON, xdr_mon_id, argp, xdr_sm_stat,
56 sm_unmon_all_1(struct my_id *argp, CLIENT *clnt)
61 if (clnt_call(clnt, SM_UNMON_ALL, xdr_my_id, argp, xdr_sm_stat,
69 sm_simu_crash_1(void *argp, CLIENT *clnt)
74 if (clnt_call(clnt, SM_SIMU_CRASH, xdr_void, argp, xdr_void
    [all...]
  /src/lib/libc/yp/
yp_all.c 54 CLIENT *clnt; local in function:__weak_alias
71 clnt = clnttcp_create(&clnt_sin, YPPROG, YPVERS, &clnt_sock, 0, 0);
72 if (clnt == NULL) {
79 status = clnt_call(clnt, (rpcproc_t)YPPROC_ALL,
82 clnt_destroy(clnt);
  /src/lib/libc/rpc/
clnt_generic.c 87 CLIENT *clnt; local in function:__weak_alias
96 clnt = clnt_create(hostname, prog, vers_high, nettype);
97 if (clnt == NULL) {
102 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t) xdr_void,
106 return (clnt);
111 clnt_geterr(clnt, &rpcerr);
121 CLNT_CONTROL(clnt, CLSET_VERS, (char *)(void *)&vers_high);
122 rpc_stat = clnt_call(clnt, NULLPROC, (xdrproc_t) xdr_void,
126 return (clnt);
129 clnt_geterr(clnt, &rpcerr)
159 CLIENT *clnt = NULL; local in function:clnt_create
    [all...]
rpc_generic.c 476 * Used to ping the NULL procedure for clnt handle.
480 rpc_nullproc(CLIENT *clnt)
484 if (clnt_call(clnt, NULLPROC, (xdrproc_t) xdr_void, NULL,
488 return ((void *) clnt);
clnt_perror.c 60 #include <rpc/clnt.h>
xdr_rec.c 79 #include <rpc/clnt.h>
  /src/tests/lib/libc/rpc/
t_rpc.c 65 CLIENT *clnt; local in function:onehost
77 if ((clnt = clnt_create(host, RPCBPROG, RPCBVERS, transp)) == NULL)
82 if (clnt_call(clnt, RPCBPROC_NULL, xdr_void, NULL, xdr_void, NULL, tv)
84 ERRX(, "clnt_call (%s)", clnt_sperror(clnt, ""));
85 clnt_control(clnt, CLGET_SVC_ADDR, (char *) &addr);
134 CLIENT *clnt; local in function:rawtest
150 clnt = clnt_raw_create(PROGNUM, VERSNUM);
151 if (clnt == NULL)
154 rv = clnt_call(clnt, PLUSONE, (xdrproc_t)xdr_int, (void *)&num,
159 clnt_destroy(clnt);
170 CLIENT *clnt; local in function:regtest
    [all...]
  /src/include/rpc/
Makefile 4 INCS= auth.h auth_unix.h clnt.h clnt_soc.h nettype.h \
rpc.h 54 #include <rpc/clnt.h> /* generic rpc stuff */
  /src/usr.sbin/rpcbind/
util.c 107 struct sockaddr *clnt = caller->buf; local in function:addrmerge
149 clnt_sa = malloc(clnt->sa_len);
154 memcpy(clnt_sa, clnt, clnt->sa_len);
171 if (ifap->ifa_addr->sa_family != clnt->sa_family ||
175 switch (clnt->sa_family) {
213 realsin6 = (struct sockaddr_in6 *)clnt;
245 if (ifap->ifa_addr->sa_family != clnt->sa_family ||
261 switch (clnt->sa_family) {
  /src/tests/net/net/
t_unix.c 229 int srvr = -1, clnt = -1, acpt = -1; local in function:test
304 clnt = socket(AF_UNIX, SOCK_STREAM, 0);
305 if (clnt == -1)
308 if (connect(clnt, (const struct sockaddr *)sun, sl) == -1)
310 check_cred(clnt, statit, srvrpid, clntpid, "client");
326 if (close(clnt) == -1)
328 clnt = -1;
371 if (clnt != -1 && !closeit)
372 (void)close(clnt);
387 if (clnt != -1 && !closeit
    [all...]
t_tcp.c 75 int srvr = -1, clnt = -1, acpt = -1; local in function:accept_test
137 clnt = socket(cfamily, SOCK_STREAM | SOCK_NONBLOCK, 0);
138 if (clnt == -1)
154 ok = connect(clnt, (struct sockaddr *) &bs, addrlen);
173 ok = connect(clnt, (struct sockaddr *) &bs, addrlen);
216 if (getpeereid(clnt, &euid, &egid) != -1)
217 FAIL("getpeereid(clnt)");
259 close(clnt);
  /src/usr.sbin/rpc.bootparamd/
test.c 49 bootparamproc_whoami_1(bp_whoami_arg *argp, CLIENT *clnt)
56 if ((st = clnt_call(clnt, BOOTPARAMPROC_WHOAMI, xdr_bp_whoami_arg, argp,
  /src/usr.sbin/rpc.pcnfsd/
Makefile 32 CLEANFILES += clnt.pcnfsd pcnfsd_test.o pcnfsd_test.ln pcnfsd_clnt.*
  /src/usr.bin/rpcinfo/
rpcinfo.c 341 CLIENT *clnt; local in function:clnt_com_create
344 clnt = clnttcp_create(addr, UL(prog), UL(vers), fdp, 0, 0);
350 clnt = clntudp_create(addr, UL(prog), UL(vers), to, fdp);
352 if (clnt == NULL) {
361 return clnt;
366 * transparently through clnt*_create(); If version number is not given, it
1598 CLIENT *clnt = NULL; local in function:clnt_rpcbind_create
1605 while (clnt == NULL) {
1611 clnt = getclnthandle(host, nconf, rpcbversnum,
1615 if (clnt)
    [all...]

Completed in 19 milliseconds