/titanic_41/usr/src/lib/librpcsvc/common/ |
H A D | bindresvport.c | 76 struct t_bind *tbind, *tres; local 125 tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); 126 if (tbind == NULL) { 133 (void) t_free((char *)tbind, T_BIND); 137 (void) memset((char *)tbind->addr.buf, 0, tbind->addr.len); 141 sin6 = (struct sockaddr_in6 *)tbind->addr.buf; 144 sin = (struct sockaddr_in *)tbind->addr.buf; 148 tbind->qlen = 0; 149 tbind->addr.len = tbind->addr.maxlen; 179 res = t_bind(fd, tbind, tres); [all …]
|
/titanic_41/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_resolve.c | 191 cleanup_tli_parms(struct t_bind *tbind, int fd) in cleanup_tli_parms() argument 193 if (tbind != NULL) { in cleanup_tli_parms() 194 t_free((char *)tbind, T_BIND); in cleanup_tli_parms() 195 tbind = NULL; in cleanup_tli_parms() 275 setup_nb_parms(struct netconfig *nconf, struct t_bind *tbind, in setup_nb_parms() argument 295 memcpy(tbind->addr.buf, retaddrs->n_addrs->buf, in setup_nb_parms() 297 tbind->addr.len = retaddrs->n_addrs->len; in setup_nb_parms() 298 tbind->addr.maxlen = retaddrs->n_addrs->maxlen; in setup_nb_parms() 304 tbind->addr.buf)->sin_port = in setup_nb_parms() 308 tbind->addr.buf)->sin6_port = in setup_nb_parms() [all …]
|
/titanic_41/usr/src/lib/libnsl/yp/ |
H A D | yp_rsvd.c | 45 struct t_bind *tbind; in __yp_clnt_create_rsvdport_netid_req() local 71 if ((tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR)) == NULL) { in __yp_clnt_create_rsvdport_netid_req() 76 svcaddr = &(tbind->addr); in __yp_clnt_create_rsvdport_netid_req() 80 (void) t_free((char *)tbind, T_BIND); in __yp_clnt_create_rsvdport_netid_req() 88 (void) t_free((char *)tbind, T_BIND); in __yp_clnt_create_rsvdport_netid_req() 90 (void) t_free((char *)tbind, T_BIND); in __yp_clnt_create_rsvdport_netid_req()
|
/titanic_41/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 344 struct t_bind *tbind = NULL; in get_the_addr() local 357 if ((tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR)) == NULL) in get_the_addr() 361 if (rpcb_getaddr(prog, vers, nconf, &tbind->addr, in get_the_addr() 369 ((struct sockaddr_in *)tbind->addr.buf)->sin_port in get_the_addr() 374 ((struct sockaddr_in6 *)tbind->addr.buf)->sin6_port in get_the_addr() 380 cl = clnt_tli_create(fd, nconf, &tbind->addr, prog, vers, 0, 0); in get_the_addr() 398 nb = &(tbind->addr); in get_the_addr() 478 *nb = tbind->addr; /* structure copy */ in get_the_addr() 488 (void) memcpy(nb->buf, tbind->addr.buf, tbind->addr.len); in get_the_addr() 501 if (tbind) { in get_the_addr() [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | clnt_generic.c | 304 struct t_bind *tbind = NULL; in clnt_create_service_timed() local 380 tbind = NULL; in clnt_create_service_timed() 405 if ((tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR)) in clnt_create_service_timed() 417 if (tbind) in clnt_create_service_timed() 418 (void) t_free((char *)tbind, T_BIND); in clnt_create_service_timed() 422 (void) memcpy(tbind->addr.buf, raddrs->n_addrs->buf, in clnt_create_service_timed() 424 tbind->addr.len = raddrs->n_addrs->len; in clnt_create_service_timed() 431 tbind->addr.buf)->sin_port = htons(port); in clnt_create_service_timed() 435 tbind->addr.buf)->sin6_port = htons(port); in clnt_create_service_timed() 438 clnt = _clnt_tli_create_timed(fd, nconf, &tbind->addr, in clnt_create_service_timed() [all …]
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | ypxfrd_client.c | 219 struct t_bind *tbind; local 252 if ((tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR)) == 261 svcaddr = &(tbind->addr); 264 (void) t_free((char *)tbind, T_BIND); 274 (void) t_free((char *)tbind, T_BIND); 283 (void) t_free((char *)tbind, T_BIND);
|
/titanic_41/usr/src/cmd/rexd/ |
H A D | mount_nfs.c | 673 struct t_bind *tbind = NULL; in get_addr() local 706 tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); in get_addr() 707 if (tbind == NULL) in get_addr() 710 if (rpcb_getaddr(prog, vers, nconf, &tbind->addr, hostname) == 0) { in get_addr() 711 t_free((char *)tbind, T_BIND); in get_addr() 712 tbind = NULL; in get_addr() 725 *nb = tbind->addr; in get_addr() 733 (void) memcpy(nb->buf, tbind->addr.buf, tbind->addr.len); in get_addr() 736 if (tbind) in get_addr() 737 t_free((char *)tbind, T_BIND); in get_addr()
|
/titanic_41/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 2875 struct t_bind *tbind = NULL; in get_server_netinfo() local 2880 prog, vers, nconf, port, tinfo, tbind, fhp, in get_server_netinfo() 2916 prog, vers, nconf, port, tinfo, tbind, fhp, in get_server_netinfo() 2973 prog, vers, nconf, port, tinfo, tbind, fhp, in get_server_netinfo() 3007 struct t_info *tinfo, struct t_bind *tbind, caddr_t *fhp, in get_server_fh() argument 3032 if ((tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR)) == NULL) in get_server_fh() 3035 if (setup_nb_parms(nconf, tbind, tinfo, hostname, fd, in get_server_fh() 3040 cl = clnt_tli_create(fd, nconf, &tbind->addr, prog, vers, 0, 0); in get_server_fh() 3201 nb->buf = (char *)malloc(tbind->addr.maxlen); in get_server_fh() 3209 (void) memcpy(nb->buf, tbind->addr.buf, tbind->addr.len); in get_server_fh() [all …]
|
/titanic_41/usr/src/cmd/fs.d/nfs/mount/ |
H A D | mount.c | 1398 struct t_bind *tbind = NULL; in get_the_addr() local 1413 if ((tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR)) in get_the_addr() 1452 memcpy(tbind->addr.buf, retaddrs->n_addrs->buf, in get_the_addr() 1454 tbind->addr.len = retaddrs->n_addrs->len; in get_the_addr() 1459 if (rpcb_getaddr(prog, vers, nconf, &tbind->addr, in get_the_addr() 1468 ((struct sockaddr_in *)tbind->addr.buf)->sin_port in get_the_addr() 1471 ((struct sockaddr_in6 *)tbind->addr.buf)->sin6_port in get_the_addr() 1476 cl = clnt_tli_create(fd, nconf, &tbind->addr, prog, vers, 0, 0); in get_the_addr() 1669 *nb = tbind->addr; in get_the_addr() 1677 (void) memcpy(nb->buf, tbind->addr.buf, tbind->addr.len); in get_the_addr() [all …]
|
/titanic_41/usr/src/uts/common/rpc/ |
H A D | rpcmod.c | 1752 struct T_bind_ack *tbind; in mir_rput_proto() local 1758 tbind = (struct T_bind_ack *)mp->b_rptr; in mir_rput_proto() 1759 if (tbind->CONIND_number > 0) { in mir_rput_proto()
|
/titanic_41/usr/src/cmd/sgs/libld/common/ |
H A D | libld.msg | 77 @ MSG_ARG_DETAIL_CBS "\t[-B symbolic]\tbind external references to \
|