Home
last modified time | relevance | path

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

1234

/src/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);
/src/crypto/krb5/src/kadmin/server/
H A Dkadm_rpc_svc.c21 static int check_rpcsec_auth(struct svc_req *);
41 kadm_1(struct svc_req *rqstp, SVCXPRT *transp) in kadm_1()
78 bool_t (*local)(char *, void *, struct svc_req *); in kadm_1()
98 local = (bool_t (*)(char *, void *, struct svc_req *))create_principal_2_svc; in kadm_1()
104 local = (bool_t (*)(char *, void *, struct svc_req *))delete_principal_2_svc; in kadm_1()
110 local = (bool_t (*)(char *, void *, struct svc_req *))modify_principal_2_svc; in kadm_1()
116 local = (bool_t (*)(char *, void *, struct svc_req *))rename_principal_2_svc; in kadm_1()
122 local = (bool_t (*)(char *, void *, struct svc_req *))get_principal_2_svc; in kadm_1()
128 local = (bool_t (*)(char *, void *, struct svc_req *))get_princs_2_svc; in kadm_1()
134 local = (bool_t (*)(char *, void *, struct svc_req *))chpass_principal_2_svc; in kadm_1()
[all …]
H A Dmisc.h13 setup_gss_names(struct svc_req *, gss_buffer_desc *,
25 void kadm_1(struct svc_req *, SVCXPRT *);
26 void krb5_iprop_prog_1(struct svc_req *, SVCXPRT *);
31 gss_to_krb5_name_1(struct svc_req *rqstp, krb5_context ctx, gss_name_t gss_name,
46 krb5_iprop_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
H A Dipropd_svc.c31 extern gss_name_t rqst2name(struct svc_req *rqstp);
147 iprop_get_updates_1_svc(kdb_last_t *arg, struct svc_req *rqstp) in iprop_get_updates_1_svc()
258 ipropx_resync(uint32_t vers, struct svc_req *rqstp) in ipropx_resync()
446 iprop_full_resync_1_svc(/* LINTED */ void *argp, struct svc_req *rqstp) in iprop_full_resync_1_svc()
452 iprop_full_resync_ext_1_svc(uint32_t *argp, struct svc_req *rqstp) in iprop_full_resync_ext_1_svc()
458 check_iprop_rpcsec_auth(struct svc_req *rqstp) in check_iprop_rpcsec_auth()
531 krb5_iprop_prog_1(struct svc_req *rqstp, in krb5_iprop_prog_1()
539 void *(*local)(char *, struct svc_req *); in krb5_iprop_prog_1()
560 local = (void *(*)(char *, struct svc_req *))iprop_get_updates_1_svc; in krb5_iprop_prog_1()
566 local = (void *(*)(char *, struct svc_req *))iprop_full_resync_1_svc; in krb5_iprop_prog_1()
[all …]
/src/crypto/krb5/src/lib/kadm5/
H A Dkadm_rpc.h262 struct svc_req *);
267 struct svc_req *);
272 struct svc_req *);
277 struct svc_req *);
281 struct svc_req *);
286 struct svc_req *);
291 struct svc_req *);
295 struct svc_req *);
299 struct svc_req *);
303 struct svc_req *);
[all …]
/src/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);
/src/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.h191 void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
209 struct svc_req { struct
210 STAILQ_ENTRY(svc_req) rq_link; /* list of requests for a thread */
230 STAILQ_HEAD(svc_reqlist, svc_req); argument
304 typedef SVCTHREAD *pool_assign_fn(SVCTHREAD *, struct svc_req *);
305 typedef void pool_done_fn(SVCTHREAD *, struct svc_req *);
407 void (*)(struct svc_req *, SVCXPRT *),
505 extern bool_t svc_sendreply(struct svc_req *, xdrproc_t, void *);
506 extern bool_t svc_sendreply_mbuf(struct svc_req *, struct mbuf *);
507 extern void svcerr_decode(struct svc_req *);
[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.c53 static enum auth_stat (*_svcauth_rpcsec_gss)(struct svc_req *,
55 static int (*_svcauth_rpcsec_gss_getcred)(struct svc_req *,
79 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate()
151 _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_null()
160 enum auth_stat (*svcauth)(struct svc_req *, struct rpc_msg *), in svc_auth_reg() argument
161 int (*getcred)(struct svc_req *, struct ucred **, int *)) in svc_auth_reg() argument
172 svc_getcred(struct svc_req *rqst, struct ucred **crp, int *flavorp) in svc_getcred()
/src/usr.sbin/rpcbind/
H A Drpcbind.h105 void *rpcbproc_getstat(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
107 void rpcb_service_3(struct svc_req *, SVCXPRT *);
108 void rpcb_service_4(struct svc_req *, SVCXPRT *);
111 void *rpcbproc_set_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
112 void *rpcbproc_unset_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
116 void *rpcbproc_getaddr_com(RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t,
118 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
119 void *rpcbproc_uaddr2taddr_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
120 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
122 void rpcbproc_callit_com(struct svc_req *, SVCXPRT *, rpcvers_t, 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 *,
57 static void *rpcbproc_getaddrlist_4_local(void *, struct svc_req *, SVCXPRT *,
60 static void *rpcbproc_dump_4_local(void *, struct svc_req *, SVCXPRT *,
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()
260 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getaddr_4_local()
290 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getversaddr_4_local()
318 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.c56 static void *rpcbproc_getaddr_3_local(void *, struct svc_req *, SVCXPRT *,
58 static void *rpcbproc_dump_3_local(void *, struct svc_req *, SVCXPRT *,
66 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_3()
78 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_3()
207 rpcbproc_getaddr_3_local(void *arg, struct svc_req *rqstp __unused, in rpcbproc_getaddr_3_local()
229 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()
/src/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 …]
/src/crypto/krb5/src/include/gssrpc/
H A Dsvc_auth.h51 struct svc_req;
76 extern enum auth_stat gssrpc__authenticate(struct svc_req *rqst,
88 enum auth_stat gssrpc__svcauth_none(struct svc_req *,
92 enum auth_stat gssrpc__svcauth_unix(struct svc_req *,
96 enum auth_stat gssrpc__svcauth_short(struct svc_req *,
100 enum auth_stat gssrpc__svcauth_gssapi(struct svc_req *,
103 enum auth_stat gssrpc__svcauth_gss(struct svc_req *,
/src/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()
/src/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()
/src/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 …]
/src/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

1234