| /netbsd/src/include/rpc/ |
| D | svc.h | 124 } SVCXPRT; typedef 135 SVCXPRT *rq_xprt; /* associated transport */ 201 extern bool_t svc_reg(SVCXPRT *, const rpcprog_t, const rpcvers_t, 202 void (*)(struct svc_req *, SVCXPRT *), 225 extern bool_t xprt_register (SVCXPRT *); 235 extern void xprt_unregister (SVCXPRT *); 266 extern bool_t svc_sendreply (SVCXPRT *, xdrproc_t, const char *); 267 extern void svcerr_decode (SVCXPRT *); 268 extern void svcerr_weakauth (SVCXPRT *); 269 extern void svcerr_noproc (SVCXPRT *); [all …]
|
| D | svc_soc.h | 67 extern bool_t svc_register(SVCXPRT *, unsigned long, unsigned 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, unsigned int, unsigned int); 97 extern int svcudp_enablecache(SVCXPRT *, unsigned long); 105 extern SVCXPRT *svctcp_create(int, unsigned int, unsigned int); 112 extern SVCXPRT *svcfd_create(int, unsigned int, unsigned int);
|
| /netbsd/src/lib/libc/rpc/ |
| D | svc_raw.c | 79 SVCXPRT server; 84 static enum xprt_stat svc_raw_stat(SVCXPRT *); 85 static bool_t svc_raw_recv(SVCXPRT *, struct rpc_msg *); 86 static bool_t svc_raw_reply(SVCXPRT *, struct rpc_msg *); 87 static bool_t svc_raw_getargs(SVCXPRT *, xdrproc_t, caddr_t); 88 static bool_t svc_raw_freeargs(SVCXPRT *, xdrproc_t, caddr_t); 89 static void svc_raw_destroy(SVCXPRT *); 90 static void svc_raw_ops(SVCXPRT *); 91 static bool_t svc_raw_control(SVCXPRT *, const u_int, void *); 95 SVCXPRT * [all …]
|
| D | svc_vc.c | 81 static SVCXPRT *makefd_xprt(int, u_int, u_int); 82 static bool_t rendezvous_request(SVCXPRT *, struct rpc_msg *); 83 static enum xprt_stat rendezvous_stat(SVCXPRT *); 84 static void svc_vc_destroy(SVCXPRT *); 85 static void __svc_vc_dodestroy(SVCXPRT *); 88 static enum xprt_stat svc_vc_stat(SVCXPRT *); 89 static bool_t svc_vc_recv(SVCXPRT *, struct rpc_msg *); 90 static bool_t svc_vc_getargs(SVCXPRT *, xdrproc_t, caddr_t); 91 static bool_t svc_vc_freeargs(SVCXPRT *, xdrproc_t, caddr_t); 92 static bool_t svc_vc_reply(SVCXPRT *, struct rpc_msg *); [all …]
|
| D | svc.c | 94 SVCXPRT **__svc_xports; 116 void (*sc_dispatch)(struct svc_req *, SVCXPRT *); 121 static void __xprt_do_unregister(SVCXPRT *xprt, bool_t dolock); 129 SVCXPRT **oldxports, **newxports; in xprt_alloc() 151 newxports = realloc(oldxports, newmaxxports * sizeof(SVCXPRT *)); in xprt_alloc() 158 (newmaxxports - oldmaxxports) * sizeof(SVCXPRT *)); in xprt_alloc() 171 xprt_register(SVCXPRT *xprt) in xprt_register() 197 xprt_unregister(SVCXPRT *xprt) in xprt_unregister() 203 __xprt_unregister_unlocked(SVCXPRT *xprt) in __xprt_unregister_unlocked() 212 __xprt_do_unregister(SVCXPRT *xprt, bool_t dolock) in __xprt_do_unregister() [all …]
|
| D | svc_dg.c | 84 static void svc_dg_ops(SVCXPRT *); 85 static enum xprt_stat svc_dg_stat(SVCXPRT *); 86 static bool_t svc_dg_recv(SVCXPRT *, struct rpc_msg *); 87 static bool_t svc_dg_reply(SVCXPRT *, struct rpc_msg *); 88 static bool_t svc_dg_getargs(SVCXPRT *, xdrproc_t, caddr_t); 89 static bool_t svc_dg_freeargs(SVCXPRT *, xdrproc_t, caddr_t); 90 static void svc_dg_destroy(SVCXPRT *); 91 static bool_t svc_dg_control(SVCXPRT *, const u_int, void *); 92 static int cache_get(SVCXPRT *, struct rpc_msg *, char **, size_t *); 93 static void cache_set(SVCXPRT *, size_t); [all …]
|
| D | svc_generic.c | 77 extern int __svc_vc_setflag(SVCXPRT *, int); 90 void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_create() argument 96 SVCXPRT *xprt; /* Server handle */ in svc_create() 101 SVCXPRT *xprt; in svc_create() 159 SVCXPRT * 161 void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_tp_create() argument 166 SVCXPRT *xprt; in svc_tp_create() 197 SVCXPRT * 205 SVCXPRT *xprt = NULL; /* service handle */ in svc_tli_create()
|
| D | rpc_soc.c | 101 static SVCXPRT *svc_com_create(int, u_int, u_int, const char *); 225 static SVCXPRT * 229 SVCXPRT *svc; in svc_com_create() 283 SVCXPRT * 289 SVCXPRT * 295 SVCXPRT * 302 SVCXPRT * 308 SVCXPRT *
|
| D | svc_simple.c | 73 static void universal(struct svc_req *, SVCXPRT *); 80 SVCXPRT *p_transp; 134 SVCXPRT *svcxprt; in rpc_reg() 252 universal(struct svc_req *rqstp, SVCXPRT *transp) in universal()
|
| /netbsd/src/usr.sbin/rpcbind/ |
| D | rpcbind.h | 90 char *mergeaddr(SVCXPRT *, char *, char *, char *); 100 void *rpcbproc_getstat(void *, struct svc_req *, SVCXPRT *, rpcvers_t); 102 void rpcb_service_3(struct svc_req *, SVCXPRT *); 103 void rpcb_service_4(struct svc_req *, SVCXPRT *); 106 void *rpcbproc_set_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t); 107 void *rpcbproc_unset_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t); 111 void *rpcbproc_getaddr_com(RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t, 113 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *, 116 SVCXPRT *, rpcvers_t); 117 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *, [all …]
|
| D | rpcb_svc_4.c | 54 static void *rpcbproc_getaddr_4_local(void *, struct svc_req *, SVCXPRT *, 56 static void *rpcbproc_getversaddr_4_local(void *, struct svc_req *, SVCXPRT *, 58 static void *rpcbproc_getaddrlist_4_local(void *, struct svc_req *, SVCXPRT *, 61 static void *rpcbproc_dump_4_local(void *, struct svc_req *, SVCXPRT *, 69 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_4() 80 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_4() 262 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getaddr_4_local() 292 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getversaddr_4_local() 321 SVCXPRT *transp, rpcvers_t versnum __unused) in rpcbproc_getaddrlist_4_local() 450 SVCXPRT *xprt __unused, rpcvers_t versnum __unused) in rpcbproc_dump_4_local()
|
| 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()
|
| D | pmap_svc.c | 62 static bool_t pmapproc_change(struct svc_req *, SVCXPRT *, u_long); 63 static bool_t pmapproc_getport(struct svc_req *, SVCXPRT *); 64 static bool_t pmapproc_dump(struct svc_req *, SVCXPRT *); 70 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) in pmap_service() 168 pmapproc_change(struct svc_req *rqstp __unused, SVCXPRT *xprt, unsigned long op) in pmapproc_change() 262 pmapproc_getport(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_getport() 343 pmapproc_dump(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_dump()
|
| D | rpcb_svc_com.c | 82 SVCXPRT *xprt; 110 static SVCXPRT *find_rmtcallxprt_by_fd(int); 120 static void xprt_set_caller(SVCXPRT *, struct finfo *); 121 static void send_svcsyserr(SVCXPRT *, struct finfo *); 122 static void handle_reply(int, SVCXPRT *); 125 static char *getowner(SVCXPRT *, char *, size_t); 134 rpcbproc_set_com(void *arg, struct svc_req *rqstp __unused, SVCXPRT *transp, in rpcbproc_set_com() 222 rpcbproc_unset_com(void *arg, struct svc_req *rqstp __unused, SVCXPRT *transp, in rpcbproc_unset_com() 321 SVCXPRT *transp, rpcvers_t rpcbversnum, rpcvers_t verstype) in rpcbproc_getaddr_com() 364 SVCXPRT *transp __unused, rpcvers_t rpcbversnum __unused) in rpcbproc_gettime_com() [all …]
|
| /netbsd/src/external/bsd/am-utils/dist/include/ |
| D | am_utils.h | 254 extern SVCXPRT *nfsxprt; 298 extern int getcreds(struct svc_req *, uid_t *, gid_t *, SVCXPRT *); 310 extern void nfs_program_2(struct svc_req *rqstp, SVCXPRT *transp); 311 extern void nfs_program_3(struct svc_req *rqstp, SVCXPRT *transp); 319 extern struct sockaddr_in *amu_svc_getcaller(SVCXPRT *xprt); 385 …t create_amq_service(int *udp_soAMQp, SVCXPRT **udp_amqpp, struct netconfig **udp_amqncpp, int *tc… 386 …ervice(int *soNFSp, u_short *nfs_portp, SVCXPRT **nfs_xprtp, void (*dispatch_fxn)(struct svc_req *… 387 extern int amu_svc_register(SVCXPRT *, u_long, u_long, void (*)(struct svc_req *, SVCXPRT *), u_lon… 398 …tofs_service(char *autofs_conftype, void (*autofs_dispatch)(struct svc_req *rqstp, SVCXPRT *xprt));
|
| /netbsd/src/libexec/rpc.rquotad/ |
| D | rquotad.c | 37 static void rquota_service(struct svc_req *request, SVCXPRT *transp); 38 static void ext_rquota_service(struct svc_req *request, SVCXPRT *transp); 39 static void sendquota(struct svc_req *request, int vers, SVCXPRT *transp); 56 SVCXPRT *transp; in main() 116 rquota_service(struct svc_req *request, SVCXPRT *transp) in rquota_service() 137 ext_rquota_service(struct svc_req *request, SVCXPRT *transp) in ext_rquota_service() 211 sendquota(struct svc_req *request, int vers, SVCXPRT *transp) in sendquota()
|
| /netbsd/src/external/bsd/am-utils/dist/conf/transp/ |
| D | transp_sockets.c | 224 amu_svc_getcaller(SVCXPRT *xprt) in amu_svc_getcaller() 236 amu_svc_register(SVCXPRT *xprt, u_long prognum, u_long versnum, in amu_svc_register() 237 void (*dispatch)(struct svc_req *rqstp, SVCXPRT *transp), in amu_svc_register() 249 …ervice(int *soNFSp, u_short *nfs_portp, SVCXPRT **nfs_xprtp, void (*dispatch_fxn)(struct svc_req *… in create_nfs_service() 287 SVCXPRT **udp_amqpp, in create_amq_service() 290 SVCXPRT **tcp_amqpp, in create_amq_service() 498 …ofs_service(char *autofs_conftype, void (*autofs_dispatch)(struct svc_req *rqstp, SVCXPRT *transp)) in register_autofs_service() 501 SVCXPRT *autofs_xprt = NULL; in register_autofs_service()
|
| D | transp_tli.c | 278 amu_svc_getcaller(SVCXPRT *xprt) in amu_svc_getcaller() 297 amu_svc_register(SVCXPRT *xprt, u_long prognum, u_long versnum, in amu_svc_register() 298 void (*dispatch)(struct svc_req *rqstp, SVCXPRT *xprt), in amu_svc_register() 423 …ervice(int *soNFSp, u_short *nfs_portp, SVCXPRT **nfs_xprtp, void (*dispatch_fxn)(struct svc_req *… in create_nfs_service() 542 SVCXPRT **udp_amqpp, in create_amq_service() 545 SVCXPRT **tcp_amqpp, in create_amq_service() 843 void (*autofs_dispatch)(struct svc_req *rqstp, SVCXPRT *xprt)) 847 SVCXPRT *autofs_xprt = NULL;
|
| /netbsd/src/usr.sbin/rpc.lockd/ |
| D | lockd.c | 74 void nlm_prog_0(struct svc_req *, SVCXPRT *); 75 void nlm_prog_1(struct svc_req *, SVCXPRT *); 76 void nlm_prog_3(struct svc_req *, SVCXPRT *); 77 void nlm_prog_4(struct svc_req *, SVCXPRT *); 87 SVCXPRT *transp; in main()
|
| /netbsd/src/external/bsd/am-utils/dist/conf/autofs/ |
| D | autofs_solaris_v1.c | 83 …_1_req(struct mntrequest *mr, struct mntres *result, struct authunix_parms *cred, SVCXPRT *transp); 84 …_req(struct umntrequest *ur, struct umntres *result, struct authunix_parms *cred, SVCXPRT *transp); 186 SVCXPRT *transp) in autofs_mount_1_req() 244 SVCXPRT *transp) in autofs_unmount_1_req() 269 mp->am_transp = (SVCXPRT *) xmalloc(sizeof(SVCXPRT)); in autofs_unmount_1_req() 293 autofs_program_1(struct svc_req *rqstp, SVCXPRT *transp) in autofs_program_1() 597 SVCXPRT *transp = mp->am_transp; in autofs_umount_succeeded() 621 SVCXPRT *transp = mp->am_transp; in autofs_umount_failed() 644 SVCXPRT *transp = mp->am_transp; in autofs_mount_succeeded() 679 SVCXPRT *transp = mp->am_transp; in autofs_mount_failed()
|
| D | autofs_solaris_v2_v3.c | 75 SVCXPRT *autofs_xprt = NULL; 497 SVCXPRT *transp) in autofs_lookup_2_req() 565 SVCXPRT *transp) in autofs_mount_2_req() 693 SVCXPRT *transp) in autofs_unmount_2_req() 730 mp->am_transp = (SVCXPRT *) xmalloc(sizeof(SVCXPRT)); in autofs_unmount_2_req() 760 SVCXPRT *transp) in autofs_postunmount_2_req() 781 SVCXPRT *transp) in autofs_postmount_2_req() 799 SVCXPRT *transp) in autofs_readdir_2_req() 836 autofs_program_2(struct svc_req *rqstp, SVCXPRT *transp) in autofs_program_2() 1166 SVCXPRT *transp = mp->am_transp; in autofs_umount_succeeded() [all …]
|
| /netbsd/src/sys/fs/nfs/nlm/ |
| D | nlm_prot_svc.c | 44 void nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp); 45 void nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp); 46 void nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp); 47 void nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp); 50 nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_0() 98 nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_1() 252 nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_3() 345 nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_4()
|
| /netbsd/src/libexec/rpc.sprayd/ |
| D | sprayd.c | 45 static void spray_service(struct svc_req *, SVCXPRT *); 69 SVCXPRT *transp; in main() 122 spray_service(struct svc_req *rqstp, SVCXPRT *transp) in spray_service()
|
| /netbsd/src/libexec/rpc.rwalld/ |
| D | rwalld.c | 65 static void wallprog_1(struct svc_req *, SVCXPRT *); 78 SVCXPRT *transp; in main() 149 wallprog_1(struct svc_req *rqstp, SVCXPRT *transp) in wallprog_1()
|
| /netbsd/src/usr.sbin/rpc.yppasswdd/ |
| D | rpc.yppasswdd.c | 56 void yppasswddprog_1(struct svc_req *, SVCXPRT *); 62 SVCXPRT *transp; in main() 136 yppasswddprog_1(struct svc_req *rqstp, SVCXPRT *transp) in yppasswddprog_1()
|