/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_rsvd.c | 44 struct netbuf *svcaddr; local 76 svcaddr = &(tbind->addr); 78 if (!rpcb_getaddr(prog, vers, nconf, svcaddr, hostname)) { 85 if ((clnt = clnt_tli_create(fd, nconf, svcaddr,
|
H A D | yp_bind.c | 284 struct netbuf *svcaddr = 0; local 294 svcaddr = malloc(sizeof (struct netbuf)); 295 if (svcaddr == 0) 298 svcaddr->maxlen = SOCKADDR_SIZE; 299 svcaddr->buf = malloc(SOCKADDR_SIZE); 300 if (svcaddr->buf == 0) 303 if (!rpcb_getaddr(YPPROG, YPVERS, nconf, svcaddr, addr)) 313 binding->ypbind_svcaddr = svcaddr; 331 if (svcaddr) { 332 if (svcaddr 967 struct netbuf *svcaddr; /* servers address */ local [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypxfrd_client.c | 218 struct netbuf *svcaddr; local 261 svcaddr = &(tbind->addr); 262 if (rpcb_getaddr(YPXFRD, 1, nconf, svcaddr, master) 272 if ((clnt = __nis_clnt_create(fd, nconf, 0, svcaddr, 0,
|
H A D | yppoll.c | 363 * we need to do a host lookup on the svcaddr. This code 369 struct netbuf *svcaddr = binding->ypbind_svcaddr; local 371 if (netdir_getbyaddr(nconf, &nhs, svcaddr) != ND_OK) { 374 sa = (struct sockaddr_in *)svcaddr->buf;
|
H A D | ypwhich.c | 438 struct netbuf *svcaddr = local 441 if (netdir_getbyaddr(nconf, &nhs, svcaddr) != ND_OK) { 450 sa4 = (struct sockaddr_in *)svcaddr->buf; 458 (caddr_t)svcaddr->buf, 465 (caddr_t)svcaddr->buf, 474 svcaddr->buf;
|
H A D | ypxfr.c | 1500 struct netbuf *svcaddr; local 1504 svcaddr = (struct netbuf *)calloc(1, sizeof (struct netbuf)); 1505 if (! svcaddr) 1507 svcaddr->maxlen = 32; 1508 svcaddr->len = 32; 1509 svcaddr->buf = (char *)malloc(32); 1510 if (! svcaddr->buf) { 1511 free(svcaddr); 1521 free(svcaddr->buf); 1522 free(svcaddr); [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_gen.c | 77 struct netbuf *svcaddr, /* Servers address */ 106 error = clnt_clts_kcreate(config, svcaddr, prog, vers, 123 error = clnt_cots_kcreate(config->knc_rdev, svcaddr, family, 148 (void *)config->knc_rdev, svcaddr, family, prog, vers, cred, 75 clnt_tli_kcreate( struct knetconfig *config, struct netbuf *svcaddr, rpcprog_t prog, rpcvers_t vers, uint_t max_msgsize, int retries, struct cred *cred, CLIENT **ncl) argument
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_generic.c | 512 struct netbuf *svcaddr; /* servers address */ local 525 if ((svcaddr = __rpcb_findaddr_timed(prog, vers, 532 cl = _clnt_tli_create_timed(RPC_ANYFD, nconf, svcaddr, 536 if (CLNT_CONTROL(cl, CLSET_SVC_ADDR, (void *)svcaddr) == TRUE) { 540 netdir_free((char *)svcaddr, ND_ADDR); 551 netdir_free((char *)svcaddr, ND_ADDR); 565 cl = _clnt_tli_create_timed(RPC_ANYFD, nconf, svcaddr, 569 netdir_free((char *)svcaddr, ND_ADDR); 583 struct netbuf *svcaddr, const rpcprog_t prog, const rpcvers_t vers, 586 return (_clnt_tli_create_timed(fd, nconf, svcaddr, pro 582 clnt_tli_create(const int fd, const struct netconfig *nconf, struct netbuf *svcaddr, const rpcprog_t prog, const rpcvers_t vers, const uint_t sendsz, const uint_t recvsz) argument 600 _clnt_tli_create_timed(int fd, const struct netconfig *nconf, struct netbuf *svcaddr, rpcprog_t prog, rpcvers_t vers, uint_t sendsz, uint_t recvsz, const struct timeval *tp) argument [all...] |
H A D | clnt_dg.c | 131 * If svcaddr is NULL, returns NULL. 134 clnt_dg_create(const int fd, struct netbuf *svcaddr, const rpcprog_t program, argument 153 if (svcaddr == NULL) { 194 if ((cu->cu_raddr.buf = malloc(svcaddr->len)) == NULL) 196 (void) memcpy(cu->cu_raddr.buf, svcaddr->buf, (size_t)svcaddr->len); 197 cu->cu_raddr.len = cu->cu_raddr.maxlen = svcaddr->len;
|
H A D | clnt_vc.c | 217 clnt_vc_create(const int fd, struct netbuf *svcaddr, const rpcprog_t prog, argument 220 return (_clnt_vc_create_timed(fd, svcaddr, prog, vers, sendsz, 236 _clnt_vc_create_timed(int fd, struct netbuf *svcaddr, rpcprog_t prog, argument 297 if (set_up_connection(fd, svcaddr, ct, tp) == FALSE) { 458 set_up_connection(int fd, struct netbuf *svcaddr, struct ct_data *ct, argument 480 if (svcaddr == NULL) { 485 * Connect only if state is IDLE and svcaddr known 496 sndcallstr.addr = *svcaddr; 614 if (svcaddr == NULL) { 616 * svcaddr coul [all...] |