Lines Matching refs:retaddr
229 tlx_bind(int fd, const struct netbuf *reqaddr, struct netbuf *retaddr, int qlen) in tlx_bind() argument
234 if (retaddr != NULL) { /* caller requests bound address be returned */ in tlx_bind()
235 bret.addr.buf = retaddr->buf; in tlx_bind()
236 bret.addr.maxlen = retaddr->maxlen; in tlx_bind()
247 if (t_bind(fd, &breq, retaddr != NULL ? &bret : NULL) < 0) in tlx_bind()
250 if (retaddr != NULL) in tlx_bind()
251 retaddr->len = bret.addr.len; in tlx_bind()
315 struct netbuf *retaddr; in create_bound_endpoint() local
356 retaddr = &(rpc->netbuf); in create_bound_endpoint()
361 retaddr = &netbuf; in create_bound_endpoint()
367 if ((tlx_bind(fd, reqaddr, retaddr, qlen) == -1) || in create_bound_endpoint()
368 ((reqaddr != NULL) && !netbufs_equal(reqaddr, retaddr))) { in create_bound_endpoint()