Lines Matching refs:so_family
361 cp = (so->so_family == AF_UNIX) ? socktpi_unix_cache :
394 (so->so_family == AF_INET || so->so_family == AF_INET6) &&
432 if (so->so_family == AF_UNIX) {
483 ASSERT(so->so_family == AF_INET ||
484 so->so_family == AF_INET6);
538 if (so->so_family == AF_UNIX && so->so_type == SOCK_STREAM) {
597 ASSERT(so->so_family == AF_INET || so->so_family == AF_INET6);
605 sti->sti_laddr_sa->sa_family = so->so_family;
686 if (so->so_family == AF_UNIX) {
712 switch (so->so_family) {
722 sti->sti_laddr_sa->sa_family = so->so_family;
741 sti->sti_laddr_len = (so->so_family == AF_INET) ?
746 sti->sti_laddr_sa->sa_family = so->so_family;
818 switch (so->so_family) {
832 * Verify so_family matches the bound family.
836 if (name->sa_family != so->so_family) {
848 error = name->sa_family != so->so_family ?
854 (name->sa_family != so->so_family)) {
866 * Force a zero sa_family to match so_family.
875 name->sa_family = so->so_family;
889 error = name->sa_family != so->so_family ?
894 if (name->sa_family != so->so_family) {
953 switch (so->so_family) {
1027 } /* end switch (so->so_family) */
1053 (so->so_family == AF_INET || so->so_family == AF_INET6) &&
1079 (so->so_family == AF_INET || so->so_family == AF_INET6))
1118 ASSERT(so->so_family == AF_UNIX);
1132 addrlen = (t_uscalar_t)(so->so_family == AF_UNIX ?
1213 switch (so->so_family) {
1262 if (so->so_family == AF_INET) {
1328 switch (so->so_family) {
1510 !((so->so_family == AF_INET || so->so_family == AF_INET6) &&
1533 if (so->so_family == AF_UNIX) {
1546 if (!((so->so_family == AF_INET || so->so_family == AF_INET6) &&
1703 switch (so->so_family) {
1748 if (so->so_family == AF_UNIX) {
1856 if ((nso->so_family == AF_INET || nso->so_family == AF_INET6) &&
1947 if (nso->so_family == AF_INET) {
2104 sinlen = (nso->so_family == AF_INET) ? sizeof (sin_t) : sizeof (sin6_t);
2105 if ((nso->so_family == AF_INET) || (nso->so_family == AF_INET6) &&
2111 } else if (nso->so_family == AF_UNIX) {
2112 ASSERT(so->so_family == AF_UNIX);
2122 nsti->sti_laddr_sa->sa_family = nso->so_family;
2260 if ((so->so_family == AF_INET || so->so_family == AF_INET6) &&
2313 if ((so->so_family == AF_INET ||
2314 so->so_family == AF_INET6) &&
2356 ASSERT(so->so_family == AF_UNIX);
2388 if (so->so_family == AF_UNIX) {
2451 if ((so->so_family != AF_INET && so->so_family != AF_INET6) ||
2462 ASSERT(so->so_family != AF_UNIX);
2470 switch (so->so_family) {
2752 if (so->so_family == AF_UNIX && sti->sti_serv_type != T_CLTS)
2815 ASSERT(so->so_family == AF_UNIX);
3363 if (so->so_family == AF_UNIX) {
3392 if (so->so_family == AF_UNIX)
3695 if (so->so_family == AF_UNIX) {
4015 if (so->so_family == AF_UNIX) {
4333 switch (so->so_family) {
4374 pr_addr(so->so_family, name, namelen)));
4591 switch (so->so_family) {
4642 ASSERT(so->so_family == AF_INET || so->so_family == AF_INET6);
4650 ASSERT(name->sa_family == so->so_family);
4651 ASSERT(so->so_family == AF_INET ||
4653 ASSERT(so->so_family == AF_INET6 ||
4899 pr_addr(so->so_family, sti->sti_faddr_sa,
4903 if (so->so_family == AF_UNIX) {
4911 ASSERT(so->so_family != AF_UNIX && sti->sti_faddr_noxlate == 0);
4976 pr_addr(so->so_family, sti->sti_faddr_sa,
5009 pr_addr(so->so_family, sti->sti_laddr_sa,
5019 if (so->so_family == AF_UNIX) {
5098 pr_addr(so->so_family, sti->sti_laddr_sa,
5329 value = so->so_family;
5739 if (so->so_family == AF_UNIX) {
6588 if (so->so_family == AF_UNIX) {