/titanic_44/usr/src/cmd/fs.d/nfs/lib/ |
H A D | replica.c | 79 int scount, v6addr, i; in parse_replica() local 84 v6addr = 0; in parse_replica() 111 v6addr = 1; in parse_replica() 142 if (v6addr == 1) in parse_replica() 143 v6addr = 0; in parse_replica() 172 if (v6addr == 1) { in parse_replica() 173 v6addr = 0; in parse_replica()
|
/titanic_44/usr/src/uts/common/inet/tcp/ |
H A D | tcp_bind.c | 321 in6_addr_t v6addr = connp->conn_laddr_v6; in tcp_bind_select_lport() local 361 IPV6_VERSION, &v6addr, in tcp_bind_select_lport() 413 IPV6_VERSION, &v6addr, in tcp_bind_select_lport() 481 allocated_port = tcp_bindi(tcp, requested_port, &v6addr, in tcp_bind_select_lport() 527 in6_addr_t v6addr; in tcp_bind_check() local 570 IN6_IPADDR_TO_V4MAPPED(v4addr, &v6addr); in tcp_bind_check() 579 v6addr = sin6->sin6_addr; in tcp_bind_check() 581 if (IN6_IS_ADDR_V4MAPPED(&v6addr)) { in tcp_bind_check() 585 IN6_V4MAPPED_TO_IPADDR(&v6addr, v4addr); in tcp_bind_check() 591 if (!IN6_IS_ADDR_UNSPECIFIED(&v6addr)) { in tcp_bind_check() [all …]
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | inet_ntop.c | 64 in6_addr_t *v6addr; in inet_ntop() local 101 v6addr = (in6_addr_t *)addr; in inet_ntop() 102 if (IN6_IS_ADDR_V4MAPPED(v6addr)) { in inet_ntop() 107 } else if (IN6_IS_ADDR_V4COMPAT(v6addr)) { in inet_ntop() 112 } else if (IN6_IS_ADDR_UNSPECIFIED(v6addr)) { in inet_ntop() 115 convert2ascii(buf, v6addr); in inet_ntop()
|
H A D | ip6_ire.c | 80 ire_init_v6(ire_t *ire, const in6_addr_t *v6addr, const in6_addr_t *v6mask, in ire_init_v6() argument 94 if (v6addr != NULL) in ire_init_v6() 95 ire->ire_addr_v6 = *v6addr; in ire_init_v6() 181 ire_create_v6(const in6_addr_t *v6addr, const in6_addr_t *v6mask, in ire_create_v6() argument 188 ASSERT(!IN6_IS_ADDR_V4MAPPED(v6addr)); in ire_create_v6() 197 error = ire_init_v6(ire, v6addr, v6mask, v6gateway, in ire_create_v6()
|
H A D | ip_if.c | 8034 in6_addr_t v6addr; in ip_sioctl_tmyaddr() local 8036 v6addr = sin6->sin6_addr; in ip_sioctl_tmyaddr() 8037 ire = ire_ftable_lookup_v6(&v6addr, 0, 0, in ip_sioctl_tmyaddr() 8120 in6_addr_t v6addr; in ip_sioctl_tonlink() local 8122 v6addr = sin6->sin6_addr; in ip_sioctl_tonlink() 8123 if (!IN6_IS_ADDR_MULTICAST(&v6addr)) { in ip_sioctl_tonlink() 8124 ire = ire_ftable_lookup_v6(&v6addr, 0, 0, 0, in ip_sioctl_tonlink() 9617 in6_addr_t v6addr; in ip_sioctl_prefix() local 9634 v6addr = sin6->sin6_addr; in ip_sioctl_prefix() 9637 if (IN6_IS_ADDR_UNSPECIFIED(&v6addr) || in ip_sioctl_prefix() [all …]
|
H A D | ip6_if.c | 2526 in6_addr_t v6addr; in ipif_add_ires_v6() local 2596 v6addr = ipif->ipif_v6subnet; in ipif_add_ires_v6() 2606 inet_ntop(AF_INET6, &v6addr, buf, sizeof (buf)))); in ipif_add_ires_v6() 2609 &v6addr, /* dest pref */ in ipif_add_ires_v6()
|
H A D | igmp.c | 78 static void mld_sendpkt(ilm_t *ilm, uchar_t type, const in6_addr_t *v6addr); 2447 mld_sendpkt(ilm_t *ilm, uchar_t type, const in6_addr_t *v6addr) in mld_sendpkt() argument 2500 if (v6addr == NULL) in mld_sendpkt() 2503 ip6h->ip6_dst = *v6addr; in mld_sendpkt()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg.c | 130 in6_addr_t v6addr; in create_instance_name() local 144 if (inet_pton(AF_INET6, temp_str, &v6addr) == 1) { in create_instance_name() 146 hp = getipnodebyaddr(&v6addr, sizeof (v6addr), in create_instance_name()
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_string.c | 749 in6_addr_t *v6addr; in mdb_inet_ntop() local 764 v6addr = (in6_addr_t *)addr; in mdb_inet_ntop() 765 if (IN6_IS_ADDR_V4MAPPED(v6addr)) { in mdb_inet_ntop() 770 } else if (IN6_IS_ADDR_V4COMPAT(v6addr)) { in mdb_inet_ntop() 775 } else if (IN6_IS_ADDR_UNSPECIFIED(v6addr)) { in mdb_inet_ntop() 778 convert2ascii(buf, v6addr); in mdb_inet_ntop()
|
/titanic_44/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_ibtf_cm.c | 78 struct sockaddr_in6 *v6addr; in dapls_ib_connect() local 132 v6addr = (struct sockaddr_in6 *)s; in dapls_ib_connect() 133 sap->iad_v6 = v6addr->sin6_addr; in dapls_ib_connect() 160 v6addr = (struct sockaddr_in6 *)s; in dapls_ib_connect() 161 prd_ptr->hello_msg.hi_port = v6addr->sin6_port; in dapls_ib_connect() 162 prd_ptr->hello_msg.hi_v6ipaddr = v6addr->sin6_addr; in dapls_ib_connect()
|
H A D | dapl_tavor_hca.c | 480 struct sockaddr_in6 *v6addr; in dapls_ib_open_hca() local 545 v6addr = (struct sockaddr_in6 *)s; in dapls_ib_open_hca() 546 sap->iad_v6 = v6addr->sin6_addr; in dapls_ib_open_hca()
|
/titanic_44/usr/src/uts/common/inet/ |
H A D | sadb.h | 385 #define OUTBOUND_HASH_V6(sadb, v6addr) OUTBOUND_HASH_V4((sadb), \ argument 386 (*(uint32_t *)&(v6addr)) ^ (*(((uint32_t *)&(v6addr)) + 1)) ^ \ 387 (*(((uint32_t *)&(v6addr)) + 2)) ^ (*(((uint32_t *)&(v6addr)) + 3))) 396 #define OUTBOUND_BUCKET_V6(sadb, v6addr) \ argument 397 &(((sadb)->sdb_of)[OUTBOUND_HASH_V6(sadb, v6addr)])
|
H A D | ip6.h | 209 #define ILL_FRAG_HASH_V6(v6addr, i) \ argument 210 ((ntohl((v6addr).s6_addr32[3]) ^ (i ^ (i >> 8))) % \
|
H A D | ipclassifier.h | 539 #define _IPCL_V4_MATCH(v6addr, v4addr) \ argument 540 (V4_PART_OF_V6((v6addr)) == (v4addr) && IN6_IS_ADDR_V4MAPPED(&(v6addr)))
|
/titanic_44/usr/src/lib/libdladm/common/ |
H A D | flowattr.c | 87 struct in6_addr v6addr; in do_check_ip_addr() local 99 } else if (inet_pton(AF_INET6, addr_str, v6addr.s6_addr) == 1) { in do_check_ip_addr() 123 *addr = v6addr; in do_check_ip_addr()
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp_shutdown.c | 291 in6_addr_t v6addr; in sctp_ootb_shutdown_ack() local 306 v6addr = ip6h->ip6_src; in sctp_ootb_shutdown_ack() 308 ip6h->ip6_dst = v6addr; in sctp_ootb_shutdown_ack()
|
H A D | sctp_error.c | 381 in6_addr_t v6addr; in sctp_ootb_send_abort() local 397 v6addr = ip6h->ip6_src; in sctp_ootb_send_abort() 399 ip6h->ip6_dst = v6addr; in sctp_ootb_send_abort()
|
/titanic_44/usr/src/cmd/tsol/tnd/ |
H A D | tnd.h | 132 #define v6addr _addr_un._v6addr macro
|
/titanic_44/usr/src/uts/common/inet/kssl/ |
H A D | ksslapi.c | 84 in6_addr_t *v6addr; in kssl_check_proxy() local 98 v6addr = &mapped_v4addr; in kssl_check_proxy() 104 v6addr = &sin6->sin6_addr; in kssl_check_proxy() 117 if (IN6_ARE_ADDR_EQUAL(&ep->ke_laddr, v6addr) || in kssl_check_proxy()
|
/titanic_44/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 573 struct in6_addr v6addr; in get_addr() local 608 (inet_pton(AF_INET6, _hostname, &v6addr) > 0))) { in get_addr()
|
/titanic_44/usr/src/uts/common/io/mac/ |
H A D | mac_protect.c | 1798 mac_ipaddr_t *v6addr = &protect->mp_ipaddrs[i]; in ipnospoof_check_v6() local 1800 if (v6addr->ip_version == IPV6_VERSION && in ipnospoof_check_v6() 1802 IN6_ARE_PREFIXEDADDR_EQUAL(&v6addr->ip_addr, addr, in ipnospoof_check_v6() 1803 v6addr->ip_netmask)) in ipnospoof_check_v6() 2176 in6_addr_t *v6addr = &mcip->mci_v6_local_addr; in mac_protect_update_v6_local_addr() local 2180 v6addr->s6_addr32[i] = token->s6_addr32[i] | in mac_protect_update_v6_local_addr()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/ |
H A D | nwamadm.c | 1115 struct sockaddr_in6 *v6addr; in eventhandler() local 1126 v6addr = (struct sockaddr_in6 *)address; in eventhandler() 1127 (void) inet_ntop(AF_INET6, &v6addr->sin6_addr, in eventhandler()
|
/titanic_44/usr/src/uts/common/inet/ipf/ |
H A D | ip_fil_solaris.c | 1442 struct sockaddr_in6 v6addr[2]; local 1457 array = v6addr; 1494 if (!IN6_IS_ADDR_LINKLOCAL(&v6addr[0].sin6_addr) && 1495 !IN6_IS_ADDR_MULTICAST(&v6addr[0].sin6_addr)) 1502 return fr_ifpfillv6addr(atype, &v6addr[0], &v6addr[1],
|
/titanic_44/usr/src/cmd/mdb/common/modules/idm/ |
H A D | idm.c | 3526 in6_addr_t *v6addr; in iscsi_inet_ntop() local 3561 v6addr = (in6_addr_t *)addr; in iscsi_inet_ntop() 3562 if (IN6_IS_ADDR_V4MAPPED(v6addr)) { in iscsi_inet_ntop() 3568 } else if (IN6_IS_ADDR_V4COMPAT(v6addr)) { in iscsi_inet_ntop() 3574 } else if (IN6_IS_ADDR_UNSPECIFIED(v6addr)) { in iscsi_inet_ntop() 3577 convert2ascii(buf, v6addr); in iscsi_inet_ntop()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 6474 in6_addr_t v6addr; in dup_filter() local 6500 (void) bzero(&v6addr, sizeof (in6_addr_t)); in dup_filter() 6559 V4_PART_OF_V6(v6addr) = *(uint32_t *)saddr; in dup_filter() 6560 saddr = &v6addr; in dup_filter() 6579 V4_PART_OF_V6(v6addr) = *(uint32_t *)daddr; in dup_filter() 6580 daddr = &v6addr; in dup_filter() 7327 in6_addr_t v6addr; in readfilter() local 7468 (void) bcopy(hp->h_addr_list[0], &v6addr, in readfilter() 7474 v4 = IN6_IS_ADDR_V4MAPPED(&v6addr); in readfilter() 7525 (uint32_t *)&v6addr, 4); in readfilter()
|