Home
last modified time | relevance | path

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

1234

/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()
54 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_0()
66 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_sm_notify_0_svc; in nlm_prog_0()
94 nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_1()
122 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_1()
134 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_test_1_svc; in nlm_prog_1()
[all …]
H A Dnlm_prot.h283 extern bool_t nlm_sm_notify_0_svc(struct nlm_sm_status *, void *, struct svc_req *);
288 extern bool_t nlm_test_1_svc(struct nlm_testargs *, nlm_testres *, struct svc_req *);
291 extern bool_t nlm_lock_1_svc(struct nlm_lockargs *, nlm_res *, struct svc_req *);
294 extern bool_t nlm_cancel_1_svc(struct nlm_cancargs *, nlm_res *, struct svc_req *);
297 extern bool_t nlm_unlock_1_svc(struct nlm_unlockargs *, nlm_res *, struct svc_req *);
300 extern bool_t nlm_granted_1_svc(struct nlm_testargs *, nlm_res *, struct svc_req *);
303 extern bool_t nlm_test_msg_1_svc(struct nlm_testargs *, void *, struct svc_req *);
306 extern bool_t nlm_lock_msg_1_svc(struct nlm_lockargs *, void *, struct svc_req *);
309 extern bool_t nlm_cancel_msg_1_svc(struct nlm_cancargs *, void *, struct svc_req *);
312 extern bool_t nlm_unlock_msg_1_svc(struct nlm_unlockargs *, void *, struct svc_req *);
[all …]
H A Dnlm_prot_server.c121 nlm_sm_notify_0_svc(struct nlm_sm_status *argp, void *result, struct svc_req *rqstp) in nlm_sm_notify_0_svc()
129 nlm_test_1_svc(struct nlm_testargs *argp, nlm_testres *result, struct svc_req *rqstp) in nlm_test_1_svc()
153 nlm_lock_1_svc(struct nlm_lockargs *argp, nlm_res *result, struct svc_req *rqstp) in nlm_lock_1_svc()
174 nlm_cancel_1_svc(struct nlm_cancargs *argp, nlm_res *result, struct svc_req *rqstp) in nlm_cancel_1_svc()
193 nlm_unlock_1_svc(struct nlm_unlockargs *argp, nlm_res *result, struct svc_req *rqstp) in nlm_unlock_1_svc()
210 nlm_granted_1_svc(struct nlm_testargs *argp, nlm_res *result, struct svc_req *rqstp) in nlm_granted_1_svc()
228 nlm_test_msg_1_svc(struct nlm_testargs *argp, void *result, struct svc_req *rqstp) in nlm_test_msg_1_svc()
260 nlm_lock_msg_1_svc(struct nlm_lockargs *argp, void *result, struct svc_req *rqstp) in nlm_lock_msg_1_svc()
290 nlm_cancel_msg_1_svc(struct nlm_cancargs *argp, void *result, struct svc_req *rqstp) in nlm_cancel_msg_1_svc()
318 nlm_unlock_msg_1_svc(struct nlm_unlockargs *argp, void *result, struct svc_req *rqstp) in nlm_unlock_msg_1_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/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()
92 ypproc_domain_2_svc(domainname *argp, struct svc_req *rqstp)
97 if (yp_access(NULL, NULL, (struct svc_req *)rqstp)) {
99 if (yp_access(NULL, (struct svc_req *)rqstp)) {
114 ypproc_domain_nonack_2_svc(domainname *argp, struct svc_req *rqstp)
119 if (yp_access(NULL, NULL, (struct svc_req *)rqstp))
121 if (yp_access(NULL, (struct svc_req *)rqstp))
134 ypproc_match_2_svc(ypreq_key *argp, 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/sys/rpc/
H A Drpcb_prot.h493 extern void rpcbprog_3(struct svc_req *rqstp, SVCXPRT *transp);
496 extern bool_t * rpcbproc_set_3_svc(RPCB *, struct svc_req *);
499 extern bool_t * rpcbproc_unset_3_svc(RPCB *, struct svc_req *);
502 extern char ** rpcbproc_getaddr_3_svc(RPCB *, struct svc_req *);
505 extern rpcblist_ptr * rpcbproc_dump_3_svc(void *, struct svc_req *);
508 extern rpcb_rmtcallres * rpcbproc_callit_3_svc(rpcb_rmtcallargs *, struct svc_req *);
511 extern u_int * rpcbproc_gettime_3_svc(void *, struct svc_req *);
514 extern struct netbuf * rpcbproc_uaddr2taddr_3_svc(char **, struct svc_req *);
517 extern char ** rpcbproc_taddr2uaddr_3_svc(struct netbuf *, struct svc_req *);
521 extern void rpcbprog_4(struct svc_req *rqstp, SVCXPRT *transp);
[all …]
H A Dsvc.h249 void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
267 struct svc_req { struct
268 STAILQ_ENTRY(svc_req) rq_link; /* list of requests for a thread */
288 STAILQ_HEAD(svc_reqlist, svc_req); argument
362 typedef SVCTHREAD *pool_assign_fn(SVCTHREAD *, struct svc_req *);
363 typedef void pool_done_fn(SVCTHREAD *, struct svc_req *);
407 struct svc_req { struct
532 void (*)(struct svc_req *, SVCXPRT *),
641 extern bool_t svc_sendreply(struct svc_req *, xdrproc_t, void *);
642 extern bool_t svc_sendreply_mbuf(struct svc_req *, struct mbuf *);
[all …]
H A Dsvc_auth.h46 extern enum auth_stat _authenticate(struct svc_req *, struct rpc_msg *);
49 enum auth_stat (*)(struct svc_req *, struct rpc_msg *),
50 int (*)(struct svc_req *, struct ucred **, int *));
52 extern int svc_auth_reg(int, enum auth_stat (*)(struct svc_req *,
57 extern int svc_getcred(struct svc_req *, struct ucred **, int *);
H A Dsvc_auth.c52 static enum auth_stat (*_svcauth_rpcsec_gss)(struct svc_req *,
54 static int (*_svcauth_rpcsec_gss_getcred)(struct svc_req *,
78 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate()
150 _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_null()
159 enum auth_stat (*svcauth)(struct svc_req *, struct rpc_msg *), in svc_auth_reg() argument
160 int (*getcred)(struct svc_req *, struct ucred **, int *)) in svc_auth_reg() argument
171 svc_getcred(struct svc_req *rqst, struct ucred **crp, int *flavorp) in svc_getcred()
H A Dauth.h338 struct svc_req;
340 enum auth_stat _svcauth_null (struct svc_req *, struct rpc_msg *);
341 enum auth_stat _svcauth_short (struct svc_req *, struct rpc_msg *);
342 enum auth_stat _svcauth_unix (struct svc_req *, struct rpc_msg *);
343 enum auth_stat _svcauth_rpcsec_tls (struct svc_req *, struct rpc_msg *);
/freebsd/usr.sbin/rpcbind/
H A Drpcbind.h101 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 *);
107 void *rpcbproc_set_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
108 void *rpcbproc_unset_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
112 void *rpcbproc_getaddr_com(RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t,
114 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *,
116 void *rpcbproc_uaddr2taddr_com(void *, struct svc_req *,
118 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *,
121 void rpcbproc_callit_com(struct svc_req *, SVCXPRT *, rpcvers_t,
[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()
317 rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp __unused, in rpcbproc_getaddrlist_4_local()
446 rpcbproc_dump_4_local(void *arg __unused, struct svc_req *req __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()
206 rpcbproc_getaddr_3_local(void *arg, struct svc_req *rqstp __unused, in rpcbproc_getaddr_3_local()
228 rpcbproc_dump_3_local(void *arg __unused, struct svc_req *rqstp __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()
/freebsd/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()
458 nlm_test_msg_1_svc(nlm_testargs *arg, struct svc_req *rqstp) in nlm_test_msg_1_svc()
513 nlm_lock_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) in nlm_lock_1_svc()
535 nlm_lock_msg_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) in nlm_lock_msg_1_svc()
564 nlm_cancel_1_svc(nlm_cancargs *arg, struct svc_req *rqstp) in nlm_cancel_1_svc()
586 nlm_cancel_msg_1_svc(nlm_cancargs *arg, struct svc_req *rqstp) in nlm_cancel_msg_1_svc()
615 nlm_unlock_1_svc(nlm_unlockargs *arg, struct svc_req *rqstp) in nlm_unlock_1_svc()
632 nlm_unlock_msg_1_svc(nlm_unlockargs *arg, struct svc_req *rqstp) in nlm_unlock_msg_1_svc()
[all …]
/freebsd/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/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);
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/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()
302 ypproc_domain_nonack_2_svc(domainname *arg, struct svc_req *req) in ypproc_domain_nonack_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()
[all …]
/freebsd/lib/libc/rpc/
H A Dsvc_auth.c67 enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *);
93 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate()
160 _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_null()
181 enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *)) in svc_auth_reg() argument
/freebsd/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/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/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/libexec/rpc.rstatd/
H A Drstat_proc.c104 rstatproc_stats_3_svc(void *argp, struct svc_req *rqstp) in rstatproc_stats_3_svc()
113 rstatproc_stats_2_svc(void *argp, struct svc_req *rqstp) in rstatproc_stats_2_svc()
122 rstatproc_stats_1_svc(void *argp, struct svc_req *rqstp) in rstatproc_stats_1_svc()
131 rstatproc_havedisk_3_svc(void *argp, struct svc_req *rqstp) in rstatproc_havedisk_3_svc()
143 rstatproc_havedisk_2_svc(void *argp, struct svc_req *rqstp) in rstatproc_havedisk_2_svc()
149 rstatproc_havedisk_1_svc(void *argp, struct svc_req *rqstp) in rstatproc_havedisk_1_svc()
395 rstat_service(struct svc_req *rqstp, SVCXPRT *transp) in rstat_service()
402 typedef void *(svc_cb)(void *arg, struct svc_req *rqstp); in rstat_service()

1234