Home
last modified time | relevance | path

Searched refs:sock_len (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c654 socklen_t sock_len; in select_server_addr() local
667 sock_len = sizeof (struct sockaddr_in); in select_server_addr()
674 sock_len = sizeof (struct sockaddr_in6); in select_server_addr()
685 if (_so_connect(tmp_fd, sock, sock_len, SOV_SOCKBSD) < 0) { in select_server_addr()
709 if (_so_getsockname(tmp_fd, sock, &sock_len, SOV_DEFAULT) < 0) { in select_server_addr()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c1148 size_t sock_len; in select_src_addr() local
1163 sock_len = sizeof (struct sockaddr_in); in select_src_addr()
1170 sock_len = sizeof (struct sockaddr_in6); in select_src_addr()
1181 if (connect(tmp_fd, sock, sock_len) < 0) { in select_src_addr()
1198 if (getsockname(tmp_fd, sock, &sock_len) < 0) { in select_src_addr()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c1801 size_t sock_len; in select_src_addr() local
1816 sock_len = sizeof (struct sockaddr_in); in select_src_addr()
1823 sock_len = sizeof (struct sockaddr_in6); in select_src_addr()
1834 if (connect(tmp_fd, sock, sock_len) < 0) { in select_src_addr()
1851 if (getsockname(tmp_fd, sock, &sock_len) < 0) { in select_src_addr()