Searched refs:fromplen (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 96 static socklen_t fromplen; variable 386 fromplen = sizeof (struct sockaddr_in); in main() 388 (void) memset(&client, 0, fromplen); in main() 393 fromplen = sizeof (struct sockaddr_in6); in main() 395 (void) memset(&client, 0, fromplen); in main() 419 if (bind(peer, (struct sockaddr *)&client, fromplen) < 0) { in main() 442 &fromplen) < 0) in main() 495 fromplen = sizeof (struct sockaddr_in); in delayed_responder() 497 (void) memset(&client, 0, fromplen); in delayed_responder() 502 fromplen = sizeof (struct sockaddr_in6); in delayed_responder() [all …]
|
H A D | in.rexecd.c | 183 socklen_t fromplen; in doit() local 206 fromplen = sizeof (struct sockaddr_in); in doit() 210 fromplen = sizeof (struct sockaddr_in6); in doit() 221 if (getnameinfo((const struct sockaddr *) fromp, fromplen, hostname, in doit() 259 if (bind(s, (struct sockaddr *)&asin, fromplen) < 0) in doit() 267 if (connect(s, (struct sockaddr *)fromp, fromplen) < 0) in doit()
|
H A D | in.rshd.c | 463 int fromplen; in doit() local 491 fromplen = sizeof (struct sockaddr_in); in doit() 495 fromplen = sizeof (struct sockaddr_in6); in doit() 528 no_name = (getnameinfo((const struct sockaddr *) fromp, fromplen, in doit() 624 if (connect(s, (struct sockaddr *)fromp, fromplen) < 0) { in doit()
|
H A D | in.rlogind.c | 944 int fromplen; in doit() local 964 fromplen = sizeof (struct sockaddr_in); in doit() 972 fromplen = sizeof (struct sockaddr_in6); in doit() 1005 fromplen, hostname, sizeof (hostname), in doit()
|