Home
last modified time | relevance | path

Searched refs:svc_req (Results 1 – 25 of 82) sorted by relevance

1234

/freebsd-13.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);
50 nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_0()
58 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_0()
98 nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_1()
126 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_1()
252 nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_3()
267 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_3()
345 nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_4()
[all …]
H A Dnlm_prot.h319 extern bool_t nlm_test_res_1_svc(nlm_testres *, void *, struct svc_req *);
322 extern bool_t nlm_lock_res_1_svc(nlm_res *, void *, struct svc_req *);
325 extern bool_t nlm_cancel_res_1_svc(nlm_res *, void *, struct svc_req *);
328 extern bool_t nlm_unlock_res_1_svc(nlm_res *, void *, struct svc_req *);
331 extern bool_t nlm_granted_res_1_svc(nlm_res *, void *, struct svc_req *);
346 extern bool_t nlm_free_all_3_svc(nlm_notify *, void *, struct svc_req *);
385 extern bool_t nlm4_lock_res_4_svc(nlm4_res *, void *, struct svc_req *);
388 extern bool_t nlm4_cancel_res_4_svc(nlm4_res *, void *, struct svc_req *);
391 extern bool_t nlm4_unlock_res_4_svc(nlm4_res *, void *, struct svc_req *);
394 extern bool_t nlm4_granted_res_4_svc(nlm4_res *, void *, struct svc_req *);
[all …]
H A Dnlm_prot_server.c375 nlm_test_res_1_svc(nlm_testres *argp, void *result, struct svc_req *rqstp) in nlm_test_res_1_svc()
389 nlm_lock_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_lock_res_1_svc()
398 nlm_cancel_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_cancel_res_1_svc()
407 nlm_unlock_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_unlock_res_1_svc()
416 nlm_granted_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_granted_res_1_svc()
496 nlm_free_all_3_svc(nlm_notify *argp, void *result, struct svc_req *rqstp) in nlm_free_all_3_svc()
652 nlm4_lock_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_lock_res_4_svc()
659 nlm4_cancel_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_cancel_res_4_svc()
666 nlm4_unlock_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_unlock_res_4_svc()
673 nlm4_granted_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_granted_res_4_svc()
[all …]
H A Dsm_inter.h76 extern void sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
79 extern struct sm_stat_res * sm_stat_1_svc(struct sm_name *, struct svc_req *);
82 extern struct sm_stat_res * sm_mon_1_svc(struct mon *, struct svc_req *);
85 extern struct sm_stat * sm_unmon_1_svc(struct mon_id *, struct svc_req *);
88 extern struct sm_stat * sm_unmon_all_1_svc(struct my_id *, struct svc_req *);
91 extern void * sm_simu_crash_1_svc(void *, struct svc_req *);
94 extern void * sm_notify_1_svc(struct stat_chge *, struct svc_req *);
H A Dnlm.h161 struct svc_req *rqstp, CLIENT **rpcp);
171 struct svc_req *rqstp, bool_t monitor, CLIENT **rpcp);
181 struct svc_req *rqstp, CLIENT **rpcp);
191 struct svc_req *rqstp, CLIENT **rpcp);
201 struct svc_req *rqstp, CLIENT **rpcp);
207 extern void nlm_do_granted_res(nlm4_res *argp, struct svc_req *rqstp);
/freebsd-13.1/usr.sbin/ypserv/
H A Dyp_server.c76 ypproc_null_2_svc(void *argp, struct svc_req *rqstp) in ypproc_null_2_svc()
82 if (yp_access(NULL, NULL, (struct svc_req *)rqstp)) in ypproc_null_2_svc()
84 if (yp_access(NULL, (struct svc_req *)rqstp)) in ypproc_null_2_svc()
99 if (yp_access(NULL, NULL, (struct svc_req *)rqstp)) {
101 if (yp_access(NULL, (struct svc_req *)rqstp)) {
121 if (yp_access(NULL, NULL, (struct svc_req *)rqstp))
123 if (yp_access(NULL, (struct svc_req *)rqstp))
146 if (yp_access(argp->map, (struct svc_req *)rqstp)) {
217 if (yp_access(argp->map, (struct svc_req *)rqstp)) {
435 if (yp_access(NULL, (struct svc_req *)rqstp))
[all …]
H A Dyp_extern.h87 extern int yp_access(const char *, const char *, const struct svc_req *);
89 extern int yp_access(const char *, const struct svc_req *);
116 extern ypstat yp_async_lookup_name(struct svc_req *, char *, int);
117 extern ypstat yp_async_lookup_addr(struct svc_req *, char *, int);
/freebsd-13.1/sys/rpc/
H A Drpcb_prot.h497 extern void rpcbprog_3(struct svc_req *rqstp, SVCXPRT *transp);
500 extern bool_t * rpcbproc_set_3_svc(RPCB *, struct svc_req *);
503 extern bool_t * rpcbproc_unset_3_svc(RPCB *, struct svc_req *);
506 extern char ** rpcbproc_getaddr_3_svc(RPCB *, struct svc_req *);
509 extern rpcblist_ptr * rpcbproc_dump_3_svc(void *, struct svc_req *);
515 extern u_int * rpcbproc_gettime_3_svc(void *, struct svc_req *);
525 extern void rpcbprog_4(struct svc_req *rqstp, SVCXPRT *transp);
527 extern bool_t * rpcbproc_set_4_svc(RPCB *, struct svc_req *);
529 extern bool_t * rpcbproc_unset_4_svc(RPCB *, struct svc_req *);
531 extern char ** rpcbproc_getaddr_4_svc(RPCB *, struct svc_req *);
[all …]
H A Dsvc.h251 void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
269 struct svc_req { struct
290 STAILQ_HEAD(svc_reqlist, svc_req); argument
409 struct svc_req { struct
534 void (*)(struct svc_req *, SVCXPRT *),
645 extern void svcerr_decode(struct svc_req *);
646 extern void svcerr_weakauth(struct svc_req *);
647 extern void svcerr_noproc(struct svc_req *);
650 extern void svcerr_noprog(struct svc_req *);
651 extern void svcerr_systemerr(struct svc_req *);
[all …]
H A Dsvc_auth.h50 extern enum auth_stat _authenticate(struct svc_req *, struct rpc_msg *);
53 enum auth_stat (*)(struct svc_req *, struct rpc_msg *),
54 int (*)(struct svc_req *, struct ucred **, int *));
56 extern int svc_auth_reg(int, enum auth_stat (*)(struct svc_req *,
61 extern int svc_getcred(struct svc_req *, struct ucred **, int *);
H A Dsvc_auth.c58 static enum auth_stat (*_svcauth_rpcsec_gss)(struct svc_req *,
60 static int (*_svcauth_rpcsec_gss_getcred)(struct svc_req *,
84 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate()
156 _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_null()
165 enum auth_stat (*svcauth)(struct svc_req *, struct rpc_msg *), in svc_auth_reg() argument
166 int (*getcred)(struct svc_req *, struct ucred **, int *)) in svc_auth_reg() argument
177 svc_getcred(struct svc_req *rqst, struct ucred **crp, int *flavorp) in svc_getcred()
H A Dauth.h343 struct svc_req;
345 enum auth_stat _svcauth_null (struct svc_req *, struct rpc_msg *);
346 enum auth_stat _svcauth_short (struct svc_req *, struct rpc_msg *);
347 enum auth_stat _svcauth_unix (struct svc_req *, struct rpc_msg *);
348 enum auth_stat _svcauth_rpcsec_tls (struct svc_req *, struct rpc_msg *);
/freebsd-13.1/usr.sbin/rpcbind/
H A Drpcbind.h104 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 *);
110 void *rpcbproc_set_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
111 void *rpcbproc_unset_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
115 void *rpcbproc_getaddr_com(RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t,
117 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *,
119 void *rpcbproc_uaddr2taddr_com(void *, struct svc_req *,
121 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *,
124 void rpcbproc_callit_com(struct svc_req *, SVCXPRT *, rpcvers_t,
[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()
321 rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp __unused, in rpcbproc_getaddrlist_4_local()
450 rpcbproc_dump_4_local(void *arg __unused, struct svc_req *req __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()
209 rpcbproc_getaddr_3_local(void *arg, struct svc_req *rqstp __unused, in rpcbproc_getaddr_3_local()
231 rpcbproc_dump_3_local(void *arg __unused, struct svc_req *rqstp __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()
/freebsd-13.1/usr.sbin/rpc.lockd/
H A Dlock_proc.c69 static void log_from_addr(const char *, struct svc_req *);
81 log_from_addr(const char *fun_name, struct svc_req *req) in log_from_addr()
427 nlm_test_1_svc(nlm_testargs *arg, struct svc_req *rqstp) in nlm_test_1_svc()
514 nlm_lock_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) in nlm_lock_1_svc()
565 nlm_cancel_1_svc(nlm_cancargs *arg, struct svc_req *rqstp) in nlm_cancel_1_svc()
724 nlm_lock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) in nlm_lock_res_1_svc()
753 nlm_unlock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) in nlm_unlock_res_1_svc()
792 nlm_share_3_svc(nlm_shareargs *arg, struct svc_req *rqstp) in nlm_share_3_svc()
877 nlm4_test_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) in nlm4_test_4_svc()
973 nlm4_lock_4_svc(nlm4_lockargs *arg, struct svc_req *rqstp) in nlm4_lock_4_svc()
[all …]
/freebsd-13.1/libexec/rpc.rusersd/
H A Drusers_proc.c190 rusers_num(void *argp __unused, struct svc_req *rqstp __unused) in rusers_num()
229 rusersproc_names_2_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_names_2_svc()
236 rusersproc_allnames_2_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_allnames_2_svc()
243 rusersproc_names_1_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_names_1_svc()
250 rusersproc_allnames_1_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_allnames_1_svc()
256 typedef void *(*rusersproc_t)(void *, struct svc_req *);
259 rusers_service(struct svc_req *rqstp, SVCXPRT *transp) in rusers_service()
/freebsd-13.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);
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-13.1/usr.sbin/ypldap/
H A Dyp.c49 void yp_dispatch(struct svc_req *, SVCXPRT *);
52 int yp_check(struct svc_req *);
138 yp_dispatch(struct svc_req *req, SVCXPRT *trans) in yp_dispatch()
143 char *(*cb)(char *, struct svc_req *); in yp_dispatch()
269 yp_check(struct svc_req *req) in yp_check()
295 ypproc_domain_2_svc(domainname *arg, struct svc_req *req) in ypproc_domain_2_svc()
317 ypproc_match_2_svc(ypreq_key *arg, struct svc_req *req) in ypproc_match_2_svc()
452 ypproc_first_2_svc(ypreq_nokey *arg, struct svc_req *req) in ypproc_first_2_svc()
479 ypproc_next_2_svc(ypreq_key *arg, struct svc_req *req) in ypproc_next_2_svc()
571 ypproc_all_2_svc(ypreq_nokey *arg, struct svc_req *req) in ypproc_all_2_svc()
[all …]
/freebsd-13.1/lib/libc/rpc/
H A Dsvc_auth.c74 enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *);
100 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate()
167 _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_null()
188 enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *)) in svc_auth_reg() argument
/freebsd-13.1/usr.sbin/rpc.ypupdated/
H A Dypupdated_server.c69 yp_checkauth(struct svc_req *svcreq) in yp_checkauth()
96 ypu_change_1_svc(struct ypupdate_args *args, struct svc_req *svcreq) in ypu_change_1_svc()
130 ypu_insert_1_svc(struct ypupdate_args *args, struct svc_req *svcreq) in ypu_insert_1_svc()
164 ypu_delete_1_svc(struct ypdelete_args *args, struct svc_req *svcreq) in ypu_delete_1_svc()
198 ypu_store_1_svc(struct ypupdate_args *args, struct svc_req *svcreq) in ypu_store_1_svc()
/freebsd-13.1/usr.sbin/rpc.statd/
H A Dprocs.c79 int sm_check_hostname(struct svc_req *req, char *arg) in sm_check_hostname()
114 struct sm_stat_res *sm_stat_1_svc(sm_name *arg, struct svc_req *req) in sm_stat_1_svc()
155 struct sm_stat_res *sm_mon_1_svc(mon *arg, struct svc_req *req) in sm_mon_1_svc()
263 struct sm_stat *sm_unmon_1_svc(mon_id *arg, struct svc_req *req __unused) in sm_unmon_1_svc()
301 struct sm_stat *sm_unmon_all_1_svc(my_id *arg, struct svc_req *req __unused) in sm_unmon_all_1_svc()
338 void *sm_simu_crash_1_svc(void *v __unused, struct svc_req *req __unused) in sm_simu_crash_1_svc()
383 void *sm_notify_1_svc(stat_chge *arg, struct svc_req *req __unused) in sm_notify_1_svc()
/freebsd-13.1/include/rpc/
H A Dsvc_auth.h52 extern enum auth_stat _authenticate(struct svc_req *, struct rpc_msg *);
53 extern int svc_auth_reg(int, enum auth_stat (*)(struct svc_req *,
/freebsd-13.1/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_extern.h49 extern int yp_access(const char *, const struct svc_req *);
52 extern void ypxfrd_freebsd_prog_1(struct svc_req *, register SVCXPRT *);

1234