Lines Matching refs:tres
234 struct t_bind *tres = NULL; /* bind info */
317 * In any case, try to get its bound info in tres
320 tres = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR);
321 if (tres == NULL) {
367 tres) == -1) {
382 (memcmp(bindaddr->addr.buf, tres->addr.buf,
383 (int)tres->addr.len) != 0)) {
390 tres->qlen = 64; /* Chosen Arbitrarily */
391 tres->addr.len = 0;
392 if (t_bind(fd, tres, tres) == -1) {
439 /* Copy the entire stuff in tres */
440 if (tres->addr.maxlen < bindaddr->addr.len) {
445 tres->addr.len = bindaddr->addr.len;
446 (void) memcpy(tres->addr.buf, bindaddr->addr.buf,
447 (int)tres->addr.len);
449 if (t_getname(fd, &(tres->addr), LOCALNAME) == -1)
450 tres->addr.len = 0;
469 if (t_getname(fd, &(tres->addr), LOCALNAME) == -1)
470 tres->addr.len = 0;
515 xprt->xp_ltaddr = tres->addr;
518 tres->addr.buf = NULL;
519 (void) t_free((char *)tres, T_BIND);
520 tres = NULL;
560 if (tres)
561 (void) t_free((char *)tres, T_BIND);