Home
last modified time | relevance | path

Searched refs:scopeid (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c881 u_int32_t scopeid = 0;
887 if (!ip6_str2scopeid(scope, sin6, &scopeid)) {
892 sin6->sin6_scope_id = scopeid;
1112 u_int32_t scopeid; in ip6_str2scopeid() local
1129 scopeid = if_nametoindex(scope); in ip6_str2scopeid()
1130 if (scopeid == 0) in ip6_str2scopeid()
1132 *scopeidp = scopeid; in ip6_str2scopeid()
1148 scopeid = lscopeid & 0xffffffff; in ip6_str2scopeid()
1149 if (errno == 0 && ep && *ep == '\0' && scopeid == lscopeid) { in ip6_str2scopeid()
1150 *scopeidp = scopeid; in ip6_str2scopeid()
/titanic_50/usr/src/uts/common/inet/tcp/
H A Dtcp_bind.c531 uint_t scopeid = 0; in tcp_bind_check() local
593 scopeid = sin6->sin6_scope_id; in tcp_bind_check()
595 zoneid, ipst, B_FALSE, scopeid); in tcp_bind_check()
614 if (scopeid != 0) { in tcp_bind_check()
616 ixa->ixa_scopeid = scopeid; in tcp_bind_check()
617 connp->conn_incoming_ifindex = scopeid; in tcp_bind_check()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dicmp.c430 uint_t scopeid = 0; in rawip_do_bind() local
469 scopeid = sin6->sin6_scope_id; in rawip_do_bind()
471 B_TRUE, scopeid); in rawip_do_bind()
504 if (scopeid != 0) { in rawip_do_bind()
506 connp->conn_ixa->ixa_scopeid = scopeid; in rawip_do_bind()
507 connp->conn_incoming_ifindex = scopeid; in rawip_do_bind()
574 if (scopeid != 0) { in rawip_do_bind()
729 uint_t scopeid = 0; in rawip_do_connect() local
769 scopeid = sin6->sin6_scope_id; in rawip_do_connect()
869 if (scopeid != 0) { in rawip_do_connect()
[all …]
H A Dip_output.c425 uint_t scopeid; in ip_verify_src() local
431 scopeid = ixa->ixa_scopeid; in ip_verify_src()
433 scopeid = 0; in ip_verify_src()
436 ipst, B_FALSE, scopeid) != IPVL_BAD); in ip_verify_src()
H A Dconn_opt.c1575 uint_t scopeid = 0; in conn_opt_set_ipv6() local
1588 scopeid = pkti->ipi6_ifindex; in conn_opt_set_ipv6()
1591 ipst, B_FALSE, scopeid); in conn_opt_set_ipv6()
H A Dip6.c1869 ip_stack_t *ipst, boolean_t allow_mcbc, uint_t scopeid) in ip_laddr_verify_v6() argument
1879 if (scopeid != 0) { in ip_laddr_verify_v6()
1880 ill = ill_lookup_on_ifindex(scopeid, B_TRUE, ipst); in ip_laddr_verify_v6()
H A Dip.c6554 uint_t scopeid; in ip_fill_mtuinfo() local
6564 scopeid = ixa->ixa_scopeid; in ip_fill_mtuinfo()
6566 scopeid = 0; in ip_fill_mtuinfo()
6572 mtuinfo->ip6m_addr.sin6_scope_id = scopeid; in ip_fill_mtuinfo()
/titanic_50/usr/src/uts/common/inet/udp/
H A Dudp.c4922 uint_t scopeid = 0; in udp_do_bind() local
4973 scopeid = sin6->sin6_scope_id; in udp_do_bind()
4975 zoneid, ipst, B_TRUE, scopeid); in udp_do_bind()
5372 if (scopeid != 0) { in udp_do_bind()
5374 connp->conn_ixa->ixa_scopeid = scopeid; in udp_do_bind()
5375 connp->conn_incoming_ifindex = scopeid; in udp_do_bind()
5566 if (scopeid != 0) { in udp_do_bind()
5730 uint_t scopeid = 0; in udp_do_connect() local
5791 scopeid = sin6->sin6_scope_id; in udp_do_connect()
5895 if (scopeid != 0) { in udp_do_connect()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNS.c5608 …DNSUpdateOkToSend(mDNS *const m, AuthRecord *rr, NetworkInterfaceInfo *const intf, mDNSu32 scopeid) in mDNSUpdateOkToSend() argument
5627 …if ((scopeid >= (sizeof(rr->updateIntID) * mDNSNBBY) || bit_get_opaque64(rr->updateIntID, scopeid)… in mDNSUpdateOkToSend()
5763 mDNSu32 scopeid; in SendSPSRegistrationForOwner() local
5765 scopeid = mDNSPlatformInterfaceIndexfromInterfaceID(m, intf->InterfaceID, mDNStrue); in SendSPSRegistrationForOwner()
5821 if (rr->SendRNow || mDNSUpdateOkToSend(m, rr, intf, scopeid)) in SendSPSRegistrationForOwner()
5831 if (scopeid < (sizeof(rr->updateIntID) * mDNSNBBY)) in SendSPSRegistrationForOwner()
5833 bit_clr_opaque64(rr->updateIntID, scopeid); in SendSPSRegistrationForOwner()
5997 … mDNSu32 scopeid = mDNSPlatformInterfaceIndexfromInterfaceID(m, ar->resrec.InterfaceID, mDNStrue); in SPSInitRecordsBeforeUpdate() local
5998 … if ((scopeid < (sizeof(updateIntID) * mDNSNBBY)) && bit_get_opaque64(updateIntID, scopeid)) in SPSInitRecordsBeforeUpdate()
6000 bit_set_opaque64(ar->updateIntID, scopeid); in SPSInitRecordsBeforeUpdate()
[all …]
H A Duds_daemon.c5478 mDNSu32 scopeid = (mDNSu32)(uintptr_t)ar->resrec.InterfaceID; in LogEtcHosts() local
5479 …LogMsgNoIdent(" %s %u %s", RecordTypeName(ar->resrec.RecordType), scopeid, ARDisplayString(m, a… in LogEtcHosts()