/freebsd-10.1-release/usr.sbin/rpcbind/ |
H A D | rpcb_svc.c | 66 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) argument 92 check_access(transp, rqstp->rq_proc, NULL, RPCBVERS); 93 (void) svc_sendreply(transp, (xdrproc_t)xdr_void, (char *)NULL); 125 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS); 159 svcerr_noproc(transp); 163 if (!svc_getargs(transp, (xdrproc_t) xdr_argument, 165 svcerr_decode(transp); 170 if (!check_access(transp, rqstp->rq_proc, &argument, RPCBVERS)) { 171 svcerr_weakauth(transp); 174 result = (*local)(&argument, rqstp, transp, RPCBVER [all...] |
H A D | rpcb_svc_4.c | 70 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) argument 94 check_access(transp, rqstp->rq_proc, NULL, RPCBVERS4); 95 (void) svc_sendreply(transp, (xdrproc_t) xdr_void, 150 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); 159 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); 213 svcerr_noproc(transp); 217 if (!svc_getargs(transp, (xdrproc_t) xdr_argument, 219 svcerr_decode(transp); 224 if (!check_access(transp, rqstp->rq_proc, &argument, RPCBVERS4)) { 225 svcerr_weakauth(transp); 264 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t rpcbversnum __unused) argument 294 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, rpcvers_t versnum __unused) argument 322 rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp __unused, SVCXPRT *transp, rpcvers_t versnum __unused) argument [all...] |
H A D | rpcb_svc_com.c | 125 rpcbproc_set_com(void *arg, struct svc_req *rqstp __unused, SVCXPRT *transp, argument 138 ans = map_set(regp, getowner(transp, owner, sizeof owner)); 213 rpcbproc_unset_com(void *arg, struct svc_req *rqstp __unused, SVCXPRT *transp, argument 226 ans = map_unset(regp, getowner(transp, owner, sizeof owner)); 308 SVCXPRT *transp, rpcvers_t rpcbversnum, rpcvers_t verstype) 318 fnd = find_service(regp->r_prog, regp->r_vers, transp->xp_netid); 324 if (!(uaddr = mergeaddr(transp, transp->xp_netid, 344 transp->xp_netid, uaddr); 351 SVCXPRT *transp __unuse 307 rpcbproc_getaddr_com(RPCB *regp, struct svc_req *rqstp __unused, SVCXPRT *transp, rpcvers_t rpcbversnum, rpcvers_t verstype) argument 365 rpcbproc_uaddr2taddr_com(void *arg, struct svc_req *rqstp __unused, SVCXPRT *transp, rpcvers_t rpcbversnum __unused) argument 392 rpcbproc_taddr2uaddr_com(void *arg, struct svc_req *rqstp __unused, SVCXPRT *transp, rpcvers_t rpcbversnum __unused) argument 599 rpcbproc_callit_com(struct svc_req *rqstp, SVCXPRT *transp, rpcproc_t reply_type, rpcvers_t versnum) argument 1378 getowner(SVCXPRT *transp, char *owner, size_t ownersize) argument [all...] |
/freebsd-10.1-release/libexec/rpc.rwalld/ |
H A D | rwalld.c | 54 void wallprog_1(struct svc_req *rqstp, SVCXPRT *transp); 65 SVCXPRT *transp; local 104 transp = svc_tli_create(0, NULL, NULL, 0, 0); 105 if (transp == NULL) { 109 ok = svc_reg(transp, WALLPROG, WALLVERS, 163 wallprog_1(struct svc_req *rqstp, SVCXPRT *transp) argument 174 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 184 svcerr_noproc(transp); 188 if (!svc_getargs(transp, (xdrproc_t)xdr_argument, &argument)) { 189 svcerr_decode(transp); [all...] |
/freebsd-10.1-release/libexec/rpc.sprayd/ |
H A D | sprayd.c | 78 SVCXPRT *transp; local 107 transp = svc_tli_create(0, NULL, NULL, 0, 0); 108 if (transp == NULL) { 112 ok = svc_reg(transp, SPRAYPROG, SPRAYVERS, 131 spray_service(struct svc_req *rqstp, SVCXPRT *transp) argument 143 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 158 svcerr_noproc(transp); 162 if (!svc_sendreply(transp, (xdrproc_t)xdr_spraycumul, &scum)) { 163 svcerr_systemerr(transp);
|
/freebsd-10.1-release/libexec/rpc.rusersd/ |
H A D | rusersd.c | 57 SVCXPRT *transp = NULL; /* Keep compiler happy. */ local 84 transp = svc_tli_create(0, NULL, NULL, 0, 0); 85 if (transp == NULL) { 89 ok = svc_reg(transp, RUSERSPROG, RUSERSVERS_IDLE, 99 ok = svc_reg(transp, RUSERSPROG, RUSERSVERS_ORIG,
|
H A D | rusers_proc.c | 257 rusers_service(struct svc_req *rqstp, SVCXPRT *transp) argument 268 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 288 svcerr_progvers(transp, RUSERSVERS_ORIG, RUSERSVERS_IDLE); 305 svcerr_progvers(transp, RUSERSVERS_ORIG, RUSERSVERS_IDLE); 312 svcerr_noproc(transp); 316 if (!svc_getargs(transp, (xdrproc_t)xdr_argument, &argument)) { 317 svcerr_decode(transp); 322 !svc_sendreply(transp, (xdrproc_t)xdr_result, result)) { 323 svcerr_systemerr(transp); 325 if (!svc_freeargs(transp, (xdrproc_ [all...] |
/freebsd-10.1-release/libexec/rpc.rstatd/ |
H A D | rstatd.c | 58 SVCXPRT *transp; local 91 transp = svc_tli_create(0, NULL, NULL, 0, 0); 92 if (transp == NULL) { 96 ok = svc_reg(transp, RSTATPROG, RSTATVERS_TIME, 106 ok = svc_reg(transp, RSTATPROG, RSTATVERS_SWTCH, 116 ok = svc_reg(transp, RSTATPROG, RSTATVERS_ORIG,
|
H A D | rstat_proc.c | 404 rstat_service(struct svc_req *rqstp, SVCXPRT *transp) argument 415 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 432 svcerr_progvers(transp, RSTATVERS_ORIG, RSTATVERS_TIME); 452 svcerr_progvers(transp, RSTATVERS_ORIG, RSTATVERS_TIME); 459 svcerr_noproc(transp); 463 if (!svc_getargs(transp, (xdrproc_t)xdr_argument, &argument)) { 464 svcerr_decode(transp); 469 !svc_sendreply(transp, (xdrproc_t)xdr_result, result)) { 470 svcerr_systemerr(transp); 472 if (!svc_freeargs(transp, (xdrproc_ [all...] |
/freebsd-10.1-release/libexec/rpc.rquotad/ |
H A D | rquotad.c | 35 static void rquota_service(struct svc_req *request, SVCXPRT *transp); 36 static void sendquota(struct svc_req *request, SVCXPRT *transp); 56 SVCXPRT *transp; local 77 transp = svc_tli_create(0, NULL, NULL, 0, 0); 78 if (transp == NULL) { 82 ok = svc_reg(transp, RQUOTAPROG, RQUOTAVERS, 102 rquota_service(struct svc_req *request, SVCXPRT *transp) argument 107 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, (char *)NULL); 111 sendquota(request, transp); 114 svcerr_noproc(transp); 123 sendquota(struct svc_req *request, SVCXPRT *transp) argument [all...] |
/freebsd-10.1-release/contrib/amd/amd/ |
H A D | amq_svc.c | 114 amq_program_1(struct svc_req *rqstp, SVCXPRT *transp) argument 132 svcerr_auth(transp, AUTH_FAILED); 203 svcerr_noproc(transp); 208 if (!svc_getargs(transp, 211 svcerr_decode(transp); 217 if (result != NULL && !svc_sendreply(transp, 220 svcerr_systemerr(transp); 223 if (!svc_freeargs(transp,
|
H A D | nfs_prot_svc.c | 78 nfs_program_2(struct svc_req *rqstp, SVCXPRT *transp) argument 112 extern int __rpc_get_local_uid(SVCXPRT *transp, uid_t *uid); 113 if (__rpc_get_local_uid(transp, &u) >= 0 && u != 0) { 186 * Cheap way to pass transp down to amfs_auto_lookuppn so it can 190 current_transp = transp; 272 svcerr_noproc(transp); 277 if (!svc_getargs(transp, 283 svcerr_decode(transp); 290 if (result != NULL && !svc_sendreply(transp, 293 svcerr_systemerr(transp); [all...] |
/freebsd-10.1-release/usr.sbin/rpc.ypupdated/ |
H A D | ypupdated_main.c | 189 register SVCXPRT *transp = NULL; local 239 transp = svcudp_create(sock); 240 if (transp == NULL) { 246 if (!svc_register(transp, YPU_PROG, YPU_VERS, ypu_prog_1, proto)) { 253 transp = svctcp_create(sock, 0, 0); 254 if (transp == NULL) { 260 if (!svc_register(transp, YPU_PROG, YPU_VERS, ypu_prog_1, proto)) { 266 if (transp == (SVCXPRT *)NULL) {
|
/freebsd-10.1-release/usr.sbin/bootparamd/bootparamd/ |
H A D | main.c | 47 SVCXPRT *transp; local 102 transp = svcudp_create(RPC_ANYSOCK); 103 if (transp == NULL) 105 if (!svc_register(transp, BOOTPARAMPROG, BOOTPARAMVERS, bootparamprog_1, IPPROTO_UDP))
|
/freebsd-10.1-release/tools/regression/rpcsec_gss/ |
H A D | rpctest.c | 169 server_program_1(struct svc_req *rqstp, register SVCXPRT *transp) argument 176 svcerr_weakauth(transp); 181 svcerr_systemerr(transp); 195 if (!svc_getargs(transp, (xdrproc_t) xdr_void, 0)) { 196 svcerr_decode(transp); 199 if (!svc_sendreply(transp, (xdrproc_t) xdr_void, 0)) { 200 svcerr_systemerr(transp); 205 if (!svc_getargs(transp, (xdrproc_t) xdr_int, 207 svcerr_decode(transp); 211 if (!svc_sendreply(transp, (xdrproc_ [all...] |
/freebsd-10.1-release/contrib/amd/hlfsd/ |
H A D | nfs_prot_svc.c | 78 nfs_program_2(struct svc_req *rqstp, SVCXPRT *transp) argument 134 * Cheap way to pass transp down to afs_lookuppn so it can 138 nfs_program_2_transp = transp; 220 svcerr_noproc(transp); 225 if (!svc_getargs(transp, 231 svcerr_decode(transp); 238 if (result != NULL && !svc_sendreply(transp, 241 svcerr_systemerr(transp); 243 if (!svc_freeargs(transp,
|
/freebsd-10.1-release/lib/libc/rpc/ |
H A D | svc_simple.c | 245 universal(rqstp, transp) 247 SVCXPRT *transp; 260 if (svc_sendreply(transp, (xdrproc_t) xdr_void, NULL) == 273 (strcmp(pl->p_netid, transp->xp_netid) == 0)) { 283 if (!svc_getargs(transp, pl->p_inproc, xdrbuf)) { 284 svcerr_decode(transp); 295 if (!svc_sendreply(transp, pl->p_outproc, outdata)) { 303 (void)svc_freeargs(transp, pl->p_inproc, xdrbuf);
|
/freebsd-10.1-release/usr.sbin/rpc.ypxfrd/ |
H A D | ypxfrd_main.c | 196 register SVCXPRT *transp = NULL; local 256 transp = svcudp_create(sock); 257 if (transp == NULL) { 263 if (!svc_register(transp, YPXFRD_FREEBSD_PROG, YPXFRD_FREEBSD_VERS, ypxfrd_freebsd_prog_1, proto)) { 270 transp = svctcp_create(sock, 0, 0); 271 if (transp == NULL) { 277 if (!svc_register(transp, YPXFRD_FREEBSD_PROG, YPXFRD_FREEBSD_VERS, ypxfrd_freebsd_prog_1, proto)) { 283 if (transp == (SVCXPRT *)NULL) {
|
/freebsd-10.1-release/usr.sbin/keyserv/ |
H A D | keyserv.c | 119 register SVCXPRT *transp; local 194 transp = svcunix_create(RPC_ANYSOCK, 0, 0, KEYSERVSOCK); 195 if (transp == NULL) 197 if (!svc_reg(transp, KEY_PROG, KEY_VERS, keyprogram, nconf)) 199 if (!svc_reg(transp, KEY_PROG, KEY_VERS2, keyprogram, nconf)) 201 if (!svc_reg(transp, CRYPT_PROG, CRYPT_VERS, crypt_prog_1, nconf)) 627 keyprogram(rqstp, transp) 629 SVCXPRT *transp; 652 svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); 727 svcerr_noproc(transp); [all...] |
/freebsd-10.1-release/usr.sbin/nfsuserd/ |
H A D | nfsuserd.c | 433 nfsuserdsrv(struct svc_req *rqstp, SVCXPRT *transp) argument 450 sport = ntohs(transp->xp_raddr.sin_port); 451 saddr = ntohl(transp->xp_raddr.sin_addr.s_addr); 455 svcerr_weakauth(transp); 460 if (!svc_sendreply(transp, (xdrproc_t)xdr_void, NULL)) 464 if (!svc_getargs(transp, (xdrproc_t)xdr_getid, 466 svcerr_decode(transp); 490 if (!svc_sendreply(transp, (xdrproc_t)xdr_retval, 495 if (!svc_getargs(transp, (xdrproc_t)xdr_getid, 497 svcerr_decode(transp); [all...] |
/freebsd-10.1-release/sys/nlm/ |
H A D | nlm_prot_svc.c | 42 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); 45 void nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp); 48 nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp) argument 96 nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) argument 243 if (!nlm_prog_1_freeresult(transp, xdr_result, (caddr_t) &result)) 250 nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp) argument 289 nlm_prog_1(rqstp, transp); 336 if (!nlm_prog_3_freeresult(transp, xdr_resul 343 nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp) argument [all...] |
/freebsd-10.1-release/usr.bin/rpcgen/ |
H A D | rpc_util.h | 207 void write_inetd_register(const char *transp); 208 void write_netid_register(const char *transp); 209 void write_nettype_register(const char *transp);
|
/freebsd-10.1-release/usr.sbin/rpc.yppasswdd/ |
H A D | yppasswdd_main.c | 163 SVCXPRT *transp = NULL; local 302 transp = svcunix_create(RPC_ANYSOCK, 0, 0, sockname); 303 if (transp == NULL) { 307 if (!svc_reg(transp, MASTER_YPPASSWDPROG, MASTER_YPPASSWDVERS, 319 if (transp == (SVCXPRT *)NULL) {
|
/freebsd-10.1-release/usr.sbin/ypserv/ |
H A D | yp_main.c | 260 SVCXPRT *transp; local 400 transp = svc_dg_create(slep->sle_sock, 0, 0); 402 transp = svc_vc_create(slep->sle_sock, RPC_MAXDATASIZE, 404 if (transp == NULL) { 409 if (!svc_reg(transp, YPPROG, YPOLDVERS, ypprog_1, NULL)) { 410 svc_destroy(transp); 416 if (!svc_reg(transp, YPPROG, YPVERS, ypprog_2, NULL)) { 417 svc_destroy(transp);
|
/freebsd-10.1-release/contrib/gcc/ |
H A D | mode-switching.c | 91 static sbitmap *transp; 154 if (e->aux || ! TEST_BIT (transp[pb->index], j)) 157 RESET_BIT (transp[pb->index], j); 439 transp = sbitmap_vector_alloc (last_basic_block, n_entities); 442 sbitmap_vector_ones (transp, last_basic_block); 473 RESET_BIT (transp[bb->index], j); 491 RESET_BIT (transp[bb->index], j); 527 antic is cleared but transp and comp are set. */ 528 RESET_BIT (transp[bb->index], j); 571 sbitmap_not (kill[bb->index], transp[b 90 static sbitmap *transp; variable [all...] |