Home
last modified time | relevance | path

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

1234

/freebsd-14.2/include/rpc/
H A Dsvc.h128 } SVCXPRT; typedef
263 extern void xprt_register(SVCXPRT *);
273 extern void xprt_unregister(SVCXPRT *);
305 extern void svcerr_decode(SVCXPRT *);
306 extern void svcerr_weakauth(SVCXPRT *);
307 extern void svcerr_noproc(SVCXPRT *);
310 extern void svcerr_noprog(SVCXPRT *);
355 extern SVCXPRT *svc_xprt_alloc(void);
356 extern void svc_xprt_free(SVCXPRT *);
396 extern SVCXPRT *svc_tp_create(void (*)(struct svc_req *, SVCXPRT *),
[all …]
H A Dsvc_soc.h68 extern bool_t svc_register(SVCXPRT *, u_long, u_long,
69 void (*)(struct svc_req *, SVCXPRT *), int);
88 extern SVCXPRT *svcraw_create(void);
96 extern SVCXPRT *svcudp_create(int);
97 extern SVCXPRT *svcudp_bufcreate(int, u_int, u_int);
98 extern int svcudp_enablecache(SVCXPRT *, u_long);
106 extern SVCXPRT *svctcp_create(int, u_int, u_int);
113 extern SVCXPRT *svcfd_create(int, u_int, u_int);
/freebsd-14.2/sys/rpc/
H A Dsvc.h210 } SVCXPRT; typedef
263 void (*slc_dispatch)(SVCXPRT *);
565 extern bool_t svc_loss_reg(SVCXPRT *, void (*)(SVCXPRT *));
588 extern void xprt_register(SVCXPRT *);
608 extern void xprt_active(SVCXPRT *);
609 extern void xprt_inactive(SVCXPRT *);
655 extern void svcerr_decode(SVCXPRT *);
657 extern void svcerr_noproc(SVCXPRT *);
660 extern void svcerr_noprog(SVCXPRT *);
771 extern SVCXPRT *svc_tp_create(SVCPOOL *, void (*)(struct svc_req *, SVCXPRT *),
[all …]
H A Dsvc_vc.c208 SVCXPRT *
212 SVCXPRT *xprt; in svc_vc_create()
269 SVCXPRT *
272 SVCXPRT *xprt; in svc_vc_create_conn()
358 SVCXPRT *
361 SVCXPRT *xprt = NULL; in svc_vc_create_backchannel()
429 SVCXPRT *new_xprt; in svc_vc_rendezvous_recv()
554 svc_vc_destroy(SVCXPRT *xprt) in svc_vc_destroy()
617 svc_vc_stat(SVCXPRT *xprt) in svc_vc_stat()
1166 SVCXPRT *xprt = (SVCXPRT *) arg; in svc_vc_soupcall()
[all …]
H A Dsvc_dg.c67 static enum xprt_stat svc_dg_stat(SVCXPRT *);
68 static bool_t svc_dg_recv(SVCXPRT *, struct rpc_msg *,
70 static bool_t svc_dg_reply(SVCXPRT *, struct rpc_msg *,
72 static void svc_dg_destroy(SVCXPRT *);
98 SVCXPRT *
102 SVCXPRT *xprt; in svc_dg_create()
156 svc_dg_stat(SVCXPRT *xprt) in svc_dg_stat()
166 svc_dg_recv(SVCXPRT *xprt, struct rpc_msg *msg, in svc_dg_recv()
235 svc_dg_reply(SVCXPRT *xprt, struct rpc_msg *msg, in svc_dg_reply()
275 svc_dg_destroy(SVCXPRT *xprt) in svc_dg_destroy()
[all …]
H A Dsvc_generic.c70 extern int __svc_vc_setflag(SVCXPRT *, int);
84 void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_create() argument
91 SVCXPRT *xprt; in svc_create()
147 SVCXPRT *
150 void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_tp_create() argument
159 SVCXPRT *xprt; in svc_tp_create()
204 SVCXPRT *
213 SVCXPRT *xprt = NULL; /* service handle */ in svc_tli_create()
H A Dsvc.c190 SVCXPRT *xprt, *nxprt; in svcpool_cleanup()
347 xprt_register(SVCXPRT *xprt) in xprt_register()
437 xprt_active(SVCXPRT *xprt) in xprt_active()
478 xprt_inactive(SVCXPRT *xprt) in xprt_inactive()
595 svc_loss_reg(SVCXPRT *xprt, void (*dispatch)(SVCXPRT *)) in svc_loss_reg() argument
889 SVCXPRT *
892 SVCXPRT *xprt; in svc_xprt_alloc()
907 svc_xprt_free(SVCXPRT *xprt) in svc_xprt_free()
1083 SVCXPRT *xprt, *nxprt; in svc_checkidle()
1115 SVCXPRT *xprt; in svc_assign_waiting_sockets()
[all …]
/freebsd-14.2/usr.sbin/rpcbind/
H A Drpcbind.h93 char *mergeaddr(SVCXPRT *, char *, char *, char *);
103 void *rpcbproc_getstat(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
105 void rpcb_service_3(struct svc_req *, SVCXPRT *);
106 void rpcb_service_4(struct svc_req *, SVCXPRT *);
116 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *,
119 SVCXPRT *, rpcvers_t);
120 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *,
123 void rpcbproc_callit_com(struct svc_req *, SVCXPRT *, rpcvers_t,
131 int check_access(SVCXPRT *, rpcproc_t, void *, unsigned int);
132 int check_callit(SVCXPRT *, struct r_rmtcall_args *, int);
[all …]
H A Drpcb_svc_4.c55 static void *rpcbproc_getaddr_4_local(void *, struct svc_req *, SVCXPRT *,
57 static void *rpcbproc_getversaddr_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
59 (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
61 static void *rpcbproc_dump_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
68 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_4()
79 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_4()
261 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getaddr_4_local()
291 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getversaddr_4_local()
320 SVCXPRT *transp, rpcvers_t versnum __unused) in rpcbproc_getaddrlist_4_local()
449 SVCXPRT *xprt __unused, rpcvers_t versnum __unused) in rpcbproc_dump_4_local()
H A Drpcb_svc.c57 static void *rpcbproc_getaddr_3_local(void *, struct svc_req *, SVCXPRT *,
59 static void *rpcbproc_dump_3_local(void *, struct svc_req *, SVCXPRT *,
67 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_3()
79 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_3()
209 SVCXPRT *transp __unused, rpcvers_t versnum __unused) in rpcbproc_getaddr_3_local()
231 SVCXPRT *transp __unused, rpcvers_t versnum __unused) in rpcbproc_dump_3_local()
H A Dpmap_svc.c64 static bool_t pmapproc_change(struct svc_req *, SVCXPRT *, u_long);
65 static bool_t pmapproc_getport(struct svc_req *, SVCXPRT *);
66 static bool_t pmapproc_dump(struct svc_req *, SVCXPRT *);
72 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) in pmap_service()
170 pmapproc_change(struct svc_req *rqstp __unused, SVCXPRT *xprt, unsigned long op) in pmapproc_change()
264 pmapproc_getport(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_getport()
345 pmapproc_dump(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_dump()
H A Drpcb_svc_com.c74 SVCXPRT *xprt;
102 static SVCXPRT *find_rmtcallxprt_by_fd(int);
113 static void send_svcsyserr(SVCXPRT *, struct finfo *);
114 static void handle_reply(int, SVCXPRT *);
117 static char *getowner(SVCXPRT *, char *, size_t);
489 SVCXPRT *xprt; in create_rmtcall_fd()
542 static SVCXPRT *
1180 SVCXPRT *xprt; in check_rmtcalls()
1208 xprt_set_caller(SVCXPRT *xprt, struct finfo *fi) in xprt_set_caller()
1221 send_svcsyserr(SVCXPRT *xprt, struct finfo *fi) in send_svcsyserr()
[all …]
/freebsd-14.2/lib/libc/rpc/
H A Dsvc_raw.c67 SVCXPRT *server;
72 static enum xprt_stat svc_raw_stat(SVCXPRT *);
73 static bool_t svc_raw_recv(SVCXPRT *, struct rpc_msg *);
77 static void svc_raw_destroy(SVCXPRT *);
78 static void svc_raw_ops(SVCXPRT *);
83 SVCXPRT *
127 svc_raw_stat(SVCXPRT *xprt) in svc_raw_stat()
134 svc_raw_recv(SVCXPRT *xprt, struct rpc_msg *msg) in svc_raw_recv()
158 svc_raw_reply(SVCXPRT *xprt, struct rpc_msg *msg) in svc_raw_reply()
236 svc_raw_destroy(SVCXPRT *xprt) in svc_raw_destroy()
[all …]
H A Dsvc.c86 SVCXPRT **__svc_xports;
99 xprt_register(SVCXPRT *xprt) in xprt_register()
109 __svc_xports = (SVCXPRT **) in xprt_register()
127 xprt_unregister(SVCXPRT *xprt) in xprt_unregister()
379 svcerr_noproc(SVCXPRT *xprt) in svcerr_noproc()
396 svcerr_decode(SVCXPRT *xprt) in svcerr_decode()
448 svc_versquiet(SVCXPRT *xprt)
494 svcerr_noprog(SVCXPRT *xprt) in svcerr_noprog()
532 SVCXPRT *
535 SVCXPRT *xprt; in svc_xprt_alloc()
[all …]
H A Dsvc_vc.c123 SVCXPRT *
126 SVCXPRT *xprt = NULL; in svc_vc_create()
183 SVCXPRT *
188 SVCXPRT *ret; in svc_fd_create()
237 static SVCXPRT *
240 SVCXPRT *xprt; in makefd_xprt()
285 SVCXPRT *newxprt; in rendezvous_request()
452 SVCXPRT *xprt; in read_vc()
458 xprt = (SVCXPRT *)xprtp; in read_vc()
512 SVCXPRT *xprt; in write_vc()
[all …]
H A Dsvc_generic.c64 extern int __svc_vc_setflag(SVCXPRT *, int);
80 svc_create(void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_create() argument
84 SVCXPRT *xprt; /* Server handle */ in svc_create()
89 SVCXPRT *xprt; in svc_create()
153 SVCXPRT *
154 svc_tp_create(void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_tp_create() argument
157 SVCXPRT *xprt; in svc_tp_create()
197 SVCXPRT *
201 SVCXPRT *xprt = NULL; /* service handle */ in svc_tli_create()
H A Dsvc_dg.c75 static void svc_dg_ops(SVCXPRT *);
76 static enum xprt_stat svc_dg_stat(SVCXPRT *);
81 static void svc_dg_destroy(SVCXPRT *);
84 static void cache_set(SVCXPRT *, size_t);
85 int svc_dg_enablecache(SVCXPRT *, u_int);
103 SVCXPRT *
106 SVCXPRT *xprt; in svc_dg_create()
187 svc_dg_stat(SVCXPRT *xprt) in svc_dg_stat()
392 svc_dg_destroy(SVCXPRT *xprt) in svc_dg_destroy()
420 svc_dg_ops(SVCXPRT *xprt) in svc_dg_ops()
[all …]
H A Drpc_soc.c202 static SVCXPRT *
206 SVCXPRT *svc; in svc_com_create()
242 SVCXPRT *
249 SVCXPRT *
256 SVCXPRT *
264 SVCXPRT *
271 SVCXPRT *
466 SVCXPRT *
474 SVCXPRT *xprt; in svcunix_create()
477 xprt = (SVCXPRT *)NULL; in svcunix_create()
[all …]
H A Dsvc_simple.c63 static void universal(struct svc_req *, SVCXPRT *);
70 SVCXPRT *p_transp;
128 SVCXPRT *svcxprt; in rpc_reg()
244 universal(struct svc_req *rqstp, SVCXPRT *transp) in universal()
/freebsd-14.2/libexec/rpc.rquotad/
H A Drquotad.c34 static void rquota_service_1(struct svc_req *request, SVCXPRT *transp);
35 static void rquota_service_2(struct svc_req *request, SVCXPRT *transp);
36 static void sendquota(struct svc_req *request, SVCXPRT *transp);
37 static void sendquota_extended(struct svc_req *request, SVCXPRT *transp);
55 SVCXPRT *transp; in main()
127 rquota_service_2(struct svc_req *request, SVCXPRT *transp) in rquota_service_2()
147 rquota_service_1(struct svc_req *request, SVCXPRT *transp) in rquota_service_1()
168 sendquota(struct svc_req *request, SVCXPRT *transp) in sendquota()
220 sendquota_extended(struct svc_req *request, SVCXPRT *transp) in sendquota_extended()
/freebsd-14.2/sys/nlm/
H A Dnlm_prot_svc.c42 void nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp);
43 void nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
44 void nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp);
45 void nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp);
48 nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_0()
96 nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_1()
250 nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_3()
343 nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_4()
/freebsd-14.2/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-14.2/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-14.2/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-14.2/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