Home
last modified time | relevance | path

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

1234

/freebsd-12.1/include/rpc/
H A Dsvc.h129 } 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.h69 extern bool_t svc_register(SVCXPRT *, u_long, u_long,
70 void (*)(struct svc_req *, SVCXPRT *), int);
89 extern SVCXPRT *svcraw_create(void);
97 extern SVCXPRT *svcudp_create(int);
98 extern SVCXPRT *svcudp_bufcreate(int, u_int, u_int);
99 extern int svcudp_enablecache(SVCXPRT *, u_long);
107 extern SVCXPRT *svctcp_create(int, u_int, u_int);
114 extern SVCXPRT *svcfd_create(int, u_int, u_int);
/freebsd-12.1/sys/rpc/
H A Dsvc.h196 } SVCXPRT; typedef
249 void (*slc_dispatch)(SVCXPRT *);
551 extern bool_t svc_loss_reg(SVCXPRT *, void (*)(SVCXPRT *));
574 extern void xprt_register(SVCXPRT *);
594 extern void xprt_active(SVCXPRT *);
595 extern void xprt_inactive(SVCXPRT *);
641 extern void svcerr_decode(SVCXPRT *);
643 extern void svcerr_noproc(SVCXPRT *);
646 extern void svcerr_noprog(SVCXPRT *);
757 extern SVCXPRT *svc_tp_create(SVCPOOL *, void (*)(struct svc_req *, SVCXPRT *),
[all …]
H A Dsvc_vc.c146 SVCXPRT *
150 SVCXPRT *xprt; in svc_vc_create()
207 SVCXPRT *
210 SVCXPRT *xprt; in svc_vc_create_conn()
296 SVCXPRT *
299 SVCXPRT *xprt = NULL; in svc_vc_create_backchannel()
369 SVCXPRT *new_xprt; in svc_vc_rendezvous_recv()
474 svc_vc_destroy(SVCXPRT *xprt) in svc_vc_destroy()
532 svc_vc_stat(SVCXPRT *xprt) in svc_vc_stat()
956 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 *,
72 static void svc_dg_destroy(SVCXPRT *);
98 SVCXPRT *
102 SVCXPRT *xprt; in svc_dg_create()
154 svc_dg_stat(SVCXPRT *xprt) in svc_dg_stat()
164 svc_dg_recv(SVCXPRT *xprt, struct rpc_msg *msg, in svc_dg_recv()
233 svc_dg_reply(SVCXPRT *xprt, struct rpc_msg *msg, in svc_dg_reply()
273 svc_dg_destroy(SVCXPRT *xprt) in svc_dg_destroy()
292 SVCXPRT *xprt; in svc_dg_control()
[all …]
H A Dsvc_generic.c72 extern int __svc_vc_setflag(SVCXPRT *, int);
86 void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_create() argument
93 SVCXPRT *xprt; in svc_create()
149 SVCXPRT *
152 void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_tp_create() argument
161 SVCXPRT *xprt; in svc_tp_create()
206 SVCXPRT *
215 SVCXPRT *xprt = NULL; /* service handle */ in svc_tli_create()
H A Dsvc.c188 SVCXPRT *xprt, *nxprt; in svcpool_cleanup()
343 xprt_register(SVCXPRT *xprt) in xprt_register()
431 xprt_active(SVCXPRT *xprt) in xprt_active()
472 xprt_inactive(SVCXPRT *xprt) in xprt_inactive()
589 svc_loss_reg(SVCXPRT *xprt, void (*dispatch)(SVCXPRT *)) in svc_loss_reg() argument
883 SVCXPRT *
886 SVCXPRT *xprt; in svc_xprt_alloc()
901 svc_xprt_free(SVCXPRT *xprt) in svc_xprt_free()
1057 SVCXPRT *xprt, *nxprt; in svc_checkidle()
1088 SVCXPRT *xprt; in svc_assign_waiting_sockets()
[all …]
/freebsd-12.1/usr.sbin/rpcbind/
H A Drpcbind.h94 char *mergeaddr(SVCXPRT *, char *, char *, char *);
104 void *rpcbproc_getstat(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
106 void rpcb_service_3(struct svc_req *, SVCXPRT *);
107 void rpcb_service_4(struct svc_req *, SVCXPRT *);
117 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *,
120 SVCXPRT *, rpcvers_t);
121 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *,
124 void rpcbproc_callit_com(struct svc_req *, SVCXPRT *, rpcvers_t,
132 int check_access(SVCXPRT *, rpcproc_t, void *, unsigned int);
133 int check_callit(SVCXPRT *, struct r_rmtcall_args *, int);
[all …]
H A Drpcb_svc_4.c56 static void *rpcbproc_getaddr_4_local(void *, struct svc_req *, SVCXPRT *,
58 static void *rpcbproc_getversaddr_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
60 (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
62 static void *rpcbproc_dump_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
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()
263 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getaddr_4_local()
293 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getversaddr_4_local()
322 SVCXPRT *transp, rpcvers_t versnum __unused) in rpcbproc_getaddrlist_4_local()
451 SVCXPRT *xprt __unused, rpcvers_t versnum __unused) in rpcbproc_dump_4_local()
H A Drpcb_svc.c58 static void *rpcbproc_getaddr_3_local(void *, struct svc_req *, SVCXPRT *,
60 static void *rpcbproc_dump_3_local(void *, struct svc_req *, SVCXPRT *,
68 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_3()
80 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_3()
210 SVCXPRT *transp __unused, rpcvers_t versnum __unused) in rpcbproc_getaddr_3_local()
232 SVCXPRT *transp __unused, rpcvers_t versnum __unused) in rpcbproc_dump_3_local()
H A Dpmap_svc.c65 static bool_t pmapproc_change(struct svc_req *, SVCXPRT *, u_long);
66 static bool_t pmapproc_getport(struct svc_req *, SVCXPRT *);
67 static bool_t pmapproc_dump(struct svc_req *, SVCXPRT *);
73 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) in pmap_service()
171 pmapproc_change(struct svc_req *rqstp __unused, SVCXPRT *xprt, unsigned long op) in pmapproc_change()
265 pmapproc_getport(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_getport()
346 pmapproc_dump(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_dump()
H A Drpcb_svc_com.c75 SVCXPRT *xprt;
103 static SVCXPRT *find_rmtcallxprt_by_fd(int);
114 static void send_svcsyserr(SVCXPRT *, struct finfo *);
115 static void handle_reply(int, SVCXPRT *);
118 static char *getowner(SVCXPRT *, char *, size_t);
490 SVCXPRT *xprt; in create_rmtcall_fd()
543 static SVCXPRT *
1181 SVCXPRT *xprt; in check_rmtcalls()
1209 xprt_set_caller(SVCXPRT *xprt, struct finfo *fi) in xprt_set_caller()
1222 send_svcsyserr(SVCXPRT *xprt, struct finfo *fi) in send_svcsyserr()
[all …]
/freebsd-12.1/lib/libc/rpc/
H A Dsvc_raw.c70 SVCXPRT *server;
75 static enum xprt_stat svc_raw_stat(SVCXPRT *);
76 static bool_t svc_raw_recv(SVCXPRT *, struct rpc_msg *);
80 static void svc_raw_destroy(SVCXPRT *);
81 static void svc_raw_ops(SVCXPRT *);
86 SVCXPRT *
130 svc_raw_stat(SVCXPRT *xprt) in svc_raw_stat()
137 svc_raw_recv(SVCXPRT *xprt, struct rpc_msg *msg) in svc_raw_recv()
161 svc_raw_reply(SVCXPRT *xprt, struct rpc_msg *msg) in svc_raw_reply()
239 svc_raw_destroy(SVCXPRT *xprt) in svc_raw_destroy()
[all …]
H A Dsvc.c89 SVCXPRT **__svc_xports;
102 xprt_register(SVCXPRT *xprt) in xprt_register()
112 __svc_xports = (SVCXPRT **) in xprt_register()
130 xprt_unregister(SVCXPRT *xprt) in xprt_unregister()
382 svcerr_noproc(SVCXPRT *xprt) in svcerr_noproc()
399 svcerr_decode(SVCXPRT *xprt) in svcerr_decode()
451 svc_versquiet(SVCXPRT *xprt)
497 svcerr_noprog(SVCXPRT *xprt) in svcerr_noprog()
535 SVCXPRT *
538 SVCXPRT *xprt; in svc_xprt_alloc()
[all …]
H A Dsvc_vc.c126 SVCXPRT *
129 SVCXPRT *xprt = NULL; in svc_vc_create()
186 SVCXPRT *
191 SVCXPRT *ret; in svc_fd_create()
240 static SVCXPRT *
243 SVCXPRT *xprt; in makefd_xprt()
288 SVCXPRT *newxprt; in rendezvous_request()
455 SVCXPRT *xprt; in read_vc()
461 xprt = (SVCXPRT *)xprtp; in read_vc()
515 SVCXPRT *xprt; in write_vc()
[all …]
H A Dsvc_generic.c67 extern int __svc_vc_setflag(SVCXPRT *, int);
83 svc_create(void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_create() argument
87 SVCXPRT *xprt; /* Server handle */ in svc_create()
92 SVCXPRT *xprt; in svc_create()
156 SVCXPRT *
157 svc_tp_create(void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_tp_create() argument
160 SVCXPRT *xprt; in svc_tp_create()
200 SVCXPRT *
204 SVCXPRT *xprt = NULL; /* service handle */ in svc_tli_create()
H A Dsvc_dg.c78 static void svc_dg_ops(SVCXPRT *);
79 static enum xprt_stat svc_dg_stat(SVCXPRT *);
84 static void svc_dg_destroy(SVCXPRT *);
87 static void cache_set(SVCXPRT *, size_t);
88 int svc_dg_enablecache(SVCXPRT *, u_int);
106 SVCXPRT *
109 SVCXPRT *xprt; in svc_dg_create()
190 svc_dg_stat(SVCXPRT *xprt) in svc_dg_stat()
395 svc_dg_destroy(SVCXPRT *xprt) in svc_dg_destroy()
423 svc_dg_ops(SVCXPRT *xprt) in svc_dg_ops()
[all …]
H A Drpc_soc.c205 static SVCXPRT *
209 SVCXPRT *svc; in svc_com_create()
245 SVCXPRT *
252 SVCXPRT *
259 SVCXPRT *
267 SVCXPRT *
274 SVCXPRT *
469 SVCXPRT *
477 SVCXPRT *xprt; in svcunix_create()
480 xprt = (SVCXPRT *)NULL; in svcunix_create()
[all …]
/freebsd-12.1/libexec/rpc.rquotad/
H A Drquotad.c36 static void rquota_service_1(struct svc_req *request, SVCXPRT *transp);
37 static void rquota_service_2(struct svc_req *request, SVCXPRT *transp);
38 static void sendquota(struct svc_req *request, SVCXPRT *transp);
39 static void sendquota_extended(struct svc_req *request, SVCXPRT *transp);
57 SVCXPRT *transp; in main()
129 rquota_service_2(struct svc_req *request, SVCXPRT *transp) in rquota_service_2()
149 rquota_service_1(struct svc_req *request, SVCXPRT *transp) in rquota_service_1()
170 sendquota(struct svc_req *request, SVCXPRT *transp) in sendquota()
222 sendquota_extended(struct svc_req *request, SVCXPRT *transp) in sendquota_extended()
/freebsd-12.1/contrib/amd/include/
H A Dam_utils.h248 extern SVCXPRT *nfsxprt;
292 extern int getcreds(struct svc_req *, uid_t *, gid_t *, SVCXPRT *);
304 extern void nfs_program_2(struct svc_req *rqstp, SVCXPRT *transp);
305 extern void nfs_program_3(struct svc_req *rqstp, SVCXPRT *transp);
313 extern struct sockaddr_in *amu_svc_getcaller(SVCXPRT *xprt);
379 …t create_amq_service(int *udp_soAMQp, SVCXPRT **udp_amqpp, struct netconfig **udp_amqncpp, int *tc…
380 …ervice(int *soNFSp, u_short *nfs_portp, SVCXPRT **nfs_xprtp, void (*dispatch_fxn)(struct svc_req *…
381 extern int amu_svc_register(SVCXPRT *, u_long, u_long, void (*)(struct svc_req *, SVCXPRT *), u_lon…
392 …tofs_service(char *autofs_conftype, void (*autofs_dispatch)(struct svc_req *rqstp, SVCXPRT *xprt));
/freebsd-12.1/contrib/amd/conf/transp/
H A Dtransp_sockets.c222 amu_svc_getcaller(SVCXPRT *xprt) in amu_svc_getcaller()
234 amu_svc_register(SVCXPRT *xprt, u_long prognum, u_long versnum, in amu_svc_register()
235 void (*dispatch)(struct svc_req *rqstp, SVCXPRT *transp), in amu_svc_register()
247 …ervice(int *soNFSp, u_short *nfs_portp, SVCXPRT **nfs_xprtp, void (*dispatch_fxn)(struct svc_req *… in create_nfs_service()
285 SVCXPRT **udp_amqpp, in create_amq_service()
288 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()
/freebsd-12.1/sys/nlm/
H A Dnlm_prot_svc.c44 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()
/freebsd-12.1/libexec/rpc.sprayd/
H A Dsprayd.c45 static void spray_service(struct svc_req *, SVCXPRT *);
77 SVCXPRT *transp; in main()
130 spray_service(struct svc_req *rqstp, SVCXPRT *transp) in spray_service()
/freebsd-12.1/libexec/rpc.rwalld/
H A Drwalld.c56 void wallprog_1(struct svc_req *rqstp, SVCXPRT *transp);
67 SVCXPRT *transp; in main()
165 wallprog_1(struct svc_req *rqstp, SVCXPRT *transp) in wallprog_1()
/freebsd-12.1/usr.sbin/rpc.yppasswdd/
H A Dyppasswdd_extern.h54 extern void yppasswdprog_1(struct svc_req *, register SVCXPRT *);
55 extern void master_yppasswdprog_1(struct svc_req *, register SVCXPRT *);

1234