/freebsd/usr.sbin/rpcbind/ |
H A D | rpcbind.h | 95 void rpcbs_procinfo(rpcvers_t, rpcproc_t); 96 void rpcbs_set(rpcvers_t, bool_t); 97 void rpcbs_unset(rpcvers_t, bool_t); 98 void rpcbs_getaddr(rpcvers_t, rpcprog_t, rpcvers_t, char *, char *); 99 void rpcbs_rmtcall(rpcvers_t, rpcproc_t, rpcprog_t, rpcvers_t, rpcproc_t, 101 void *rpcbproc_getstat(void *, struct svc_req *, SVCXPRT *, rpcvers_t); 107 void *rpcbproc_set_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t); 108 void *rpcbproc_unset_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t); 112 void *rpcbproc_getaddr_com(RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t, 113 rpcvers_t); [all …]
|
H A D | rpcb_stat.c | 60 rpcbs_procinfo(rpcvers_t rtype, rpcproc_t proc) in rpcbs_procinfo() 83 rpcbs_set(rpcvers_t rtype, bool_t success) in rpcbs_set() 91 rpcbs_unset(rpcvers_t rtype, bool_t success) in rpcbs_unset() 99 rpcbs_getaddr(rpcvers_t rtype, rpcprog_t prog, rpcvers_t vers, char *netid, in rpcbs_getaddr() 143 rpcbs_rmtcall(rpcvers_t rtype, rpcproc_t rpcbproc, rpcprog_t prog, in rpcbs_rmtcall() 144 rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) in rpcbs_rmtcall() 196 SVCXPRT *xprt __unused, rpcvers_t versnum __unused) in rpcbproc_getstat()
|
H A D | rpcb_svc_4.c | 54 rpcvers_t); 55 static void *rpcbproc_getversaddr_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t); 57 (void *, struct svc_req *, SVCXPRT *, rpcvers_t); 59 static void *rpcbproc_dump_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t); 77 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_4() 260 rpcvers_t rpcbversnum __unused) in rpcbproc_getaddr_4_local() 290 rpcvers_t versnum __unused) in rpcbproc_getversaddr_4_local() 318 SVCXPRT *transp, rpcvers_t versnum __unused) in rpcbproc_getaddrlist_4_local() 325 rpcvers_t vers; in rpcbproc_getaddrlist_4_local() 447 SVCXPRT *xprt __unused, rpcvers_t versnum __unused) in rpcbproc_dump_4_local()
|
H A D | rpcb_svc.c | 56 rpcvers_t); 58 rpcvers_t); 77 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_3() 207 SVCXPRT *transp __unused, rpcvers_t versnum __unused) in rpcbproc_getaddr_3_local() 229 SVCXPRT *transp __unused, rpcvers_t versnum __unused) in rpcbproc_dump_3_local()
|
H A D | rpcb_svc_com.c | 89 rpcvers_t versnum; 102 rpcproc_t, rpcvers_t, u_int32_t *); 113 static void find_versions(rpcprog_t, char *, rpcvers_t *, rpcvers_t *); 114 static rpcblist_ptr find_service(rpcprog_t, rpcvers_t, char *); 125 rpcvers_t rpcbversnum) in rpcbproc_set_com() 210 rpcvers_t rpcbversnum) in rpcbproc_unset_com() 304 SVCXPRT *transp, rpcvers_t rpcbversnum, rpcvers_t verstype) in rpcbproc_getaddr_com() 347 SVCXPRT *transp __unused, rpcvers_t rpcbversnum __unused) in rpcbproc_gettime_com() 362 SVCXPRT *transp, rpcvers_t rpcbversnum __unused) in rpcbproc_uaddr2taddr_com() 386 SVCXPRT *transp, rpcvers_t rpcbversnum __unused) in rpcbproc_taddr2uaddr_com() [all …]
|
/freebsd/include/rpc/ |
H A D | clnt.h | 71 rpcvers_t low; /* lowest version supported */ 72 rpcvers_t high; /* highest version supported */ 245 #define RPCTEST_VERSION ((rpcvers_t)1) 266 extern CLIENT *clnt_create(const char *, const rpcprog_t, const rpcvers_t, 281 const rpcvers_t, const char *, const struct timeval *); 295 extern CLIENT *clnt_create_vers(const char *, const rpcprog_t, rpcvers_t *, 296 const rpcvers_t, const rpcvers_t, 312 rpcvers_t *, const rpcvers_t, const rpcvers_t, const char *, 329 const rpcvers_t, const struct netconfig *); 342 const rpcvers_t, const struct netconfig *, const struct timeval *); [all …]
|
H A D | rpcb_prot.x | 124 rpcvers_t r_vers; /* version number */ 181 rpcvers_t vers; /* version number */ 200 % rpcvers_t vers; 275 rpcvers_t vers; 285 rpcvers_t vers; 421 % rpcvers_t r_vers; /* version number */ 443 % rpcvers_t vers; /* version number */ 500 % rpcvers_t vers; 512 % rpcvers_t vers;
|
H A D | rpc_msg.h | 90 rpcvers_t low; 91 rpcvers_t high; 110 rpcvers_t low; 111 rpcvers_t high; 136 rpcvers_t cb_rpcvers; /* must be equal to two */ 138 rpcvers_t cb_vers;
|
H A D | rpcb_clnt.h | 64 extern bool_t rpcb_set(const rpcprog_t, const rpcvers_t, 66 extern bool_t rpcb_unset(const rpcprog_t, const rpcvers_t, 71 const rpcvers_t, const rpcproc_t, 76 extern bool_t rpcb_getaddr(const rpcprog_t, const rpcvers_t,
|
H A D | svc.h | 236 extern bool_t svc_reg(SVCXPRT *, const rpcprog_t, const rpcvers_t, 250 extern void svc_unreg(const rpcprog_t, const rpcvers_t); 305 extern void svcerr_progvers(SVCXPRT *, rpcvers_t, rpcvers_t); 309 extern int rpc_reg(rpcprog_t, rpcvers_t, rpcproc_t, 379 const rpcprog_t, const rpcvers_t, const char *); 394 const rpcprog_t, const rpcvers_t,
|
/freebsd/sys/rpc/ |
H A D | clnt.h | 79 rpcvers_t low; /* lowest version supported */ 80 rpcvers_t high; /* highest version supported */ 384 #define RPCTEST_VERSION ((rpcvers_t)1) 416 struct sockaddr *svcaddr, rpcprog_t program, rpcvers_t version, 429 struct sockaddr *svcaddr, rpcprog_t program, rpcvers_t version, 441 struct sockaddr *svcaddr, rpcprog_t program, rpcvers_t version, 446 extern CLIENT *clnt_create(const char *, const rpcprog_t, const rpcvers_t, 461 const rpcvers_t, const char *, const struct timeval *); 475 extern CLIENT *clnt_create_vers(const char *, const rpcprog_t, rpcvers_t *, 476 const rpcvers_t, const rpcvers_t, [all …]
|
H A D | rpc_msg.h | 90 rpcvers_t low; 91 rpcvers_t high; 110 rpcvers_t low; 111 rpcvers_t high; 136 rpcvers_t cb_rpcvers; /* must be equal to two */ 138 rpcvers_t cb_vers;
|
H A D | rpcb_clnt.h | 66 extern bool_t rpcb_set(const rpcprog_t, const rpcvers_t, 68 extern bool_t rpcb_unset(const rpcprog_t, const rpcvers_t, 74 const rpcvers_t, const rpcproc_t, 79 extern bool_t rpcb_getaddr(const rpcprog_t, const rpcvers_t,
|
H A D | svc.h | 247 rpcvers_t sc_vers; 531 extern bool_t svc_reg(SVCXPRT *, const rpcprog_t, const rpcvers_t, 546 extern void svc_unreg(SVCPOOL *, const rpcprog_t, const rpcvers_t); 548 extern void svc_unreg(const rpcprog_t, const rpcvers_t); 646 extern void svcerr_progvers(struct svc_req *, rpcvers_t, rpcvers_t); 655 extern void svcerr_progvers(SVCXPRT *, rpcvers_t, rpcvers_t); 660 extern int rpc_reg(rpcprog_t, rpcvers_t, rpcproc_t, 754 const rpcprog_t, const rpcvers_t, const char *); 769 const rpcprog_t, const rpcvers_t, const char *uaddr, 797 extern void *clnt_bck_create(struct socket *, const rpcprog_t, const rpcvers_t); [all …]
|
H A D | rpcb_prot.h | 132 rpcvers_t r_vers; 186 rpcvers_t vers; 208 rpcvers_t vers; 288 rpcvers_t vers; 300 rpcvers_t vers; 359 rpcvers_t r_vers; /* version number */ 381 rpcvers_t vers; /* version number */ 438 rpcvers_t vers; 450 rpcvers_t vers;
|
H A D | rpcb_clnt.c | 305 (rpcprog_t)RPCBPROG, (rpcvers_t)RPCBVERS4, 0, 0); 400 (rpcprog_t)RPCBPROG, (rpcvers_t)RPCBVERS4, 0, 0); 456 (rpcvers_t)RPCBVERS, tsize, tsize, 1); in local_rpcb() 533 rpcb_set(rpcprog_t program, rpcvers_t version, in rpcb_set() 601 rpcb_unset(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf) in rpcb_unset() 736 rpcvers_t version; 747 rpcvers_t vers; 749 rpcvers_t start_vers = RPCBVERS4; 771 rpcvers_t pmapvers = 2; 1051 rpcvers_t version; [all …]
|
H A D | svc.c | 72 static struct svc_callout *svc_find(SVCPOOL *pool, rpcprog_t, rpcvers_t, 502 svc_reg(SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers, in svc_reg() 570 svc_unreg(SVCPOOL *pool, const rpcprog_t prog, const rpcvers_t vers) in svc_unreg() 642 svc_find(SVCPOOL *pool, rpcprog_t prog, rpcvers_t vers, char *netid) in svc_find() 859 svcerr_progvers(struct svc_req *rqstp, rpcvers_t low_vers, rpcvers_t high_vers) in svcerr_progvers() 1037 rpcvers_t low_vers; in svc_executereq() 1038 rpcvers_t high_vers; in svc_executereq() 1043 low_vers = (rpcvers_t) -1L; in svc_executereq() 1044 high_vers = (rpcvers_t) 0L; in svc_executereq()
|
/freebsd/lib/libc/rpc/ |
H A D | clnt_generic.c | 74 clnt_create_vers(const char *hostname, rpcprog_t prog, rpcvers_t *vers_out, in clnt_create_vers() 75 rpcvers_t vers_low, rpcvers_t vers_high, const char *nettype) in clnt_create_vers() 90 rpcvers_t *vers_out, rpcvers_t vers_low, rpcvers_t vers_high, in clnt_create_vers_timed() 157 clnt_create(const char *hostname, rpcprog_t prog, rpcvers_t vers, in clnt_create() 173 clnt_create_timed(const char *hostname, rpcprog_t prog, rpcvers_t vers, in clnt_create_timed() 259 clnt_tp_create(const char *hostname, rpcprog_t prog, rpcvers_t vers, in clnt_tp_create() 273 clnt_tp_create_timed(const char *hostname, rpcprog_t prog, rpcvers_t vers, in clnt_tp_create_timed() 326 struct netbuf *svcaddr, rpcprog_t prog, rpcvers_t vers, in clnt_tli_create()
|
H A D | svc.c | 77 rpcvers_t sc_vers; 85 static struct svc_callout *svc_find(rpcprog_t, rpcvers_t, 168 svc_reg(SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers, in svc_reg() 237 svc_unreg(const rpcprog_t prog, const rpcvers_t vers) in svc_unreg() 278 if ((s = svc_find((rpcprog_t)prog, (rpcvers_t)vers, &prev, NULL)) != in svc_register() 289 s->sc_vers = (rpcvers_t)vers; in svc_register() 310 if ((s = svc_find((rpcprog_t)prog, (rpcvers_t)vers, &prev, NULL)) == in svc_unregister() 330 svc_find(rpcprog_t prog, rpcvers_t vers, struct svc_callout **prev, in svc_find() 507 svcerr_progvers(SVCXPRT *xprt, rpcvers_t low_vers, rpcvers_t high_vers) in svcerr_progvers() 616 rpcvers_t low_vers; in svc_getreq_common() [all …]
|
H A D | pmap_clnt.c | 79 rslt = rpcb_set((rpcprog_t)program, (rpcvers_t)version, nconf, na); in pmap_set() 98 udp_rslt = rpcb_unset((rpcprog_t)program, (rpcvers_t)version, in pmap_unset() 104 tcp_rslt = rpcb_unset((rpcprog_t)program, (rpcvers_t)version, in pmap_unset()
|
H A D | rpc_soc.c | 72 static CLIENT *clnt_com_create(struct sockaddr_in *, rpcprog_t, rpcvers_t, 85 clnt_com_create(struct sockaddr_in *raddr, rpcprog_t prog, rpcvers_t vers, int *sockp, in clnt_com_create() 160 cl = clnt_com_create(raddr, (rpcprog_t)prog, (rpcvers_t)vers, sockp, in clntudp_bufcreate() 183 return clnt_com_create(raddr, (rpcprog_t)prog, (rpcvers_t)vers, sockp, in clnttcp_create() 191 return clnt_raw_create((rpcprog_t)prog, (rpcvers_t)vers); in clntraw_create() 292 return (int)rpc_call(host, (rpcprog_t)prognum, (rpcvers_t)versnum, in callrpc() 305 return rpc_reg((rpcprog_t)prognum, (rpcvers_t)versnum, in registerrpc() 373 return rpc_broadcast((rpcprog_t)prog, (rpcvers_t)vers, in clnt_broadcast()
|
H A D | rpcb_clnt.c | 292 (rpcprog_t)RPCBPROG, (rpcvers_t)RPCBVERS4, 0, 0); in getclnthandle() 387 (rpcprog_t)RPCBPROG, (rpcvers_t)RPCBVERS4, 0, 0); in getclnthandle() 443 (rpcvers_t)RPCBVERS, tsize, tsize); in local_rpcb() 518 rpcb_set(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf, in rpcb_set() 576 rpcb_unset(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf) in rpcb_unset() 699 __rpcb_findaddr_timed(rpcprog_t program, rpcvers_t version, in __rpcb_findaddr_timed() 708 rpcvers_t vers; in __rpcb_findaddr_timed() 710 rpcvers_t start_vers = RPCBVERS4; in __rpcb_findaddr_timed() 732 rpcvers_t pmapvers = 2; in __rpcb_findaddr_timed() 1018 rpcb_getaddr(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf, in rpcb_getaddr() [all …]
|
H A D | svc_simple.c | 67 rpcvers_t p_versnum; 102 rpc_reg(rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, in rpc_reg() 246 rpcvers_t vers; in universal()
|
H A D | clnt_simple.c | 68 rpcvers_t versnum; /* Version */ 115 rpc_call(const char *host, const rpcprog_t prognum, const rpcvers_t versnum, in rpc_call()
|
/freebsd/sys/nlm/ |
H A D | nlm_advlock.c | 76 rpcvers_t vers, struct timeval *timo, int retries, 80 rpcvers_t vers, struct timeval *timo, int retries, 84 rpcvers_t vers, struct timeval *timo, int retries, 91 rpcvers_t vers, size_t fhlen, void *fh, off_t size, 207 rpcvers_t vers; in nlm_advlock_internal() 566 nlm_test_rpc(rpcvers_t vers, nlm4_testargs *args, nlm4_testres *res, CLIENT *client, in nlm_test_rpc() 597 nlm_lock_rpc(rpcvers_t vers, nlm4_lockargs *args, nlm4_res *res, CLIENT *client, in nlm_lock_rpc() 626 nlm_cancel_rpc(rpcvers_t vers, nlm4_cancargs *args, nlm4_res *res, CLIENT *client, in nlm_cancel_rpc() 653 nlm_unlock_rpc(rpcvers_t vers, nlm4_unlockargs *args, nlm4_res *res, CLIENT *client, in nlm_unlock_rpc() 759 rpcvers_t vers, struct timeval *timo, int retries, in nlm_setlock() [all …]
|