Searched refs:tbind (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/librpcsvc/common/
H A Dbindresvport.c73 struct t_bind *tbind, *tres; local
122 tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR);
123 if (tbind == NULL) {
130 (void) t_free((char *)tbind, T_BIND);
134 (void) memset((char *)tbind->addr.buf, 0, tbind->addr.len);
138 sin6 = (struct sockaddr_in6 *)tbind->addr.buf;
141 sin = (struct sockaddr_in *)tbind->addr.buf;
145 tbind->qlen = 0;
146 tbind
[all...]
/osnet-11/usr/src/lib/libnsl/yp/
H A Dyp_rsvd.c41 struct t_bind *tbind; local
66 if ((tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR)) == NULL) {
71 svcaddr = &(tbind->addr);
75 (void) t_free((char *)tbind, T_BIND);
83 (void) t_free((char *)tbind, T_BIND);
85 (void) t_free((char *)tbind, T_BIND);
/osnet-11/usr/src/lib/librdc/common/
H A Dnetaddrs.c343 struct t_bind *tbind = NULL; local
355 if ((tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR)) == NULL)
359 if (rpcb_getaddr(prog, vers, nconf, &tbind->addr,
366 ((struct sockaddr_in *)tbind->addr.buf)->sin_port
370 ((struct sockaddr_in6 *)tbind->addr.buf)->sin6_port
376 cl = clnt_tli_create(fd, nconf, &tbind->addr, prog, vers, 0, 0);
394 nb = &(tbind->addr);
470 *nb = tbind->addr; /* structure copy */
480 (void) memcpy(nb->buf, tbind->addr.buf, tbind
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dclnt_generic.c301 struct t_bind *tbind = NULL; local
377 tbind = NULL;
401 if ((tbind = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR))
413 if (tbind)
414 (void) t_free((char *)tbind, T_BIND);
418 (void) memcpy(tbind->addr.buf, raddrs->n_addrs->buf,
420 tbind->addr.len = raddrs->n_addrs->len;
426 tbind->addr.buf)->sin_port = htons(port);
429 tbind->addr.buf)->sin6_port = htons(port);
432 clnt = _clnt_tli_create_timed(fd, nconf, &tbind
[all...]

Completed in 36 milliseconds