Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c95 static socklen_t fromplen; variable
385 fromplen = sizeof (struct sockaddr_in); in main()
387 (void) memset(&client, 0, fromplen); in main()
392 fromplen = sizeof (struct sockaddr_in6); in main()
394 (void) memset(&client, 0, fromplen); in main()
418 if (bind(peer, (struct sockaddr *)&client, fromplen) < 0) { in main()
441 &fromplen) < 0) in main()
494 fromplen = sizeof (struct sockaddr_in); in delayed_responder()
496 (void) memset(&client, 0, fromplen); in delayed_responder()
501 fromplen = sizeof (struct sockaddr_in6); in delayed_responder()
[all …]
H A Din.rexecd.c181 socklen_t fromplen; in doit() local
204 fromplen = sizeof (struct sockaddr_in); in doit()
208 fromplen = sizeof (struct sockaddr_in6); in doit()
219 if (getnameinfo((const struct sockaddr *) fromp, fromplen, hostname, in doit()
257 if (bind(s, (struct sockaddr *)&asin, fromplen) < 0) in doit()
265 if (connect(s, (struct sockaddr *)fromp, fromplen) < 0) in doit()
H A Din.rshd.c463 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 Din.rlogind.c944 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()