Home
last modified time | relevance | path

Searched refs:SVCXPRT (Results 1 – 25 of 80) sorted by relevance

1234

/freebsd/include/rpc/
H A Dsvc.h125 } SVCXPRT; typedef
260 extern void xprt_register(SVCXPRT *);
270 extern void xprt_unregister(SVCXPRT *);
302 extern void svcerr_decode(SVCXPRT *);
303 extern void svcerr_weakauth(SVCXPRT *);
304 extern void svcerr_noproc(SVCXPRT *);
307 extern void svcerr_noprog(SVCXPRT *);
352 extern SVCXPRT *svc_xprt_alloc(void);
353 extern void svc_xprt_free(SVCXPRT *);
393 extern SVCXPRT *svc_tp_create(void (*)(struct svc_req *, SVCXPRT *),
[all …]
H A Dsvc_soc.h67 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/sys/rpc/
H A Dsvc.h207 } SVCXPRT; typedef
260 void (*slc_dispatch)(SVCXPRT *);
562 extern bool_t svc_loss_reg(SVCXPRT *, void (*)(SVCXPRT *));
585 extern void xprt_register(SVCXPRT *);
605 extern void xprt_active(SVCXPRT *);
606 extern void xprt_inactive(SVCXPRT *);
652 extern void svcerr_decode(SVCXPRT *);
654 extern void svcerr_noproc(SVCXPRT *);
657 extern void svcerr_noprog(SVCXPRT *);
768 extern SVCXPRT *svc_tp_create(SVCPOOL *, void (*)(struct svc_req *, SVCXPRT *),
[all …]
H A Dsvc_dg.c63 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 *);
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()
266 svc_dg_destroy(SVCXPRT *xprt) in svc_dg_destroy()
[all …]
H A Dsvc_vc.c204 SVCXPRT *
208 SVCXPRT *xprt; in svc_vc_create()
259 SVCXPRT *
262 SVCXPRT *xprt; in svc_vc_create_conn()
343 SVCXPRT *
346 SVCXPRT *xprt = NULL; in svc_vc_create_backchannel()
414 SVCXPRT *new_xprt; in svc_vc_rendezvous_recv()
535 svc_vc_destroy(SVCXPRT *xprt) in svc_vc_destroy()
598 svc_vc_stat(SVCXPRT *xprt) in svc_vc_stat()
1147 SVCXPRT *xprt = (SVCXPRT *) arg; in svc_vc_soupcall()
[all …]
H A Dsvc_generic.c65 extern int __svc_vc_setflag(SVCXPRT *, int);
79 void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_create() argument
86 SVCXPRT *xprt; in svc_create()
142 SVCXPRT *
145 void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_tp_create() argument
154 SVCXPRT *xprt; in svc_tp_create()
199 SVCXPRT *
208 SVCXPRT *xprt = NULL; /* service handle */ in svc_tli_create()
H A Dsvc.c186 SVCXPRT *xprt, *nxprt; in svcpool_cleanup()
343 xprt_register(SVCXPRT *xprt) in xprt_register()
433 xprt_active(SVCXPRT *xprt) in xprt_active()
474 xprt_inactive(SVCXPRT *xprt) in xprt_inactive()
591 svc_loss_reg(SVCXPRT *xprt, void (*dispatch)(SVCXPRT *)) in svc_loss_reg() argument
885 SVCXPRT *
888 SVCXPRT *xprt; in svc_xprt_alloc()
903 svc_xprt_free(SVCXPRT *xprt) in svc_xprt_free()
1079 SVCXPRT *xprt, *nxprt; in svc_checkidle()
1111 SVCXPRT *xprt; in svc_assign_waiting_sockets()
[all …]
/freebsd/usr.sbin/rpcbind/
H A Drpcbind.h91 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 *);
114 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *,
117 SVCXPRT *, rpcvers_t);
118 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *,
121 void rpcbproc_callit_com(struct svc_req *, SVCXPRT *, rpcvers_t,
129 int check_access(SVCXPRT *, rpcproc_t, void *, unsigned int);
130 int check_callit(SVCXPRT *, struct r_rmtcall_args *, int);
[all …]
H A Drpcb_svc_4.c53 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 Drpcb_svc.c55 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 Dpmap_svc.c56 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 Drpcb_svc_com.c72 SVCXPRT *xprt;
100 static SVCXPRT *find_rmtcallxprt_by_fd(int);
111 static void send_svcsyserr(SVCXPRT *, struct finfo *);
112 static void handle_reply(int, SVCXPRT *);
115 static char *getowner(SVCXPRT *, char *, size_t);
487 SVCXPRT *xprt; in create_rmtcall_fd()
540 static SVCXPRT *
1178 SVCXPRT *xprt; in check_rmtcalls()
1206 xprt_set_caller(SVCXPRT *xprt, struct finfo *fi) in xprt_set_caller()
1219 send_svcsyserr(SVCXPRT *xprt, struct finfo *fi) in send_svcsyserr()
[all …]
/freebsd/lib/libc/rpc/
H A Dsvc_raw.c62 SVCXPRT *server;
67 static enum xprt_stat svc_raw_stat(SVCXPRT *);
68 static bool_t svc_raw_recv(SVCXPRT *, struct rpc_msg *);
72 static void svc_raw_destroy(SVCXPRT *);
73 static void svc_raw_ops(SVCXPRT *);
78 SVCXPRT *
122 svc_raw_stat(SVCXPRT *xprt) in svc_raw_stat()
129 svc_raw_recv(SVCXPRT *xprt, struct rpc_msg *msg) in svc_raw_recv()
153 svc_raw_reply(SVCXPRT *xprt, struct rpc_msg *msg) in svc_raw_reply()
231 svc_raw_destroy(SVCXPRT *xprt) in svc_raw_destroy()
[all …]
H A Dsvc.c82 SVCXPRT **__svc_xports;
95 xprt_register(SVCXPRT *xprt) in xprt_register()
105 __svc_xports = (SVCXPRT **) in xprt_register()
123 xprt_unregister(SVCXPRT *xprt) in xprt_unregister()
375 svcerr_noproc(SVCXPRT *xprt) in svcerr_noproc()
392 svcerr_decode(SVCXPRT *xprt) in svcerr_decode()
444 svc_versquiet(SVCXPRT *xprt)
490 svcerr_noprog(SVCXPRT *xprt) in svcerr_noprog()
528 SVCXPRT *
531 SVCXPRT *xprt; in svc_xprt_alloc()
[all …]
H A Dsvc_vc.c119 SVCXPRT *
122 SVCXPRT *xprt = NULL; in svc_vc_create()
179 SVCXPRT *
184 SVCXPRT *ret; in svc_fd_create()
233 static SVCXPRT *
236 SVCXPRT *xprt; in makefd_xprt()
281 SVCXPRT *newxprt; in rendezvous_request()
448 SVCXPRT *xprt; in read_vc()
454 xprt = (SVCXPRT *)xprtp; in read_vc()
508 SVCXPRT *xprt; in write_vc()
[all …]
H A Dsvc_generic.c60 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 Dsvc_dg.c72 static void svc_dg_ops(SVCXPRT *);
73 static enum xprt_stat svc_dg_stat(SVCXPRT *);
78 static void svc_dg_destroy(SVCXPRT *);
81 static void cache_set(SVCXPRT *, size_t);
82 int svc_dg_enablecache(SVCXPRT *, u_int);
100 SVCXPRT *
103 SVCXPRT *xprt; in svc_dg_create()
184 svc_dg_stat(SVCXPRT *xprt) in svc_dg_stat()
389 svc_dg_destroy(SVCXPRT *xprt) in svc_dg_destroy()
417 svc_dg_ops(SVCXPRT *xprt) in svc_dg_ops()
[all …]
H A Drpc_soc.c197 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()
472 xprt = (SVCXPRT *)NULL; in svcunix_create()
[all …]
H A Dsvc_simple.c62 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 Drquotad.c33 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 Dnlm_prot_svc.c40 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 Dsprayd.c40 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 Dyppasswdd_extern.h52 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 Dyp_svc_udp.c49 svcudp_get_xid(SVCXPRT *xprt) in svcudp_get_xid()
60 svcudp_set_xid(SVCXPRT *xprt, unsigned long xid) in svcudp_set_xid()
/freebsd/libexec/rpc.rwalld/
H A Drwalld.c54 void wallprog_1(struct svc_req *rqstp, SVCXPRT *transp);
65 SVCXPRT *transp; in main()
163 wallprog_1(struct svc_req *rqstp, SVCXPRT *transp) in wallprog_1()

1234