/freebsd-current/sys/nlm/ |
H A D | nlm_prot_svc.c | 40 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) argument 56 switch (rqstp->rq_proc) { 58 (void) svc_sendreply(rqstp, 60 svc_freereq(rqstp); 70 svcerr_noproc(rqstp); 71 svc_freereq(rqstp); 94 nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) argument 248 nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp) argument 341 nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp) argument [all...] |
H A D | nlm_prot_server.c | 121 nlm_sm_notify_0_svc(struct nlm_sm_status *argp, void *result, struct svc_req *rqstp) argument 129 nlm_test_1_svc(struct nlm_testargs *argp, nlm_testres *result, struct svc_req *rqstp) argument 139 retval = nlm4_test_4_svc(&args4, &res4, rqstp); 153 nlm_lock_1_svc(struct nlm_lockargs *argp, nlm_res *result, struct svc_req *rqstp) argument 166 retval = nlm4_lock_4_svc(&args4, &res4, rqstp); 174 nlm_cancel_1_svc(struct nlm_cancargs *argp, nlm_res *result, struct svc_req *rqstp) argument 185 retval = nlm4_cancel_4_svc(&args4, &res4, rqstp); 193 nlm_unlock_1_svc(struct nlm_unlockargs *argp, nlm_res *result, struct svc_req *rqstp) argument 202 retval = nlm4_unlock_4_svc(&args4, &res4, rqstp); 210 nlm_granted_1_svc(struct nlm_testargs *argp, nlm_res *result, struct svc_req *rqstp) argument 228 nlm_test_msg_1_svc(struct nlm_testargs *argp, void *result, struct svc_req *rqstp) argument 260 nlm_lock_msg_1_svc(struct nlm_lockargs *argp, void *result, struct svc_req *rqstp) argument 290 nlm_cancel_msg_1_svc(struct nlm_cancargs *argp, void *result, struct svc_req *rqstp) argument 318 nlm_unlock_msg_1_svc(struct nlm_unlockargs *argp, void *result, struct svc_req *rqstp) argument 344 nlm_granted_msg_1_svc(struct nlm_testargs *argp, void *result, struct svc_req *rqstp) argument 371 nlm_test_res_1_svc(nlm_testres *argp, void *result, struct svc_req *rqstp) argument 385 nlm_lock_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) argument 394 nlm_cancel_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) argument 403 nlm_unlock_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) argument 412 nlm_granted_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) argument 429 nlm_share_3_svc(nlm_shareargs *argp, nlm_shareres *result, struct svc_req *rqstp) argument 450 nlm_unshare_3_svc(nlm_shareargs *argp, nlm_shareres *result, struct svc_req *rqstp) argument 471 nlm_nm_lock_3_svc(nlm_lockargs *argp, nlm_res *result, struct svc_req *rqstp) argument 492 nlm_free_all_3_svc(nlm_notify *argp, void *result, struct svc_req *rqstp) argument 511 nlm4_test_4_svc(nlm4_testargs *argp, nlm4_testres *result, struct svc_req *rqstp) argument 519 nlm4_lock_4_svc(nlm4_lockargs *argp, nlm4_res *result, struct svc_req *rqstp) argument 527 nlm4_cancel_4_svc(nlm4_cancargs *argp, nlm4_res *result, struct svc_req *rqstp) argument 535 nlm4_unlock_4_svc(nlm4_unlockargs *argp, nlm4_res *result, struct svc_req *rqstp) argument 543 nlm4_granted_4_svc(nlm4_testargs *argp, nlm4_res *result, struct svc_req *rqstp) argument 551 nlm4_test_msg_4_svc(nlm4_testargs *argp, void *result, struct svc_req *rqstp) argument 569 nlm4_lock_msg_4_svc(nlm4_lockargs *argp, void *result, struct svc_req *rqstp) argument 587 nlm4_cancel_msg_4_svc(nlm4_cancargs *argp, void *result, struct svc_req *rqstp) argument 605 nlm4_unlock_msg_4_svc(nlm4_unlockargs *argp, void *result, struct svc_req *rqstp) argument 623 nlm4_granted_msg_4_svc(nlm4_testargs *argp, void *result, struct svc_req *rqstp) argument 641 nlm4_test_res_4_svc(nlm4_testres *argp, void *result, struct svc_req *rqstp) argument 648 nlm4_lock_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) argument 655 nlm4_cancel_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) argument 662 nlm4_unlock_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) argument 669 nlm4_granted_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) argument 677 nlm4_share_4_svc(nlm4_shareargs *argp, nlm4_shareres *result, struct svc_req *rqstp) argument 686 nlm4_unshare_4_svc(nlm4_shareargs *argp, nlm4_shareres *result, struct svc_req *rqstp) argument 695 nlm4_nm_lock_4_svc(nlm4_lockargs *argp, nlm4_res *result, struct svc_req *rqstp) argument 703 nlm4_free_all_4_svc(nlm4_notify *argp, void *result, struct svc_req *rqstp) argument [all...] |
H A D | nlm.h | 159 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);
|
H A D | sm_inter.h | 75 extern void sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
|
H A D | nlm_prot_impl.c | 1421 extern void nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp); 1422 extern void nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp); 1423 extern void nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp); 1424 extern void nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp); 1751 nlm_get_vfs_state(struct nlm_host *host, struct svc_req *rqstp, argument 1786 if (!svc_getcred(rqstp, &cred, NULL)) { 1850 nlm_do_test(nlm4_testargs *argp, nlm4_testres *result, struct svc_req *rqstp, argument 1864 svc_getrpccaller(rqstp), rqstp->rq_vers); 1885 error = nlm_get_vfs_state(host, rqstp, 1948 nlm_do_lock(nlm4_lockargs *argp, nlm4_res *result, struct svc_req *rqstp, bool_t monitor, CLIENT **rpcp) argument 2137 nlm_do_cancel(nlm4_cancargs *argp, nlm4_res *result, struct svc_req *rqstp, CLIENT **rpcp) argument 2227 nlm_do_unlock(nlm4_unlockargs *argp, nlm4_res *result, struct svc_req *rqstp, CLIENT **rpcp) argument 2289 nlm_do_granted(nlm4_testargs *argp, nlm4_res *result, struct svc_req *rqstp, CLIENT **rpcp) argument 2334 nlm_do_granted_res(nlm4_res *argp, struct svc_req *rqstp) argument [all...] |
/freebsd-current/usr.sbin/rpc.lockd/ |
H A D | lock_proc.c | 66 #define getrpcaddr(rqstp) (struct sockaddr *)(svc_getrpccaller((rqstp)->rq_xprt)->buf) 426 nlm_test_1_svc(nlm_testargs *arg, struct svc_req *rqstp) argument 434 log_from_addr("nlm_test", rqstp); 458 nlm_test_msg_1_svc(nlm_testargs *arg, struct svc_req *rqstp) argument 472 log_from_addr("nlm_test_msg", rqstp); 491 addr = svc_getrpccaller(rqstp->rq_xprt)->buf; 513 nlm_lock_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) argument 525 log_from_addr("nlm_lock", rqstp); 530 res.stat.stat = getlock(&arg4, rqstp, LOCK_MO 535 nlm_lock_msg_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) argument 564 nlm_cancel_1_svc(nlm_cancargs *arg, struct svc_req *rqstp) argument 586 nlm_cancel_msg_1_svc(nlm_cancargs *arg, struct svc_req *rqstp) argument 615 nlm_unlock_1_svc(nlm_unlockargs *arg, struct svc_req *rqstp) argument 632 nlm_unlock_msg_1_svc(nlm_unlockargs *arg, struct svc_req *rqstp) argument 668 nlm_granted_1_svc(nlm_testargs *arg, struct svc_req *rqstp) argument 686 nlm_granted_msg_1_svc(nlm_testargs *arg, struct svc_req *rqstp) argument 708 nlm_test_res_1_svc(nlm_testres *arg, struct svc_req *rqstp) argument 723 nlm_lock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) argument 739 nlm_cancel_res_1_svc(nlm_res *arg __unused, struct svc_req *rqstp) argument 752 nlm_unlock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) argument 768 nlm_granted_res_1_svc(nlm_res *arg __unused, struct svc_req *rqstp) argument 791 nlm_share_3_svc(nlm_shareargs *arg, struct svc_req *rqstp) argument 811 nlm_unshare_3_svc(nlm_shareargs *arg, struct svc_req *rqstp) argument 835 nlm_nm_lock_3_svc(nlm_lockargs *arg, struct svc_req *rqstp) argument 859 nlm_free_all_3_svc(nlm_notify *arg __unused, struct svc_req *rqstp) argument 876 nlm4_test_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) argument 922 nlm4_test_msg_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) argument 972 nlm4_lock_4_svc(nlm4_lockargs *arg, struct svc_req *rqstp) argument 1006 nlm4_lock_msg_4_svc(nlm4_lockargs *arg, struct svc_req *rqstp) argument 1027 nlm4_cancel_4_svc(nlm4_cancargs *arg, struct svc_req *rqstp) argument 1046 nlm4_cancel_msg_4_svc(nlm4_cancargs *arg, struct svc_req *rqstp) argument 1072 nlm4_unlock_4_svc(nlm4_unlockargs *arg, struct svc_req *rqstp) argument 1086 nlm4_unlock_msg_4_svc(nlm4_unlockargs *arg, struct svc_req *rqstp) argument 1119 nlm4_granted_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) argument 1137 nlm4_granted_msg_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) argument 1158 nlm4_test_res_4_svc(nlm4_testres *arg, struct svc_req *rqstp) argument 1175 nlm4_lock_res_4_svc(nlm4_res *arg, struct svc_req *rqstp) argument 1191 nlm4_cancel_res_4_svc(nlm4_res *arg __unused, struct svc_req *rqstp) argument 1204 nlm4_unlock_res_4_svc(nlm4_res *arg __unused, struct svc_req *rqstp) argument 1217 nlm4_granted_res_4_svc(nlm4_res *arg __unused, struct svc_req *rqstp) argument 1240 nlm4_share_4_svc(nlm4_shareargs *arg, struct svc_req *rqstp) argument 1260 nlm4_unshare_4_svc(nlm4_shareargs *arg, struct svc_req *rqstp) argument 1284 nlm4_nm_lock_4_svc(nlm4_lockargs *arg, struct svc_req *rqstp) argument 1308 nlm4_free_all_4_svc(struct nlm4_notify *arg __unused, struct svc_req *rqstp) argument [all...] |
H A D | lockd_lock.h | 7 enum nlm_stats getlock(nlm4_lockargs *lckarg, struct svc_req *rqstp,
|
/freebsd-current/sys/rpc/ |
H A D | svc.c | 660 svc_sendreply_common(struct svc_req *rqstp, struct rpc_msg *rply, argument 663 SVCXPRT *xprt = rqstp->rq_xprt; 666 if (rqstp->rq_args) { 667 m_freem(rqstp->rq_args); 668 rqstp->rq_args = NULL; 673 rply, svc_getrpccaller(rqstp), body); 675 if (!SVCAUTH_WRAP(&rqstp->rq_auth, &body)) 678 ok = SVC_REPLY(xprt, rply, rqstp->rq_addr, body, &rqstp->rq_reply_seq); 679 if (rqstp 691 svc_sendreply(struct svc_req *rqstp, xdrproc_t xdr_results, void * xdr_location) argument 720 svc_sendreply_mbuf(struct svc_req *rqstp, struct mbuf *m) argument 739 svcerr_noproc(struct svc_req *rqstp) argument 761 svcerr_decode(struct svc_req *rqstp) argument 783 svcerr_systemerr(struct svc_req *rqstp) argument 805 svcerr_auth(struct svc_req *rqstp, enum auth_stat why) argument 827 svcerr_weakauth(struct svc_req *rqstp) argument 837 svcerr_noprog(struct svc_req *rqstp) argument 859 svcerr_progvers(struct svc_req *rqstp, rpcvers_t low_vers, rpcvers_t high_vers) argument 1031 svc_executereq(struct svc_req *rqstp) argument 1163 struct svc_req *rqstp; local 1440 svc_getargs(struct svc_req *rqstp, xdrproc_t xargs, void *args) argument 1457 svc_freeargs(struct svc_req *rqstp, xdrproc_t xargs, void *args) argument 1471 svc_freereq(struct svc_req *rqstp) argument [all...] |
/freebsd-current/usr.sbin/rpcbind/ |
H A D | rpcb_svc.c | 65 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) argument 79 rpcbs_procinfo(RPCBVERS_3_STAT, rqstp->rq_proc); 81 switch (rqstp->rq_proc) { 91 check_access(transp, rqstp->rq_proc, NULL, RPCBVERS); 124 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS); 169 if (!check_access(transp, rqstp->rq_proc, &argument, RPCBVERS)) { 173 result = (*local)(&argument, rqstp, transp, RPCBVERS); 206 rpcbproc_getaddr_3_local(void *arg, struct svc_req *rqstp __unused, 222 return (rpcbproc_getaddr_com(regp, rqstp, trans [all...] |
H A D | pmap_svc.c | 64 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) argument 66 rpcbs_procinfo(RPCBVERS_2_STAT, rqstp->rq_proc); 67 switch (rqstp->rq_proc) { 76 check_access(xprt, rqstp->rq_proc, NULL, PMAPVERS); 89 pmapproc_change(rqstp, xprt, rqstp->rq_proc); 96 pmapproc_change(rqstp, xprt, rqstp->rq_proc); 104 pmapproc_getport(rqstp, xprt); 115 pmapproc_dump(rqstp, xpr [all...] |
H A D | rpcb_svc_4.c | 66 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) argument 79 rpcbs_procinfo(RPCBVERS_4_STAT, rqstp->rq_proc); 81 switch (rqstp->rq_proc) { 90 check_access(transp, rqstp->rq_proc, NULL, RPCBVERS4); 146 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); 155 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); 220 if (!check_access(transp, rqstp->rq_proc, &argument, RPCBVERS4)) { 224 result = (*local)(&argument, rqstp, trans 259 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t rpcbversnum __unused) argument 289 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t versnum __unused) argument [all...] |
/freebsd-current/usr.sbin/ypserv/ |
H A D | yp_server.c | 74 ypproc_null_2_svc(void *argp, struct svc_req *rqstp) argument 80 if (yp_access(NULL, NULL, (struct svc_req *)rqstp)) 82 if (yp_access(NULL, (struct svc_req *)rqstp)) 92 ypproc_domain_2_svc(domainname *argp, struct svc_req *rqstp) argument 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) argument 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) argument 205 ypproc_first_2_svc(ypreq_nokey *argp, struct svc_req *rqstp) argument 237 ypproc_next_2_svc(ypreq_key *argp, struct svc_req *rqstp) argument 319 ypproc_xfr_2_svc(ypreq_xfr *argp, struct svc_req *rqstp) argument 424 ypproc_clear_2_svc(void *argp, struct svc_req *rqstp) argument 486 ypproc_all_2_svc(ypreq_nokey *argp, struct svc_req *rqstp) argument 573 ypproc_master_2_svc(ypreq_nokey *argp, struct svc_req *rqstp) argument 621 ypproc_order_2_svc(ypreq_nokey *argp, struct svc_req *rqstp) argument 728 ypproc_maplist_2_svc(domainname *argp, struct svc_req *rqstp) argument 791 ypoldproc_null_1_svc(void *argp, struct svc_req *rqstp) argument 797 ypoldproc_domain_1_svc(domainname *argp, struct svc_req *rqstp) argument 803 ypoldproc_domain_nonack_1_svc(domainname *argp, struct svc_req *rqstp) argument 812 ypoldproc_match_1_svc(yprequest *argp, struct svc_req *rqstp) argument 840 ypoldproc_first_1_svc(yprequest *argp, struct svc_req *rqstp) argument 871 ypoldproc_next_1_svc(yprequest *argp, struct svc_req *rqstp) argument 901 ypoldproc_poll_1_svc(yprequest *argp, struct svc_req *rqstp) argument 952 ypoldproc_push_1_svc(yprequest *argp, struct svc_req *rqstp) argument 964 ypoldproc_pull_1_svc(yprequest *argp, struct svc_req *rqstp) argument 976 ypoldproc_get_1_svc(yprequest *argp, struct svc_req *rqstp) argument [all...] |
H A D | yp_access.c | 210 yp_access(const char *map, const char *domain, const struct svc_req *rqstp) argument 213 yp_access(const char *map, const struct svc_req *rqstp) 226 if (rqstp->rq_prog != YPPASSWDPROG && rqstp->rq_prog != YPPROG) { 228 (unsigned long)rqstp->rq_prog, 229 (unsigned long)rqstp->rq_proc); 232 yp_procedure = rqstp->rq_prog == YPPASSWDPROG ? 234 yp_procs[rqstp->rq_proc + (12 * (rqstp->rq_vers - 1))]; 237 rqhost = svc_getcaller(rqstp [all...] |
H A D | yp_dnslookup.c | 408 yp_async_lookup_name(struct svc_req *rqstp, char *name, int af) argument 417 if (getsockopt(rqstp->rq_xprt->xp_fd, SOL_SOCKET, 425 yp_find_dnsqent(svcudp_get_xid(rqstp->rq_xprt),BY_RPC_XID) != NULL) 433 q->xprt = rqstp->rq_xprt; 434 q->ypvers = rqstp->rq_vers; 463 yp_async_lookup_addr(struct svc_req *rqstp, char *addr, int af) argument 475 if (getsockopt(rqstp->rq_xprt->xp_fd, SOL_SOCKET, 483 yp_find_dnsqent(svcudp_get_xid(rqstp->rq_xprt),BY_RPC_XID) != NULL) 518 q->xprt = rqstp->rq_xprt; 519 q->ypvers = rqstp [all...] |
/freebsd-current/libexec/rpc.rusersd/ |
H A D | rusers_proc.c | 185 rusers_num(void *argp __unused, struct svc_req *rqstp __unused) 224 rusersproc_names_2_svc(void *argp __unused, struct svc_req *rqstp __unused) 231 rusersproc_allnames_2_svc(void *argp __unused, struct svc_req *rqstp __unused) 238 rusersproc_names_1_svc(void *argp __unused, struct svc_req *rqstp __unused) 245 rusersproc_allnames_1_svc(void *argp __unused, struct svc_req *rqstp __unused) 254 rusers_service(struct svc_req *rqstp, SVCXPRT *transp) argument 263 switch (rqstp->rq_proc) { 277 switch (rqstp->rq_vers) { 294 switch (rqstp->rq_vers) { 317 result = (*local)(&argument, rqstp); [all...] |
/freebsd-current/libexec/rpc.rwalld/ |
H A D | rwalld.c | 54 void wallprog_1(struct svc_req *rqstp, SVCXPRT *transp); 144 wallproc_wall_1_svc(wrapstring *s, struct svc_req *rqstp __unused) 163 wallprog_1(struct svc_req *rqstp, SVCXPRT *transp) argument 170 typedef void *(svc_cb)(void *arg, struct svc_req *rqstp); 173 switch (rqstp->rq_proc) { 193 result = (*local)(&argument, rqstp);
|
/freebsd-current/libexec/rpc.rstatd/ |
H A D | rstat_proc.c | 104 rstatproc_stats_3_svc(void *argp, struct svc_req *rqstp) argument 113 rstatproc_stats_2_svc(void *argp, struct svc_req *rqstp) argument 122 rstatproc_stats_1_svc(void *argp, struct svc_req *rqstp) argument 131 rstatproc_havedisk_3_svc(void *argp, struct svc_req *rqstp) argument 143 rstatproc_havedisk_2_svc(void *argp, struct svc_req *rqstp) argument 145 return(rstatproc_havedisk_3_svc(argp, rqstp)); 149 rstatproc_havedisk_1_svc(void *argp, struct svc_req *rqstp) argument 151 return(rstatproc_havedisk_3_svc(argp, rqstp)); 395 rstat_service(struct svc_req *rqstp, SVCXPRT *transp) argument 402 typedef void *(svc_cb)(void *arg, struct svc_req *rqstp); [all...] |
/freebsd-current/usr.sbin/rpc.ypxfrd/ |
H A D | ypxfrd_server.c | 86 ypxfrd_getmap_1_svc(ypxfr_mapname *argp, struct svc_req *rqstp) argument 98 if (yp_access(argp->xfrmap, (struct svc_req *)rqstp)) { 140 svc_sendreply(rqstp->rq_xprt, (xdrproc_t)xdr_my_xfr, &result);
|
/freebsd-current/lib/libc/rpc/ |
H A D | svc_simple.c | 243 universal(struct svc_req *rqstp, SVCXPRT *transp) argument 255 if (rqstp->rq_proc == NULLPROC) { 262 prog = rqstp->rq_prog; 263 vers = rqstp->rq_vers; 264 proc = rqstp->rq_proc;
|
/freebsd-current/libexec/rpc.sprayd/ |
H A D | sprayd.c | 125 spray_service(struct svc_req *rqstp, SVCXPRT *transp) argument 130 switch (rqstp->rq_proc) {
|
/freebsd-current/sys/kgssapi/ |
H A D | gsstest.c | 877 static void server_program_1(struct svc_req *rqstp, register SVCXPRT *transp); 923 server_program_1(struct svc_req *rqstp, register SVCXPRT *transp) argument 929 if (rqstp->rq_cred.oa_flavor != RPCSEC_GSS) { 930 svcerr_weakauth(rqstp); 934 if (!rpc_gss_getcred(rqstp, &rcred, &ucred, NULL)) { 935 svcerr_systemerr(rqstp); 947 switch (rqstp->rq_proc) { 949 if (!svc_getargs(rqstp, (xdrproc_t) xdr_void, 0)) { 950 svcerr_decode(rqstp); 953 if (!svc_sendreply(rqstp, (xdrproc_ [all...] |
/freebsd-current/usr.sbin/keyserv/ |
H A D | keyserv.c | 78 static void keyprogram(struct svc_req *rqstp, SVCXPRT *transp); 562 keyprogram(struct svc_req *rqstp, SVCXPRT *transp) argument 584 switch (rqstp->rq_proc) { 665 if (root_auth(transp, rqstp) == 0) { 673 if (rqstp->rq_cred.oa_flavor != AUTH_SYS) { 681 uid = ((struct authsys_parms *)rqstp->rq_clntcred)->aup_uid; 704 root_auth(SVCXPRT *trans, struct svc_req *rqstp) argument 726 if (rqstp->rq_cred.oa_flavor == AUTH_SYS) { 728 rqstp->rq_clntcred)->aup_uid) 735 ((uid_t) ((struct authunix_parms *)rqstp [all...] |
/freebsd-current/usr.sbin/rpc.yppasswdd/ |
H A D | yppasswdd_server.c | 467 yppasswdproc_update_1_svc(yppasswd *argp, struct svc_req *rqstp) argument 497 rqhost = svc_getcaller(rqstp->rq_xprt); 512 if (yp_access(resvport ? "master.passwd.byname" : NULL, rqstp)) { 514 svcerr_auth(rqstp->rq_xprt, AUTH_BADCRED); 574 svcerr_decode(rqstp->rq_xprt); 736 struct svc_req *rqstp) 754 transp = rqstp->rq_xprt; 767 if (rqstp->rq_cred.oa_flavor != AUTH_SYS) { 782 svcerr_auth(rqstp->rq_xprt, AUTH_BADCRED); 735 yppasswdproc_update_master_1_svc(master_yppasswd *argp, struct svc_req *rqstp) argument
|
/freebsd-current/tools/regression/rpcsec_gss/ |
H A D | rpctest.c | 167 server_program_1(struct svc_req *rqstp, register SVCXPRT *transp) argument 173 if (rqstp->rq_cred.oa_flavor != RPCSEC_GSS) { 178 if (!rpc_gss_getcred(rqstp, &rcred, &ucred, NULL)) { 191 switch (rqstp->rq_proc) {
|
/freebsd-current/usr.sbin/gssd/ |
H A D | gssd.c | 105 extern void gssd_1(struct svc_req *rqstp, SVCXPRT *transp); 389 gssd_null_1_svc(void *argp, void *result, struct svc_req *rqstp) argument 397 gssd_init_sec_context_1_svc(init_sec_context_args *argp, init_sec_context_res *result, struct svc_req *rqstp) argument 520 gssd_accept_sec_context_1_svc(accept_sec_context_args *argp, accept_sec_context_res *result, struct svc_req *rqstp) argument 571 gssd_delete_sec_context_1_svc(delete_sec_context_args *argp, delete_sec_context_res *result, struct svc_req *rqstp) argument 590 gssd_export_sec_context_1_svc(export_sec_context_args *argp, export_sec_context_res *result, struct svc_req *rqstp) argument 613 gssd_import_name_1_svc(import_name_args *argp, import_name_res *result, struct svc_req *rqstp) argument 676 gssd_canonicalize_name_1_svc(canonicalize_name_args *argp, canonicalize_name_res *result, struct svc_req *rqstp) argument 701 gssd_export_name_1_svc(export_name_args *argp, export_name_res *result, struct svc_req *rqstp) argument 721 gssd_release_name_1_svc(release_name_args *argp, release_name_res *result, struct svc_req *rqstp) argument 740 gssd_pname_to_uid_1_svc(pname_to_uid_args *argp, pname_to_uid_res *result, struct svc_req *rqstp) argument 813 gssd_acquire_cred_1_svc(acquire_cred_args *argp, acquire_cred_res *result, struct svc_req *rqstp) argument 932 gssd_set_cred_option_1_svc(set_cred_option_args *argp, set_cred_option_res *result, struct svc_req *rqstp) argument 952 gssd_release_cred_1_svc(release_cred_args *argp, release_cred_res *result, struct svc_req *rqstp) argument 971 gssd_display_status_1_svc(display_status_args *argp, display_status_res *result, struct svc_req *rqstp) argument 985 gssd_ip_to_dns_1_svc(ip_to_dns_args *argp, ip_to_dns_res *result, struct svc_req *rqstp) argument [all...] |