Searched refs:scopeid (Results 1 - 11 of 11) sorted by relevance

/netbsd-current/external/bsd/libbind/dist/irs/
H A Dgetaddrinfo.c883 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
[all...]
/netbsd-current/sbin/ifconfig/
H A Daf_inet6.c267 u_int32_t scopeid; local
273 scopeid = sin6->sin6_scope_id;
296 if (scopeid)
297 printf(" scopeid 0x%x", scopeid);
/netbsd-current/external/mpl/dhcp/bind/dist/lib/irs/
H A Dgetaddrinfo.c203 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;
/netbsd-current/lib/libc/net/
H A Dgetaddrinfo.c1437 uint32_t scopeid;
1443 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) {
1447 sin6->sin6_scope_id = scopeid;
1646 ip6_str2scopeid(const char *scope, struct sockaddr_in6 *sin6, uint32_t *scopeid) argument
1654 _DIAGASSERT(scopeid != NULL);
1658 /* empty scopeid portion is invalid */
1668 *scopeid = if_nametoindex(scope);
1669 if (*scopeid == 0)
1686 *scopeid = (uint32_t)(lscopeid & 0xffffffffUL);
1687 if (errno == 0 && ep && *ep == '\0' && *scopeid
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetifaddrs.c199 uint32_t scope, uint32_t scopeid)
210 ((struct sockaddr_in6*)sa)->sin6_scope_id = scopeid;
250 ((struct sockaddr_in6*)sa)->sin6_scope_id = scopeid;
196 ifa_make_sockaddr(sa_family_t family, struct sockaddr *sa, void *p, size_t len, uint32_t scope, uint32_t scopeid) argument
/netbsd-current/usr.sbin/ndp/
H A Dndp.c541 uint16_t scopeid = mysin->sin6_scope_id; local
544 if (scopeid == 0)
552 /* Restore scopeid */
/netbsd-current/external/bsd/ntp/dist/include/
H A Dntp_request.h929 u_int32 scopeid; /* Scope used for Multicasting */ member in struct:info_if_stats
/netbsd-current/external/apache2/mDNSResponder/dist/mDNSCore/
H A DmDNS.c5967 mDNSlocal mDNSBool mDNSUpdateOkToSend(mDNS *const m, AuthRecord *rr, NetworkInterfaceInfo *const intf, mDNSu32 scopeid) argument
5978 // If we have a pending registration for "scopeid", it is ok to send the update on that interface.
5979 // If the scopeid is too big to check for validity, we don't check against updateIntID. When
5983 // Note: scopeid is the same as intf->InterfaceID. It is passed in so that we don't have to call the
5986 if ((scopeid >= (sizeof(rr->updateIntID) * mDNSNBBY) || bit_get_opaque64(rr->updateIntID, scopeid)) &&
6130 mDNSu32 scopeid; local
6132 scopeid = mDNSPlatformInterfaceIndexfromInterfaceID(m, intf->InterfaceID, mDNStrue);
6188 if (rr->SendRNow || mDNSUpdateOkToSend(m, rr, intf, scopeid))
6198 if (scopeid < (sizeo
6364 mDNSu32 scopeid = mDNSPlatformInterfaceIndexfromInterfaceID(m, ar->resrec.InterfaceID, mDNStrue); local
6420 mDNSu32 scopeid = mDNSPlatformInterfaceIndexfromInterfaceID(m, intf->InterfaceID, mDNStrue); local
6722 mDNSu32 scopeid; local
10408 mDNSu32 scopeid = mDNSPlatformInterfaceIndexfromInterfaceID(m, InterfaceID, mDNStrue); local
[all...]
/netbsd-current/external/bsd/ntp/dist/ntpdc/
H A Dntpdc_ops.c3108 (u_long)ntohl(ifs->scopeid),
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Dntp_request.c2739 ifs->scopeid = ifs->ifindex;
/netbsd-current/external/apache2/mDNSResponder/dist/mDNSShared/
H A Duds_daemon.c5478 mDNSu32 scopeid = (mDNSu32)(uintptr_t)ar->resrec.InterfaceID; local
5479 LogMsgNoIdent(" %s %u %s", RecordTypeName(ar->resrec.RecordType), scopeid, ARDisplayString(m, ar));

Completed in 319 milliseconds