/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | canohost.c | 42 socklen_t fromlen; in get_remote_hostname() local 47 fromlen = sizeof(from); in get_remote_hostname() 49 if (getpeername(socket, (struct sockaddr *) &from, &fromlen) < 0) { in get_remote_hostname() 54 if ((res = getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), in get_remote_hostname() 73 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), in get_remote_hostname() 308 socklen_t fromlen; in get_sock_port() local 312 fromlen = sizeof(from); in get_sock_port() 315 if (getsockname(sock, (struct sockaddr *)&from, &fromlen) < 0) { in get_sock_port() 320 if (getpeername(sock, (struct sockaddr *) & from, &fromlen) < 0) { in get_sock_port() 326 if (getnameinfo((struct sockaddr *)&from, fromlen, NULL, 0, in get_sock_port()
|
H A D | packet.c | 227 socklen_t fromlen, tolen; in packet_connection_is_on_socket() local 232 fromlen = sizeof(from); in packet_connection_is_on_socket() 234 if (getpeername(connection_in, (struct sockaddr *)&from, &fromlen) < 0) in packet_connection_is_on_socket() 240 if (fromlen != tolen || memcmp(&from, &to, fromlen) != 0) in packet_connection_is_on_socket()
|
/titanic_44/usr/src/lib/libbc/libc/sys/common/ |
H A D | recv.c | 54 int recvfrom(s, buf, len, flags, from, fromlen) in recvfrom() argument 59 int *fromlen; 62 if ((a = _recvfrom(s, buf, len, flags, from, fromlen)) == -1) {
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | iconv.c | 278 size_t tolen, fromlen; in iconv_search_alias() local 316 fromlen = search_alias(&p, buflen, fromcode); in iconv_search_alias() 317 if (fromlen) { in iconv_search_alias() 318 from_canonical = alloca(fromlen + 1); in iconv_search_alias() 319 (void) memcpy(from_canonical, p, fromlen); in iconv_search_alias() 320 from_canonical[fromlen] = '\0'; in iconv_search_alias() 325 if (tolen == 0 && fromlen == 0) { in iconv_search_alias()
|
/titanic_44/usr/src/cmd/ssh/sshd/ |
H A D | sshlogin.c | 84 static socklen_t fromlen; in record_login() local 97 fromlen = sizeof(from); in record_login() 99 (struct sockaddr *) &from, &fromlen) < 0) { in record_login()
|
/titanic_44/usr/src/ucblib/librpcsoc/ |
H A D | rtime.c | 86 int fromlen; local 120 fromlen = sizeof (from); 122 (struct sockaddr *)&from, &fromlen);
|
H A D | clnt_udp.c | 230 int fromlen; local 378 fromlen = sizeof (struct sockaddr); 381 (struct sockaddr *)&from, &fromlen);
|
/titanic_44/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 262 socklen_t *fromlen, struct sctp_sndrcvinfo *sinfo, int *msg_flags) in sctp_recvmsg() argument 271 hdr.msg_namelen = (fromlen != NULL) ? *fromlen : 0; in sctp_recvmsg() 289 if (fromlen != NULL) { in sctp_recvmsg() 290 *fromlen = hdr.msg_namelen; in sctp_recvmsg()
|
/titanic_44/usr/src/lib/libwrap/ |
H A D | workarounds.c | 129 int fix_recvfrom(sock, buf, buflen, flags, from, fromlen) in fix_recvfrom() argument 135 int *fromlen; 141 if ((ret = recvfrom(sock, buf, buflen, flags, from, fromlen)) >= 0) {
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftpsubs.c | 312 socklen_t fromlen; in synchnet() local 321 fromlen = sizeof (from); in synchnet() 323 (struct sockaddr *)&from, &fromlen) < 0) in synchnet()
|
H A D | tftp.c | 122 socklen_t fromlen; in tftp_sendfile() local 175 fromlen = (socklen_t)sizeof (from); in tftp_sendfile() 178 (struct sockaddr *)&from, &fromlen); in tftp_sendfile() 249 socklen_t fromlen; in tftp_recvfile() local 303 fromlen = (socklen_t)sizeof (from); in tftp_recvfile() 305 (struct sockaddr *)&from, &fromlen); in tftp_recvfile()
|
/titanic_44/usr/src/stand/lib/sock/ |
H A D | sock_test.c | 237 struct sockaddr *from, socklen_t *fromlen) in st_local_recvfrom() argument 240 return (recvfrom(sd, buf, len, flags, from, fromlen)); in st_local_recvfrom() 669 socklen_t fromlen; in st_recvfrom() local 686 fromlen = sizeof (from); in st_recvfrom() 688 (struct sockaddr *)&from, &fromlen)) <= 0) { in st_recvfrom()
|
H A D | socket.c | 795 socklen_t *fromlen) in recvfrom() argument 885 if (from != NULL && fromlen != NULL) { in recvfrom() 889 bcopy(&(sockets[sock_id].remote), from, MIN(*fromlen, in recvfrom() 895 if (*fromlen > sizeof (icp->igm_saddr)) in recvfrom() 896 *fromlen = sizeof (icp->igm_saddr); in recvfrom() 898 MIN(*fromlen, sizeof (struct sockaddr_in))); in recvfrom()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 139 socklen_t fromlen; local 159 fromlen = (socklen_t)sizeof (from); 160 if (getsockname(0, (struct sockaddr *)&from, &fromlen) < 0) {
|
H A D | in.rexecd.c | 114 socklen_t fromlen; in main() local 118 fromlen = (socklen_t)sizeof (from); in main() 119 if (getpeername(0, (struct sockaddr *)&from, &fromlen) < 0) { in main()
|
H A D | in.rlogind.c | 184 socklen_t fromlen; in main() local 296 fromlen = sizeof (from); in main() 297 if ((fd = accept(s, (struct sockaddr *)&from, &fromlen)) < 0) { in main() 311 fromlen = sizeof (from); in main() 312 if (getpeername(fd, (struct sockaddr *)&from, &fromlen) < 0) in main()
|
/titanic_44/usr/src/stand/lib/fs/nfs/ |
H A D | clnt_budp.c | 240 socklen_t fromlen; local 333 fromlen = sizeof (struct sockaddr); 337 (struct sockaddr *)&from, &fromlen);
|
H A D | clnt_btcp.c | 409 uint_t fromlen = sizeof (from); in readtcp() local 419 &fromlen)) == 0) { in readtcp()
|
/titanic_44/usr/src/cmd/sed/ |
H A D | defs.h | 79 size_t fromlen; member
|
H A D | process.c | 501 if (left >= y->multis[i].fromlen && in do_tr() 503 y->multis[i].fromlen) == 0) in do_tr() 508 clen = y->multis[i].fromlen; in do_tr()
|
/titanic_44/usr/src/lib/krb5/kadm5/srv/ |
H A D | chgpwd.c | 573 int fromlen; in handle_chpw() local 583 fromlen = sizeof (from); in handle_chpw() 586 &fromlen)) < 0) { in handle_chpw()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rdisc.c | 1434 socklen_t fromlen; in process_d_mib_sock() local 1444 fromlen = (socklen_t)sizeof (from); in process_d_mib_sock() 1446 (struct sockaddr *)&from, &fromlen); in process_d_mib_sock() 1467 (struct sockaddr *)&from, fromlen); in process_d_mib_sock() 1480 fromlen); in process_d_mib_sock()
|
/titanic_44/usr/src/cmd/krb5/slave/ |
H A D | kpropd.c | 324 int finet, fromlen, s; in do_standalone() local 525 socklen_t fromlen; local 563 fromlen = (socklen_t)sizeof (from); 564 if (getpeername(fd, (struct sockaddr *) &from, &fromlen) < 0) { 575 if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop),
|
/titanic_44/usr/src/lib/libsocket/common/ |
H A D | llib-lsocket | 91 struct sockaddr *from, Psocklen_t fromlen); 110 struct sockaddr *from, int *fromlen);
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | main.c | 1713 socklen_t fromlen; in process_mibsock() local 1719 fromlen = (socklen_t)sizeof (from); in process_mibsock() 1721 (struct sockaddr *)&from, &fromlen); in process_mibsock() 1733 (struct sockaddr *)&from, fromlen); in process_mibsock() 1771 (struct sockaddr *)&from, fromlen); in process_mibsock() 1796 (struct sockaddr *)&from, fromlen); in process_mibsock() 1810 (struct sockaddr *)&from, fromlen); in process_mibsock()
|