/freebsd/include/rpc/ |
H A D | svc.h | 125 } SVCXPRT; typedef 157 SVCXPRT *rq_xprt; /* associated transport */ 236 extern bool_t svc_reg(SVCXPRT *, const rpcprog_t, const rpcvers_t, 237 void (*)(struct svc_req *, SVCXPRT *), 260 extern void xprt_register(SVCXPRT *); 270 extern void xprt_unregister(SVCXPRT *); 301 extern bool_t svc_sendreply(SVCXPRT *, xdrproc_t, void *); 302 extern void svcerr_decode(SVCXPRT *); 303 extern void svcerr_weakauth(SVCXPRT *); 304 extern void svcerr_noproc(SVCXPRT *); [all …]
|
H A D | svc_soc.h | 67 extern bool_t svc_register(SVCXPRT *, u_long, u_long, 68 void (*)(struct svc_req *, SVCXPRT *), int); 87 extern SVCXPRT *svcraw_create(void); 95 extern SVCXPRT *svcudp_create(int); 96 extern SVCXPRT *svcudp_bufcreate(int, u_int, u_int); 97 extern int svcudp_enablecache(SVCXPRT *, u_long); 105 extern SVCXPRT *svctcp_create(int, u_int, u_int); 112 extern SVCXPRT *svcfd_create(int, u_int, u_int);
|
/freebsd/usr.sbin/rpcbind/ |
H A D | rpcbind.h | 91 char *mergeaddr(SVCXPRT *, char *, char *, char *); 101 void *rpcbproc_getstat(void *, struct svc_req *, SVCXPRT *, rpcvers_t); 103 void rpcb_service_3(struct svc_req *, SVCXPRT *); 104 void rpcb_service_4(struct svc_req *, SVCXPRT *); 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, 114 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *, 117 SVCXPRT *, rpcvers_t); 118 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *, [all …]
|
H A D | rpcb_svc_4.c | 53 static void *rpcbproc_getaddr_4_local(void *, struct svc_req *, SVCXPRT *, 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); 66 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_4() 77 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_4() 259 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getaddr_4_local() 289 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getversaddr_4_local() 318 SVCXPRT *transp, rpcvers_t versnum __unused) in rpcbproc_getaddrlist_4_local() 447 SVCXPRT *xprt __unused, rpcvers_t versnum __unused) in rpcbproc_dump_4_local()
|
H A D | rpcb_svc.c | 55 static void *rpcbproc_getaddr_3_local(void *, struct svc_req *, SVCXPRT *, 57 static void *rpcbproc_dump_3_local(void *, struct svc_req *, SVCXPRT *, 65 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_3() 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 | pmap_svc.c | 56 static bool_t pmapproc_change(struct svc_req *, SVCXPRT *, u_long); 57 static bool_t pmapproc_getport(struct svc_req *, SVCXPRT *); 58 static bool_t pmapproc_dump(struct svc_req *, SVCXPRT *); 64 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) in pmap_service() 162 pmapproc_change(struct svc_req *rqstp __unused, SVCXPRT *xprt, unsigned long op) in pmapproc_change() 256 pmapproc_getport(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_getport() 337 pmapproc_dump(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_dump()
|
H A D | rpcb_svc_com.c | 72 SVCXPRT *xprt; 100 static SVCXPRT *find_rmtcallxprt_by_fd(int); 110 static void xprt_set_caller(SVCXPRT *, struct finfo *); 111 static void send_svcsyserr(SVCXPRT *, struct finfo *); 112 static void handle_reply(int, SVCXPRT *); 115 static char *getowner(SVCXPRT *, char *, size_t); 124 rpcbproc_set_com(void *arg, struct svc_req *rqstp __unused, SVCXPRT *transp, in rpcbproc_set_com() 209 rpcbproc_unset_com(void *arg, struct svc_req *rqstp __unused, SVCXPRT *transp, 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() [all …]
|
/freebsd/sys/rpc/ |
H A D | svc.h | 158 } SVCXPRT; typedef 191 void (*sc_dispatch)(struct svc_req *, SVCXPRT *); 202 void (*slc_dispatch)(SVCXPRT *); 222 SVCXPRT *rq_xprt; /* associated transport */ 252 SVCXPRT *st_xprt; /* transport we are processing */ 406 extern bool_t svc_reg(SVCXPRT *, const rpcprog_t, const rpcvers_t, 407 void (*)(struct svc_req *, SVCXPRT *), 432 extern bool_t svc_loss_reg(SVCXPRT *, void (*)(SVCXPRT *)); 444 extern void svc_loss_unreg(SVCPOOL *, void (*)(SVCXPRT *)); 454 extern void xprt_register(SVCXPRT *); [all …]
|
H A D | svc_vc.c | 133 static bool_t svc_vc_rendezvous_recv(SVCXPRT *, struct rpc_msg *, 135 static enum xprt_stat svc_vc_rendezvous_stat(SVCXPRT *); 136 static void svc_vc_rendezvous_destroy(SVCXPRT *); 138 static void svc_vc_destroy(SVCXPRT *); 139 static enum xprt_stat svc_vc_stat(SVCXPRT *); 140 static bool_t svc_vc_ack(SVCXPRT *, uint32_t *); 141 static bool_t svc_vc_recv(SVCXPRT *, struct rpc_msg *, 143 static bool_t svc_vc_reply(SVCXPRT *, struct rpc_msg *, 145 static bool_t svc_vc_control(SVCXPRT *xprt, const u_int rq, void *in); 146 static bool_t svc_vc_rendezvous_control (SVCXPRT *xprt, const u_int rq, [all …]
|
H A D | svc_dg.c | 63 static enum xprt_stat svc_dg_stat(SVCXPRT *); 64 static bool_t svc_dg_recv(SVCXPRT *, struct rpc_msg *, 66 static bool_t svc_dg_reply(SVCXPRT *, struct rpc_msg *, 68 static void svc_dg_destroy(SVCXPRT *); 69 static bool_t svc_dg_control(SVCXPRT *, const u_int, void *); 94 SVCXPRT * 98 SVCXPRT *xprt; in svc_dg_create() 147 svc_dg_stat(SVCXPRT *xprt) in svc_dg_stat() 157 svc_dg_recv(SVCXPRT *xprt, struct rpc_msg *msg, in svc_dg_recv() 226 svc_dg_reply(SVCXPRT *xprt, struct rpc_msg *msg, in svc_dg_reply() [all …]
|
H A D | svc.c | 75 static void xprt_unregister_locked(SVCXPRT *xprt); 186 SVCXPRT *xprt, *nxprt; in svcpool_cleanup() 343 xprt_register(SVCXPRT *xprt) in xprt_register() 365 xprt_unregister_locked(SVCXPRT *xprt) in xprt_unregister_locked() 378 xprt_unregister(SVCXPRT *xprt) in xprt_unregister() 400 xprt_assignthread(SVCXPRT *xprt) in xprt_assignthread() 433 xprt_active(SVCXPRT *xprt) in xprt_active() 461 xprt_inactive_locked(SVCXPRT *xprt) in xprt_inactive_locked() 474 xprt_inactive(SVCXPRT *xprt) in xprt_inactive() 488 xprt_inactive_self(SVCXPRT *xprt) in xprt_inactive_self() [all …]
|
H A D | svc_generic.c | 65 extern int __svc_vc_setflag(SVCXPRT *, int); 72 SVCXPRT * 75 void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_tp_create() argument 84 SVCXPRT *xprt; in svc_tp_create() 129 SVCXPRT * 138 SVCXPRT *xprt = NULL; /* service handle */ in svc_tli_create()
|
/freebsd/lib/libc/rpc/ |
H A D | svc_raw.c | 62 SVCXPRT *server; 67 static enum xprt_stat svc_raw_stat(SVCXPRT *); 68 static bool_t svc_raw_recv(SVCXPRT *, struct rpc_msg *); 69 static bool_t svc_raw_reply(SVCXPRT *, struct rpc_msg *); 70 static bool_t svc_raw_getargs(SVCXPRT *, xdrproc_t, void *); 71 static bool_t svc_raw_freeargs(SVCXPRT *, xdrproc_t, void *); 72 static void svc_raw_destroy(SVCXPRT *); 73 static void svc_raw_ops(SVCXPRT *); 74 static bool_t svc_raw_control(SVCXPRT *, const u_int, void *); 78 SVCXPRT * [all …]
|
H A D | svc.c | 79 void (*sc_dispatch)(struct svc_req *, SVCXPRT *); 82 SVCXPRT **__svc_xports; 87 static void __xprt_do_unregister (SVCXPRT *xprt, bool_t dolock); 95 xprt_register(SVCXPRT *xprt) in xprt_register() 105 __svc_xports = (SVCXPRT **) in xprt_register() 106 mem_alloc((FD_SETSIZE + 1) * sizeof(SVCXPRT *)); in xprt_register() 111 memset(__svc_xports, '\0', (FD_SETSIZE + 1) * sizeof(SVCXPRT *)); in xprt_register() 123 xprt_unregister(SVCXPRT *xprt) in xprt_unregister() 129 __xprt_unregister_unlocked(SVCXPRT *xprt) in __xprt_unregister_unlocked() 138 __xprt_do_unregister(SVCXPRT *xprt, bool_t dolock) in __xprt_do_unregister() [all …]
|
H A D | svc_vc.c | 67 static SVCXPRT *makefd_xprt(int, u_int, u_int); 68 static bool_t rendezvous_request(SVCXPRT *, struct rpc_msg *); 69 static enum xprt_stat rendezvous_stat(SVCXPRT *); 70 static void svc_vc_destroy(SVCXPRT *); 71 static void __svc_vc_dodestroy (SVCXPRT *); 74 static enum xprt_stat svc_vc_stat(SVCXPRT *); 75 static bool_t svc_vc_recv(SVCXPRT *, struct rpc_msg *); 76 static bool_t svc_vc_getargs(SVCXPRT *, xdrproc_t, void *); 77 static bool_t svc_vc_freeargs(SVCXPRT *, xdrproc_t, void *); 78 static bool_t svc_vc_reply(SVCXPRT *, struct rpc_msg *); [all …]
|
H A D | svc_nl.c | 53 static void svc_nl_destroy(SVCXPRT *); 54 static bool_t svc_nl_recv(SVCXPRT *, struct rpc_msg *); 55 static bool_t svc_nl_reply(SVCXPRT *, struct rpc_msg *); 56 static enum xprt_stat svc_nl_stat(SVCXPRT *); 57 static bool_t svc_nl_getargs(SVCXPRT *, xdrproc_t, void *); 58 static bool_t svc_nl_freeargs(SVCXPRT *, xdrproc_t, void *); 59 static bool_t svc_nl_control(SVCXPRT *, const u_int, void *); 87 SVCXPRT * 95 SVCXPRT *xprt; in svc_nl_create() 143 svc_nl_destroy(SVCXPRT *xprt) in svc_nl_destroy() [all …]
|
H A D | svc_generic.c | 60 extern int __svc_vc_setflag(SVCXPRT *, int); 76 svc_create(void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_create() argument 80 SVCXPRT *xprt; /* Server handle */ in svc_create() 85 SVCXPRT *xprt; in svc_create() 149 SVCXPRT * 150 svc_tp_create(void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_tp_create() argument 153 SVCXPRT *xprt; in svc_tp_create() 193 SVCXPRT * 197 SVCXPRT *xprt = NULL; /* service handle */ in svc_tli_create()
|
H A D | svc_dg.c | 72 static void svc_dg_ops(SVCXPRT *); 73 static enum xprt_stat svc_dg_stat(SVCXPRT *); 74 static bool_t svc_dg_recv(SVCXPRT *, struct rpc_msg *); 75 static bool_t svc_dg_reply(SVCXPRT *, struct rpc_msg *); 76 static bool_t svc_dg_getargs(SVCXPRT *, xdrproc_t, void *); 77 static bool_t svc_dg_freeargs(SVCXPRT *, xdrproc_t, void *); 78 static void svc_dg_destroy(SVCXPRT *); 79 static bool_t svc_dg_control(SVCXPRT *, const u_int, void *); 80 static int cache_get(SVCXPRT *, struct rpc_msg *, char **, size_t *); 81 static void cache_set(SVCXPRT *, size_t); [all …]
|
H A D | rpc_soc.c | 74 static SVCXPRT *svc_com_create(int, u_int, u_int, char *); 197 static SVCXPRT * 201 SVCXPRT *svc; in svc_com_create() 237 SVCXPRT * 244 SVCXPRT * 251 SVCXPRT * 259 SVCXPRT * 266 SVCXPRT * 461 SVCXPRT * 469 SVCXPRT *xprt; in svcunix_create() [all …]
|
H A D | svc_simple.c | 62 static void universal(struct svc_req *, SVCXPRT *); 69 SVCXPRT *p_transp; 127 SVCXPRT *svcxprt; in rpc_reg() 243 universal(struct svc_req *rqstp, SVCXPRT *transp) in universal()
|
/freebsd/libexec/rpc.rquotad/ |
H A D | rquotad.c | 33 static void rquota_service_1(struct svc_req *request, SVCXPRT *transp); 34 static void rquota_service_2(struct svc_req *request, SVCXPRT *transp); 35 static void sendquota(struct svc_req *request, SVCXPRT *transp); 36 static void sendquota_extended(struct svc_req *request, SVCXPRT *transp); 54 SVCXPRT *transp; in main() 126 rquota_service_2(struct svc_req *request, SVCXPRT *transp) in rquota_service_2() 146 rquota_service_1(struct svc_req *request, SVCXPRT *transp) in rquota_service_1() 167 sendquota(struct svc_req *request, SVCXPRT *transp) in sendquota() 219 sendquota_extended(struct svc_req *request, SVCXPRT *transp) in sendquota_extended()
|
/freebsd/sys/nlm/ |
H A D | nlm_prot_svc.c | 40 void nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp); 41 void nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp); 42 void nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp); 43 void nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp); 46 nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_0() 94 nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_1() 248 nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_3() 341 nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_4()
|
/freebsd/libexec/rpc.sprayd/ |
H A D | sprayd.c | 40 static void spray_service(struct svc_req *, SVCXPRT *); 72 SVCXPRT *transp; in main() 125 spray_service(struct svc_req *rqstp, SVCXPRT *transp) in spray_service()
|
/freebsd/usr.sbin/rpc.yppasswdd/ |
H A D | yppasswdd_extern.h | 52 extern void yppasswdprog_1(struct svc_req *, register SVCXPRT *); 53 extern void master_yppasswdprog_1(struct svc_req *, register SVCXPRT *);
|
/freebsd/usr.sbin/ypserv/ |
H A D | yp_svc_udp.c | 49 svcudp_get_xid(SVCXPRT *xprt) in svcudp_get_xid() 60 svcudp_set_xid(SVCXPRT *xprt, unsigned long xid) in svcudp_set_xid()
|