| /src/external/bsd/libbind/dist/irs/ |
| getaddrinfo.c | 883 u_int32_t scopeid = 0; 889 if (!ip6_str2scopeid(scope, sin6, &scopeid)) { 894 sin6->sin6_scope_id = scopeid; 1114 u_int32_t scopeid; local 1119 /* empty scopeid portion is invalid */ 1131 scopeid = if_nametoindex(scope); 1132 if (scopeid == 0) 1134 *scopeidp = scopeid; 1150 scopeid = lscopeid & 0xffffffff; 1151 if (errno == 0 && ep && *ep == '\0' && scopeid == lscopeid) [all...] |
| /src/sbin/ifconfig/ |
| af_inet6.c | 267 u_int32_t scopeid; local 273 scopeid = sin6->sin6_scope_id; 296 if (scopeid) 297 printf(" scopeid 0x%x", scopeid);
|
| /src/external/mpl/dhcp/bind/dist/lib/irs/ |
| getaddrinfo.c | 203 uint32_t scopeid = 0; local 213 scopeid = (uint32_t)if_nametoindex(src); 220 if (scopeid == 0) { 222 scopeid = (uint32_t)strtoul(src, &endptr, 10); 232 *dst = scopeid; 450 uint32_t scopeid = 0; local 461 if (p != NULL && parse_scopeid(p + 1, &scopeid)) { 515 SIN6(ai->ai_addr)->sin6_scope_id = scopeid;
|
| /src/lib/libc/net/ |
| getaddrinfo.c | 1440 uint32_t scopeid; 1446 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) { 1450 sin6->sin6_scope_id = scopeid; 1649 ip6_str2scopeid(const char *scope, struct sockaddr_in6 *sin6, uint32_t *scopeid) 1657 _DIAGASSERT(scopeid != NULL); 1661 /* empty scopeid portion is invalid */ 1671 *scopeid = if_nametoindex(scope); 1672 if (*scopeid == 0) 1689 *scopeid = (uint32_t)(lscopeid & 0xffffffffUL); 1690 if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| getifaddrs.c | 199 uint32_t scope, uint32_t scopeid) 210 ((struct sockaddr_in6*)sa)->sin6_scope_id = scopeid; 250 ((struct sockaddr_in6*)sa)->sin6_scope_id = scopeid;
|
| /src/usr.sbin/ndp/ |
| ndp.c | 541 uint16_t scopeid = mysin->sin6_scope_id; local 544 if (scopeid == 0) 552 /* Restore scopeid */
|
| /src/external/bsd/ntp/dist/include/ |
| ntp_request.h | 929 u_int32 scopeid; /* Scope used for Multicasting */ member in struct:info_if_stats
|
| /src/external/apache2/mDNSResponder/dist/mDNSCore/ |
| mDNS.c | 7350 mDNSlocal mDNSBool mDNSUpdateOkToSend(mDNS *const m, AuthRecord *rr, NetworkInterfaceInfo *const intf, mDNSu32 scopeid) 7361 // If we have a pending registration for "scopeid", it is ok to send the update on that interface. 7362 // If the scopeid is too big to check for validity, we don't check against updateIntID. When 7366 // Note: scopeid is the same as intf->InterfaceID. It is passed in so that we don't have to call the 7369 if ((scopeid >= (sizeof(rr->updateIntID) * mDNSNBBY) || bit_get_opaque64(rr->updateIntID, scopeid)) && 7515 mDNSu32 scopeid; local 7517 scopeid = mDNSPlatformInterfaceIndexfromInterfaceID(m, intf->InterfaceID, mDNStrue); 7573 if (rr->SendRNow || mDNSUpdateOkToSend(m, rr, intf, scopeid)) 7583 if (scopeid < (sizeof(rr->updateIntID) * mDNSNBBY) 7750 mDNSu32 scopeid = mDNSPlatformInterfaceIndexfromInterfaceID(m, ar->resrec.InterfaceID, mDNStrue); local 7807 mDNSu32 scopeid = mDNSPlatformInterfaceIndexfromInterfaceID(m, intf->InterfaceID, mDNStrue); local 8053 mDNSu32 scopeid; local [all...] |
| /src/external/bsd/ntp/dist/ntpd/ |
| ntp_request.c | 2817 ifs->scopeid = ifs->ifindex;
|
| /src/external/bsd/ntp/dist/ntpdc/ |
| ntpdc_ops.c | 3108 (u_long)ntohl(ifs->scopeid),
|
| /src/external/apache2/mDNSResponder/dist/mDNSShared/ |
| uds_daemon.c | 7300 mDNSu32 scopeid = (mDNSu32)(uintptr_t)ar->resrec.InterfaceID; local 7301 LogToFD(fd, " %s %u %s", RecordTypeName(ar->resrec.RecordType), scopeid, ARDisplayString(m, ar));
|