Home
last modified time | relevance | path

Searched refs:v6addr (Results 1 – 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dreplica.c79 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()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_bind.c322 in6_addr_t v6addr = connp->conn_laddr_v6; in tcp_bind_select_lport() local
363 IPV6_VERSION, &v6addr, in tcp_bind_select_lport()
415 IPV6_VERSION, &v6addr, in tcp_bind_select_lport()
529 in6_addr_t v6addr; in tcp_bind_check() local
572 IN6_IPADDR_TO_V4MAPPED(v4addr, &v6addr); in tcp_bind_check()
581 v6addr = sin6->sin6_addr; in tcp_bind_check()
583 if (IN6_IS_ADDR_V4MAPPED(&v6addr)) { in tcp_bind_check()
594 if (IN6_IS_ADDR_LINKSCOPE(&v6addr)) in tcp_bind_check()
615 connp->conn_bound_addr_v6 = v6addr; in tcp_bind_check()
625 connp->conn_laddr_v6 = v6addr; in tcp_bind_check()
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c181 in6_addr_t *v6addr; in __inet_ntop() local
202 v6addr = (in6_addr_t *)addr; in __inet_ntop()
203 if (IN6_IS_ADDR_V4MAPPED(v6addr)) { in __inet_ntop()
208 } else if (IN6_IS_ADDR_V4COMPAT(v6addr)) { in __inet_ntop()
213 } else if (IN6_IS_ADDR_UNSPECIFIED(v6addr)) { in __inet_ntop()
216 convert2ascii(buf, v6addr); in __inet_ntop()
H A Dip6_ire.c80 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 Dip_if.c9620 in6_addr_t v6addr; in ip_sioctl_prefix() local
9676 in6_addr_t v6addr; in ip_sioctl_addr() local
9761 &v6addr)) in ip_sioctl_addr()
9800 in6_addr_t v6addr; in ip_sioctl_addr_tail() local
9979 in6_addr_t v6addr; in ip_sioctl_dstaddr() local
10040 in6_addr_t v6addr; in ip_sioctl_dstaddr_tail() local
11198 in6_addr_t v6addr; in ip_sioctl_subnet() local
11237 if (!V6_MASK_EQ(v6addr, v6mask, v6addr)) in ip_sioctl_subnet()
11303 in6_addr_t v6addr; in ip_sioctl_subnet_restart() local
11366 in6_addr_t v6addr; in ip_sioctl_token() local
[all …]
H A Dip6_if.c2526 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 Digmp.c78 static void mld_sendpkt(ilm_t *ilm, uchar_t type, const in6_addr_t *v6addr);
2446 mld_sendpkt(ilm_t *ilm, uchar_t type, const in6_addr_t *v6addr) in mld_sendpkt() argument
2499 if (v6addr == NULL) in mld_sendpkt()
2502 ip6h->ip6_dst = *v6addr; in mld_sendpkt()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_string.c751 in6_addr_t *v6addr; in mdb_inet_ntop() local
766 v6addr = (in6_addr_t *)addr; in mdb_inet_ntop()
767 if (IN6_IS_ADDR_V4MAPPED(v6addr)) { in mdb_inet_ntop()
772 } else if (IN6_IS_ADDR_V4COMPAT(v6addr)) { in mdb_inet_ntop()
777 } else if (IN6_IS_ADDR_UNSPECIFIED(v6addr)) { in mdb_inet_ntop()
780 convert2ascii(buf, v6addr); in mdb_inet_ntop()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_cm.c78 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 Ddapl_tavor_hca.c481 struct sockaddr_in6 *v6addr; in dapls_ib_open_hca() local
546 v6addr = (struct sockaddr_in6 *)s; in dapls_ib_open_hca()
547 sap->iad_v6 = v6addr->sin6_addr; in dapls_ib_open_hca()
/illumos-gate/usr/src/uts/common/inet/
H A Dsadb.h387 #define OUTBOUND_HASH_V6(sadb, v6addr) OUTBOUND_HASH_V4((sadb), \ argument
388 (*(uint32_t *)&(v6addr)) ^ (*(((uint32_t *)&(v6addr)) + 1)) ^ \
389 (*(((uint32_t *)&(v6addr)) + 2)) ^ (*(((uint32_t *)&(v6addr)) + 3)))
398 #define OUTBOUND_BUCKET_V6(sadb, v6addr) \ argument
399 &(((sadb)->sdb_of)[OUTBOUND_HASH_V6(sadb, v6addr)])
H A Dip6.h210 #define ILL_FRAG_HASH_V6(v6addr, i) \ argument
211 ((ntohl((v6addr).s6_addr32[3]) ^ (i ^ (i >> 8))) % \
H A Dipclassifier.h545 #define _IPCL_V4_MATCH(v6addr, v4addr) \ argument
546 (V4_PART_OF_V6((v6addr)) == (v4addr) && IN6_IS_ADDR_V4MAPPED(&(v6addr)))
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_shutdown.c291 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 Dsctp_error.c381 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()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowattr.c87 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()
H A Dlinkprop.c2580 in6_addr_t v6addr; in check_single_ip() local
2605 status = dladm_str2ipv6addr(buf, &v6addr); in check_single_ip()
2639 if (IN6_IS_ADDR_UNSPECIFIED(&v6addr)) in check_single_ip()
2642 if (IN6_IS_ADDR_V4MAPPED_ANY(&v6addr)) in check_single_ip()
2654 high = ffsl(ntohl(v6addr._S6_un._S6_u32[i])); in check_single_ip()
2666 addr->ip_addr = v6addr; in check_single_ip()
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.h132 #define v6addr _addr_un._v6addr macro
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c573 struct in6_addr v6addr; in get_addr() local
608 (inet_pton(AF_INET6, _hostname, &v6addr) > 0))) { in get_addr()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c1798 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()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1656 struct sockaddr_in6 v6addr[2]; local
1671 array = v6addr;
1708 if (!IN6_IS_ADDR_LINKLOCAL(&v6addr[0].sin6_addr) &&
1709 !IN6_IS_ADDR_MULTICAST(&v6addr[0].sin6_addr))
1716 return fr_ifpfillv6addr(atype, &v6addr[0], &v6addr[1],
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c1115 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()
/illumos-gate/usr/src/cmd/mdb/common/modules/idm/
H A Didm.c3533 in6_addr_t *v6addr; in iscsi_inet_ntop() local
3568 v6addr = (in6_addr_t *)addr; in iscsi_inet_ntop()
3569 if (IN6_IS_ADDR_V4MAPPED(v6addr)) { in iscsi_inet_ntop()
3575 } else if (IN6_IS_ADDR_V4COMPAT(v6addr)) { in iscsi_inet_ntop()
3581 } else if (IN6_IS_ADDR_UNSPECIFIED(v6addr)) { in iscsi_inet_ntop()
3584 convert2ascii(buf, v6addr); in iscsi_inet_ntop()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c6474 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()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DuDNS.c2634 …SetPrimaryInterfaceInfo(mDNS *m, const mDNSAddr *v4addr, const mDNSAddr *v6addr, const mDNSAddr *r… in mDNS_SetPrimaryInterfaceInfo() argument
2643 …if (v6addr && v6addr->type != mDNSAddrType_IPv6) { LogMsg("mDNS_SetPrimaryInterfaceInfo v6 address… in mDNS_SetPrimaryInterfaceInfo()
2649 if (v6addr) in mDNS_SetPrimaryInterfaceInfo()
2650 v6 = v6addr->ip.v6; in mDNS_SetPrimaryInterfaceInfo()
2660 if (v6addr) m->AdvertisedV6 = *v6addr;else m->AdvertisedV6.ip.v6 = zerov6Addr; in mDNS_SetPrimaryInterfaceInfo()
2670 v6Changed ? "v6Changed " : "", v4addr, v6addr, router); in mDNS_SetPrimaryInterfaceInfo()
6503 …SetPrimaryInterfaceInfo(mDNS *m, const mDNSAddr *v4addr, const mDNSAddr *v6addr, const mDNSAddr *r… in mDNS_SetPrimaryInterfaceInfo() argument
6507 (void) v6addr; in mDNS_SetPrimaryInterfaceInfo()

12