Searched defs:bindaddr (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dbindresvport.c58 struct sockaddr_in *bindaddr; local
63 bindaddr = sin;
64 if (bindaddr == (struct sockaddr_in *)0) {
65 bindaddr = &myaddr;
66 bzero(bindaddr, sizeof (*bindaddr));
67 bindaddr->sin_family = AF_INET;
68 } else if (bindaddr->sin_family != AF_INET) {
97 bindaddr->sin_port = 0;
98 ret = bind(sd, (struct sockaddr *)bindaddr,
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/slpd/
H A Dslpd.c164 struct sockaddr_in bindaddr; local
193 (void) memset((void *)&bindaddr, 0, sizeof (bindaddr));
194 bindaddr.sin_family = AF_INET;
195 bindaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
196 bindaddr.sin_port = htons(427);
198 if (bind(lfd, (const struct sockaddr *)&bindaddr, sizeof (bindaddr))
209 addrlen = sizeof (bindaddr);
210 if ((connfd = accept(lfd, (struct sockaddr *)&bindaddr,
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_generic.c214 const struct t_bind *bindaddr, const uint_t sendsz, const uint_t recvsz)
216 return (svc_tli_create_common(fd, nconf, bindaddr, sendsz, recvsz, 0));
222 * bindaddr is NON-NULL, it performs a t_bind using the bindaddr. For
230 const struct t_bind *bindaddr, const uint_t sendsz,
365 if (bindaddr) {
366 if (t_bind(fd, (struct t_bind *)bindaddr, tres) == -1) {
380 if (bindaddr->addr.len &&
381 (memcmp(bindaddr->addr.buf, tres->addr.buf,
443 if (bindaddr) {
213 svc_tli_create(const int fd, const struct netconfig *nconf, const struct t_bind *bindaddr, const uint_t sendsz, const uint_t recvsz) argument
229 svc_tli_create_common(const int ofd, const struct netconfig *nconf, const struct t_bind *bindaddr, const uint_t sendsz, const uint_t recvsz, boolean_t mlp_flag) argument
[all...]
H A Drpc_soc.c85 struct netbuf bindaddr; local
123 bindaddr.maxlen = bindaddr.len = __rpc_get_a_size(tinfo.addr);
124 bindaddr.buf = (char *)raddr;
127 cl = clnt_tli_create(fd, nconf, &bindaddr, prog, vers,

Completed in 58 milliseconds