Home
last modified time | relevance | path

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

1234

/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);
48 nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_0()
56 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_0()
96 nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_1()
124 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_1()
250 nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_3()
265 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_3()
343 nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_4()
[all …]
H A Dnlm_prot.h318 extern bool_t nlm_test_res_1_svc(nlm_testres *, void *, struct svc_req *);
321 extern bool_t nlm_lock_res_1_svc(nlm_res *, void *, struct svc_req *);
324 extern bool_t nlm_cancel_res_1_svc(nlm_res *, void *, struct svc_req *);
327 extern bool_t nlm_unlock_res_1_svc(nlm_res *, void *, struct svc_req *);
330 extern bool_t nlm_granted_res_1_svc(nlm_res *, void *, struct svc_req *);
345 extern bool_t nlm_free_all_3_svc(nlm_notify *, void *, struct svc_req *);
384 extern bool_t nlm4_lock_res_4_svc(nlm4_res *, void *, struct svc_req *);
387 extern bool_t nlm4_cancel_res_4_svc(nlm4_res *, void *, struct svc_req *);
390 extern bool_t nlm4_unlock_res_4_svc(nlm4_res *, void *, struct svc_req *);
393 extern bool_t nlm4_granted_res_4_svc(nlm4_res *, void *, struct svc_req *);
[all …]
H A Dnlm_prot_server.c373 nlm_test_res_1_svc(nlm_testres *argp, void *result, struct svc_req *rqstp) in nlm_test_res_1_svc()
387 nlm_lock_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_lock_res_1_svc()
396 nlm_cancel_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_cancel_res_1_svc()
405 nlm_unlock_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_unlock_res_1_svc()
414 nlm_granted_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_granted_res_1_svc()
494 nlm_free_all_3_svc(nlm_notify *argp, void *result, struct svc_req *rqstp) in nlm_free_all_3_svc()
650 nlm4_lock_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_lock_res_4_svc()
657 nlm4_cancel_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_cancel_res_4_svc()
664 nlm4_unlock_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_unlock_res_4_svc()
671 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.h75 extern void sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
78 extern struct sm_stat_res * sm_stat_1_svc(struct sm_name *, struct svc_req *);
81 extern struct sm_stat_res * sm_mon_1_svc(struct mon *, struct svc_req *);
84 extern struct sm_stat * sm_unmon_1_svc(struct mon_id *, struct svc_req *);
87 extern struct sm_stat * sm_unmon_all_1_svc(struct my_id *, struct svc_req *);
90 extern void * sm_simu_crash_1_svc(void *, struct svc_req *);
93 extern void * sm_notify_1_svc(struct stat_chge *, struct svc_req *);
H A Dnlm.h159 struct svc_req *rqstp, CLIENT **rpcp);
169 struct svc_req *rqstp, bool_t monitor, CLIENT **rpcp);
179 struct svc_req *rqstp, CLIENT **rpcp);
189 struct svc_req *rqstp, CLIENT **rpcp);
199 struct svc_req *rqstp, CLIENT **rpcp);
205 extern void nlm_do_granted_res(nlm4_res *argp, struct svc_req *rqstp);
/freebsd-14.2/usr.sbin/ypserv/
H A Dyp_server.c74 ypproc_null_2_svc(void *argp, struct svc_req *rqstp) in ypproc_null_2_svc()
80 if (yp_access(NULL, NULL, (struct svc_req *)rqstp)) in ypproc_null_2_svc()
82 if (yp_access(NULL, (struct svc_req *)rqstp)) in ypproc_null_2_svc()
97 if (yp_access(NULL, NULL, (struct svc_req *)rqstp)) {
99 if (yp_access(NULL, (struct svc_req *)rqstp)) {
119 if (yp_access(NULL, NULL, (struct svc_req *)rqstp))
121 if (yp_access(NULL, (struct svc_req *)rqstp))
144 if (yp_access(argp->map, (struct svc_req *)rqstp)) {
215 if (yp_access(argp->map, (struct svc_req *)rqstp)) {
433 if (yp_access(NULL, (struct svc_req *)rqstp))
[all …]
H A Dyp_extern.h85 extern int yp_access(const char *, const char *, const struct svc_req *);
87 extern int yp_access(const char *, const struct svc_req *);
114 extern ypstat yp_async_lookup_name(struct svc_req *, char *, int);
115 extern ypstat yp_async_lookup_addr(struct svc_req *, char *, int);
/freebsd-14.2/sys/rpc/
H A Drpcb_prot.h495 extern void rpcbprog_3(struct svc_req *rqstp, SVCXPRT *transp);
498 extern bool_t * rpcbproc_set_3_svc(RPCB *, struct svc_req *);
501 extern bool_t * rpcbproc_unset_3_svc(RPCB *, struct svc_req *);
504 extern char ** rpcbproc_getaddr_3_svc(RPCB *, struct svc_req *);
507 extern rpcblist_ptr * rpcbproc_dump_3_svc(void *, struct svc_req *);
513 extern u_int * rpcbproc_gettime_3_svc(void *, struct svc_req *);
523 extern void rpcbprog_4(struct svc_req *rqstp, SVCXPRT *transp);
525 extern bool_t * rpcbproc_set_4_svc(RPCB *, struct svc_req *);
527 extern bool_t * rpcbproc_unset_4_svc(RPCB *, struct svc_req *);
529 extern char ** rpcbproc_getaddr_4_svc(RPCB *, struct svc_req *);
[all …]
H A Dsvc.h252 void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
270 struct svc_req { struct
291 STAILQ_HEAD(svc_reqlist, svc_req); argument
410 struct svc_req { struct
535 void (*)(struct svc_req *, SVCXPRT *),
646 extern void svcerr_decode(struct svc_req *);
647 extern void svcerr_weakauth(struct svc_req *);
648 extern void svcerr_noproc(struct svc_req *);
651 extern void svcerr_noprog(struct svc_req *);
652 extern void svcerr_systemerr(struct svc_req *);
[all …]
H A Dsvc_auth.h49 extern enum auth_stat _authenticate(struct svc_req *, struct rpc_msg *);
52 enum auth_stat (*)(struct svc_req *, struct rpc_msg *),
53 int (*)(struct svc_req *, struct ucred **, int *));
55 extern int svc_auth_reg(int, enum auth_stat (*)(struct svc_req *,
60 extern int svc_getcred(struct svc_req *, struct ucred **, int *);
H A Dsvc_auth.c57 static enum auth_stat (*_svcauth_rpcsec_gss)(struct svc_req *,
59 static int (*_svcauth_rpcsec_gss_getcred)(struct svc_req *,
83 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate()
155 _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_null()
164 enum auth_stat (*svcauth)(struct svc_req *, struct rpc_msg *), in svc_auth_reg() argument
165 int (*getcred)(struct svc_req *, struct ucred **, int *)) in svc_auth_reg() argument
176 svc_getcred(struct svc_req *rqst, struct ucred **crp, int *flavorp) in svc_getcred()
H A Dauth.h342 struct svc_req;
344 enum auth_stat _svcauth_null (struct svc_req *, struct rpc_msg *);
345 enum auth_stat _svcauth_short (struct svc_req *, struct rpc_msg *);
346 enum auth_stat _svcauth_unix (struct svc_req *, struct rpc_msg *);
347 enum auth_stat _svcauth_rpcsec_tls (struct svc_req *, struct rpc_msg *);
/freebsd-14.2/usr.sbin/rpcbind/
H A Drpcbind.h103 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 *);
109 void *rpcbproc_set_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
110 void *rpcbproc_unset_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
114 void *rpcbproc_getaddr_com(RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t,
116 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *,
118 void *rpcbproc_uaddr2taddr_com(void *, struct svc_req *,
120 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *,
123 void rpcbproc_callit_com(struct svc_req *, SVCXPRT *, rpcvers_t,
[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()
319 rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp __unused, in rpcbproc_getaddrlist_4_local()
448 rpcbproc_dump_4_local(void *arg __unused, struct svc_req *req __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()
208 rpcbproc_getaddr_3_local(void *arg, struct svc_req *rqstp __unused, in rpcbproc_getaddr_3_local()
230 rpcbproc_dump_3_local(void *arg __unused, struct svc_req *rqstp __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()
/freebsd-14.2/usr.sbin/rpc.lockd/
H A Dlock_proc.c68 static void log_from_addr(const char *, struct svc_req *);
80 log_from_addr(const char *fun_name, struct svc_req *req) in log_from_addr()
426 nlm_test_1_svc(nlm_testargs *arg, struct svc_req *rqstp) in nlm_test_1_svc()
513 nlm_lock_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) in nlm_lock_1_svc()
564 nlm_cancel_1_svc(nlm_cancargs *arg, struct svc_req *rqstp) in nlm_cancel_1_svc()
723 nlm_lock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) in nlm_lock_res_1_svc()
752 nlm_unlock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) in nlm_unlock_res_1_svc()
791 nlm_share_3_svc(nlm_shareargs *arg, struct svc_req *rqstp) in nlm_share_3_svc()
876 nlm4_test_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) in nlm4_test_4_svc()
972 nlm4_lock_4_svc(nlm4_lockargs *arg, struct svc_req *rqstp) in nlm4_lock_4_svc()
[all …]
/freebsd-14.2/libexec/rpc.rusersd/
H A Drusers_proc.c185 rusers_num(void *argp __unused, struct svc_req *rqstp __unused) in rusers_num()
224 rusersproc_names_2_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_names_2_svc()
231 rusersproc_allnames_2_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_allnames_2_svc()
238 rusersproc_names_1_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_names_1_svc()
245 rusersproc_allnames_1_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_allnames_1_svc()
251 typedef void *(*rusersproc_t)(void *, struct svc_req *);
254 rusers_service(struct svc_req *rqstp, SVCXPRT *transp) in rusers_service()
/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);
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/usr.sbin/ypldap/
H A Dyp.c48 void yp_dispatch(struct svc_req *, SVCXPRT *);
51 int yp_check(struct svc_req *);
137 yp_dispatch(struct svc_req *req, SVCXPRT *trans) in yp_dispatch()
142 char *(*cb)(char *, struct svc_req *); in yp_dispatch()
268 yp_check(struct svc_req *req) in yp_check()
291 ypproc_domain_2_svc(domainname *arg, struct svc_req *req) in ypproc_domain_2_svc()
313 ypproc_match_2_svc(ypreq_key *arg, struct svc_req *req) in ypproc_match_2_svc()
448 ypproc_first_2_svc(ypreq_nokey *arg, struct svc_req *req) in ypproc_first_2_svc()
475 ypproc_next_2_svc(ypreq_key *arg, struct svc_req *req) in ypproc_next_2_svc()
567 ypproc_all_2_svc(ypreq_nokey *arg, struct svc_req *req) in ypproc_all_2_svc()
[all …]
/freebsd-14.2/lib/libc/rpc/
H A Dsvc_auth.c71 enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *);
97 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate()
164 _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_null()
185 enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *)) in svc_auth_reg() argument
/freebsd-14.2/usr.sbin/rpc.ypupdated/
H A Dypupdated_server.c67 yp_checkauth(struct svc_req *svcreq) in yp_checkauth()
94 ypu_change_1_svc(struct ypupdate_args *args, struct svc_req *svcreq) in ypu_change_1_svc()
128 ypu_insert_1_svc(struct ypupdate_args *args, struct svc_req *svcreq) in ypu_insert_1_svc()
162 ypu_delete_1_svc(struct ypdelete_args *args, struct svc_req *svcreq) in ypu_delete_1_svc()
196 ypu_store_1_svc(struct ypupdate_args *args, struct svc_req *svcreq) in ypu_store_1_svc()
/freebsd-14.2/libexec/rpc.rwalld/
H A Drwalld.c54 void wallprog_1(struct svc_req *rqstp, SVCXPRT *transp);
144 wallproc_wall_1_svc(wrapstring *s, struct svc_req *rqstp __unused) in wallproc_wall_1_svc()
163 wallprog_1(struct svc_req *rqstp, SVCXPRT *transp) in wallprog_1()
170 typedef void *(svc_cb)(void *arg, struct svc_req *rqstp); in wallprog_1()
/freebsd-14.2/usr.sbin/rpc.statd/
H A Dprocs.c77 int sm_check_hostname(struct svc_req *req, char *arg) in sm_check_hostname()
112 struct sm_stat_res *sm_stat_1_svc(sm_name *arg, struct svc_req *req) in sm_stat_1_svc()
153 struct sm_stat_res *sm_mon_1_svc(mon *arg, struct svc_req *req) in sm_mon_1_svc()
261 struct sm_stat *sm_unmon_1_svc(mon_id *arg, struct svc_req *req __unused) in sm_unmon_1_svc()
299 struct sm_stat *sm_unmon_all_1_svc(my_id *arg, struct svc_req *req __unused) in sm_unmon_all_1_svc()
336 void *sm_simu_crash_1_svc(void *v __unused, struct svc_req *req __unused) in sm_simu_crash_1_svc()
381 void *sm_notify_1_svc(stat_chge *arg, struct svc_req *req __unused) in sm_notify_1_svc()
/freebsd-14.2/libexec/rpc.rstatd/
H A Drstat_proc.c111 rstatproc_stats_3_svc(void *argp, struct svc_req *rqstp) in rstatproc_stats_3_svc()
120 rstatproc_stats_2_svc(void *argp, struct svc_req *rqstp) in rstatproc_stats_2_svc()
129 rstatproc_stats_1_svc(void *argp, struct svc_req *rqstp) in rstatproc_stats_1_svc()
138 rstatproc_havedisk_3_svc(void *argp, struct svc_req *rqstp) in rstatproc_havedisk_3_svc()
150 rstatproc_havedisk_2_svc(void *argp, struct svc_req *rqstp) in rstatproc_havedisk_2_svc()
156 rstatproc_havedisk_1_svc(void *argp, struct svc_req *rqstp) in rstatproc_havedisk_1_svc()
402 rstat_service(struct svc_req *rqstp, SVCXPRT *transp) in rstat_service()
409 typedef void *(svc_cb)(void *arg, struct svc_req *rqstp); in rstat_service()

1234