/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | kcmd.h | 66 #define SOCK_FAMILY(ss) ((ss).ss_family) 68 #define SOCK_PORT(ss) ((ss).ss_family == AF_INET6 ? \ 72 #define SOCK_ADDR(ss) ((ss).ss_family == AF_INET6 ? \ 79 ((ss).ss_family == AF_INET6 ? \ 86 ((void) ((ss).ss_family == AF_INET6 ? \
|
H A D | addr_match.c | 51 if ((fromp->ss_family == AF_INET && sin == NULL) || in find_match() 52 (fromp->ss_family == AF_INET6 && sin6 == NULL)) in find_match() 61 if (ai->ai_family != fromp->ss_family) in find_match() 104 hints.ai_family = fromp->ss_family; in check_address()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rexecd.c | 204 if (fromp->ss_family == AF_INET) { in doit() 207 asin.ss_family = AF_INET; /* used for bind */ in doit() 208 } else if (fromp->ss_family == AF_INET6) { in doit() 211 asin.ss_family = AF_INET6; /* used for bind */ in doit() 214 fromp->ss_family); in doit() 223 if (fromp->ss_family == AF_INET6) { in doit() 235 } else if (fromp->ss_family == AF_INET) { in doit() 256 s = socket(fromp->ss_family, SOCK_STREAM, 0); in doit() 262 if (fromp->ss_family == AF_INET) { in doit() 264 } else if (fromp->ss_family == AF_INET6) { in doit()
|
H A D | in.rshd.c | 488 if (fromp->ss_family == AF_INET) { in doit() 492 } else if (fromp->ss_family == AF_INET6) { in doit() 501 if (fromp->ss_family == AF_INET6) { in doit() 512 } else if (fromp->ss_family == AF_INET) { in doit() 619 if (fromp->ss_family == AF_INET) { in doit() 621 } else if (fromp->ss_family == AF_INET6) { in doit()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_misc.c | 118 (((acp)->ac_local.ss_family == AF_INET) ? \ 169 if (acp->ac_local.ss_family == AF_INET) { in tcp_ioctl_abort_build_msg() 170 tacp->ac_local.ss_family = AF_INET; in tcp_ioctl_abort_build_msg() 171 tacp->ac_remote.ss_family = AF_INET; in tcp_ioctl_abort_build_msg() 177 tacp->ac_local.ss_family = AF_INET6; in tcp_ioctl_abort_build_msg() 178 tacp->ac_remote.ss_family = AF_INET6; in tcp_ioctl_abort_build_msg() 200 af = acp->ac_local.ss_family; in tcp_ioctl_abort_dump() 364 af = acp->ac_local.ss_family; in tcp_ioctl_abort() 456 laf = acp->ac_local.ss_family; in tcp_ioctl_abort_conn() 457 raf = acp->ac_remote.ss_family; in tcp_ioctl_abort_conn()
|
H A D | tcp_sig.c | 538 if (src_s->ss_family != AF_INET) in tcpsig_sa_match4() 588 if (src_s->ss_family != AF_INET6 || sa->ts_src.ss_family != AF_INET6) in tcpsig_sa_match6() 620 if (src->ss_family != dst->ss_family) in tcpsig_sa_find_held() 739 if (src->ss_family != dst->ss_family) { in tcpsig_sa_add() 744 if (src->ss_family != AF_INET && src->ss_family != AF_INET6) { in tcpsig_sa_add() 768 sa->ts_family = src->ss_family; in tcpsig_sa_add()
|
/illumos-gate/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.h | 158 #define SS_ADDRLEN(s) ((s).ss_family == AF_INET ? \ 160 #define SS_PORT(s) ((s).ss_family == AF_INET ? \ 163 #define SS_SETPORT(s, port) ((s).ss_family == AF_INET ? \ 166 #define SS_SINADDR(s) ((s).ss_family == AF_INET ? \
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | inetutil.c | 82 if (ssp1->ss_family != ssp2->ss_family) in sockaddrcmp() 88 switch (ssp1->ss_family) { in sockaddrcmp()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | nfssrv.d | 34 ci_protocol = (P->rc_addr.ss_family == AF_INET) ? "ipv4" : "ipv6"; 38 ci_remote = (P->rc_addr.ss_family == AF_INET) ?
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 332 switch (faddr.ss_family) { in rcmd_af() 427 if (addr->ss_family == AF_INET) { in _rresvport_addr() 430 } else if (addr->ss_family == AF_INET6) { in _rresvport_addr() 437 s = socket(addr->ss_family, SOCK_STREAM, 0); in _rresvport_addr() 452 if (addr->ss_family == AF_INET) { in _rresvport_addr() 479 if (addr->ss_family == AF_INET) { in _rresvport_addr() 492 switch (addr->ss_family) { in _rresvport_addr() 539 laddr.ss_family = (sa_family_t)af; in rresvport_af()
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | krb5_lookup.c | 118 if (family == ds->addr.ss_family) in _krb5_override_service_locator() 129 switch (ds->addr.ss_family) { in _krb5_override_service_locator()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | is_local_host.c | 116 #define lifraddrp(lifrp) ((lifrp->lifr_addr.ss_family == AF_INET6) ? \ in is_local_if() 123 if (lifrp->lifr_addr.ss_family != hp->h_addrtype) { in is_local_if()
|
/illumos-gate/usr/src/cmd/idmap/test-getdc/ |
H A D | getdc_main.c | 112 if (ds->addr.ss_family == AF_INET) { in print_ds() 121 if (ds->addr.ss_family == AF_INET6) { in print_ds()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | server.c | 85 if (ssp->ss_family == AF_INET) { in isns_connection() 171 if (ssp->ss_family == AF_INET) { in isns_connection() 301 if (ssp->ss_family == AF_INET) { in isns_port_watcher()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_authclient.c | 189 if (sa->ss_family == AF_INET) { in iscsit_verify_chap_resp() 194 } else if (sa->ss_family == AF_INET6) { in iscsit_verify_chap_resp()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | _sockaddr_storage.h | 48 sa_family_t ss_family; /* address family */ member
|
/illumos-gate/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 159 sa->ss_family = af; in it_common_convert_sa() 990 if (sa1->ss_family != sa2->ss_family) { in it_sa_compare() 999 if (sa1->ss_family == AF_INET) { in it_sa_compare() 1007 } else if (sa1->ss_family == AF_INET6) { in it_sa_compare() 1314 if (sa->ss_family == AF_INET) { in sockaddr_to_str() 1324 } else if (sa->ss_family == AF_INET6) { in sockaddr_to_str()
|
/illumos-gate/usr/src/cmd/connstat/ |
H A D | connstat_main.c | 389 if (addrp->ss_family == AF_INET) { in process_filter() 428 if (filter->ca_laddr.ss_family != filter->ca_raddr.ss_family) { in process_filter()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | foreachaddr.c | 292 if (lifr2->lifr_addr.ss_family == lifr->lifr_addr.ss_family in foreach_localaddr()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | socket_impl.h | 97 sa_family_t ss_family; /* Address family */ member
|
/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm_so.c | 274 if (v4_mapped_as_v4 && (ss1->ss_family == AF_INET6)) { in idm_ss_compare() 278 mapped_v4_ss1.ss_family = AF_INET; in idm_ss_compare() 287 if (v4_mapped_as_v4 && (ss2->ss_family == AF_INET6)) { in idm_ss_compare() 291 mapped_v4_ss2.ss_family = AF_INET; in idm_ss_compare() 316 if (ss1->ss_family != ss2->ss_family) { in idm_ss_compare() 317 if (ss1->ss_family == AF_INET) in idm_ss_compare() 326 if (ss1->ss_family == AF_INET) { in idm_ss_compare() 336 } else if (ss1->ss_family == AF_INET6) { in idm_ss_compare() 482 switch (ss.ss_family) { in idm_get_ipaddr() 508 switch (ss.ss_family) { in idm_get_ipaddr() [all …]
|
/illumos-gate/usr/src/cmd/krb5/slave/ |
H A D | kpropd.c | 579 if (from.ss_family == AF_INET) { 585 } else if (from.ss_family == AF_INET6 && 597 if (from.ss_family == AF_INET || from.ss_family == AF_INET6) { 599 if (from.ss_family == AF_INET6 && 621 from.ss_family); 625 from.ss_family);
|
H A D | utils.c | 18 switch (ss->ss_family) { in cvtkaddr()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/ |
H A D | mDNSUNP.c | 309 if (lifr->lifr_addr.ss_family == AF_INET) { in select_src_ifi_info_solaris() 427 if (lifrp->lifr_addr.ss_family != family) in get_ifi_info_solaris() 467 assert((best_lifr->lifr_addr.ss_family == AF_INET6) || in get_ifi_info_solaris() 468 (best_lifr->lifr_addr.ss_family == AF_INET)); in get_ifi_info_solaris() 470 switch (best_lifr->lifr_addr.ss_family) { in get_ifi_info_solaris()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | socks.c | 184 addr.ss_family = 0; /* used in switch below */ in socks_connect() 201 switch (addr.ss_family) { in socks_connect()
|