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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c95 static socklen_t fromplen; variable
385 fromplen = sizeof (struct sockaddr_in);
387 (void) memset(&client, 0, fromplen);
392 fromplen = sizeof (struct sockaddr_in6);
394 (void) memset(&client, 0, fromplen);
418 if (bind(peer, (struct sockaddr *)&client, fromplen) < 0) {
441 &fromplen) < 0)
494 fromplen = sizeof (struct sockaddr_in);
496 (void) memset(&client, 0, fromplen);
501 fromplen
[all...]
H A Din.rexecd.c181 socklen_t fromplen; local
204 fromplen = sizeof (struct sockaddr_in);
208 fromplen = sizeof (struct sockaddr_in6);
219 if (getnameinfo((const struct sockaddr *) fromp, fromplen, hostname,
257 if (bind(s, (struct sockaddr *)&asin, fromplen) < 0)
265 if (connect(s, (struct sockaddr *)fromp, fromplen) < 0)
H A Din.rshd.c463 int fromplen; local
491 fromplen = sizeof (struct sockaddr_in);
495 fromplen = sizeof (struct sockaddr_in6);
528 no_name = (getnameinfo((const struct sockaddr *) fromp, fromplen,
624 if (connect(s, (struct sockaddr *)fromp, fromplen) < 0) {
H A Din.rlogind.c944 int fromplen; local
964 fromplen = sizeof (struct sockaddr_in);
972 fromplen = sizeof (struct sockaddr_in6);
1005 fromplen, hostname, sizeof (hostname),

Completed in 51 milliseconds