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

/freebsd-11.0-release/sys/netinet6/
H A Din6_fib.h55 uint32_t scopeid, uint32_t flags, uint32_t flowid,struct nhop6_basic *pnh6);
57 uint32_t scopeid, uint32_t flags, uint32_t flowid,
H A Din6_fib.c171 fib6_lookup_nh_basic(uint32_t fibnum, const struct in6_addr *dst, uint32_t scopeid, argument
188 /* Assume scopeid is valid and embed it directly */
190 sin6.sin6_addr.s6_addr16[1] = htons(scopeid & 0xffff);
220 fib6_lookup_nh_ext(uint32_t fibnum, const struct in6_addr *dst,uint32_t scopeid, argument
237 /* Assume scopeid is valid and embed it directly */
239 sin6.sin6_addr.s6_addr16[1] = htons(scopeid & 0xffff);
H A Dscope6.c491 * inside @dst and zone inside @scopeid
495 uint32_t *scopeid)
502 *scopeid = zoneid;
494 in6_splitscope(const struct in6_addr *src, struct in6_addr *dst, uint32_t *scopeid) argument
H A Din6_src.c593 * Select source address based on @fibnum, @dst and @scopeid.
601 uint32_t scopeid, struct ifnet *ifp, struct in6_addr *srcp,
613 dst_sa.sin6_scope_id = scopeid;
941 uint32_t fibnum, scopeid; local
945 in6_splitscope(&in6p->in6p_faddr, &dst, &scopeid);
946 if (fib6_lookup_nh_basic(fibnum, &dst, scopeid, 0, 0, &nh6)==0){
600 in6_selectsrc_addr(uint32_t fibnum, const struct in6_addr *dst, uint32_t scopeid, struct ifnet *ifp, struct in6_addr *srcp, int *hlim) argument
H A Dnd6_nbr.c485 uint32_t scopeid; local
487 in6_splitscope(&ip6->ip6_dst, &dst6, &scopeid);
489 scopeid, ifp, &src6, NULL);
927 uint32_t scopeid; local
984 in6_splitscope(&daddr6, &dst6, &scopeid);
986 scopeid, ifp, &src6, NULL);
H A Dicmp6.c2201 uint32_t scopeid; local
2208 in6_splitscope(&ip6->ip6_dst, &dst6, &scopeid);
2210 scopeid, NULL, &src6, &hlim);
2348 uint32_t scopeid; local
2350 in6_splitscope(&reddst6, &kdst, &scopeid);
2351 if (fib6_lookup_nh_basic(RT_DEFAULT_FIB, &kdst, scopeid, 0, 0,&nh6)==0){
H A Dip6_output.c1242 uint32_t scopeid; local
1247 in6_splitscope(dst, &kdst, &scopeid);
1248 if (fib6_lookup_nh_ext(fibnum, &kdst, scopeid, NHR_REF, 0, &nh6) != 0)
1277 uint32_t scopeid; local
1299 in6_splitscope(dst, &kdst, &scopeid);
1300 if (fib6_lookup_nh_basic(fibnum, &kdst, scopeid, 0, 0,
H A Din6.c2110 uint32_t scopeid; local
2120 in6_splitscope(&sin6->sin6_addr, &dst, &scopeid);
2121 error = fib6_lookup_nh_basic(RT_DEFAULT_FIB, &dst, scopeid, 0, 0, &nh6);
H A Din6_mcast.c1778 uint32_t scopeid; local
1786 in6_splitscope(&gsin6->sin6_addr, &dst, &scopeid);
1788 if (fib6_lookup_nh_basic(fibnum, &dst, scopeid, 0, 0, &nh6) != 0)
/freebsd-11.0-release/usr.sbin/ppp/
H A Dncpaddr.c891 int scopeid = -1; local
896 if ((scopeid = ntohs(*(const u_short *)&sin6->s6_addr[2])) == 0)
897 scopeid = -1;
900 return scopeid;
H A Diface.c764 int scopeid, width; local
811 if ((scopeid = ncprange_scopeid(&iface->addr[f].ifa)) != -1)
812 prompt_Printf(arg->prompt, " scopeid 0x%x", (unsigned)scopeid);
/freebsd-11.0-release/lib/libc/net/
H A Dgetaddrinfo.c1351 u_int32_t scopeid;
1357 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) {
1363 sin6->sin6_scope_id = scopeid;
1669 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid) argument
1677 /* empty scopeid portion is invalid */
1688 *scopeid = if_nametoindex(scope);
1689 if (*scopeid == 0)
1706 *scopeid = (u_int32_t)(lscopeid & 0xffffffffUL);
1707 if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid)
/freebsd-11.0-release/crypto/heimdal/lib/roken/
H A Dgetifaddrs.c197 uint32_t scope, uint32_t scopeid)
208 ((struct sockaddr_in6*)sa)->sin6_scope_id = scopeid;
248 ((struct sockaddr_in6*)sa)->sin6_scope_id = scopeid;
194 ifa_make_sockaddr(sa_family_t family, struct sockaddr *sa, void *p, size_t len, uint32_t scope, uint32_t scopeid) argument
/freebsd-11.0-release/contrib/ntp/include/
H A Dntp_request.h922 u_int32 scopeid; /* Scope used for Multicasting */ member in struct:info_if_stats
/freebsd-11.0-release/sys/netinet/
H A Dtcp_subr.c2350 uint32_t scopeid; local
2357 in6_splitscope(&inc->inc6_faddr, &dst6, &scopeid);
2358 if (fib6_lookup_nh_ext(inc->inc_fibnum, &dst6, scopeid, 0,
/freebsd-11.0-release/usr.sbin/ntp/ntpdc/
H A Dnl.c868 printf("offsetof(scopeid) = %d\n",
869 (int) offsetof(struct info_if_stats, scopeid));
/freebsd-11.0-release/sys/netpfil/pf/
H A Dpf.c3041 uint32_t scopeid; local
3057 in6_splitscope(&addr->v6, &dst6, &scopeid);
3058 if (fib6_lookup_nh_basic(rtableid, &dst6, scopeid, 0,0,&nh6)==0)
/freebsd-11.0-release/contrib/ntp/ntpd/
H A Dntp_request.c2709 ifs->scopeid = ifs->ifindex;
/freebsd-11.0-release/contrib/ntp/ntpdc/
H A Dntpdc_ops.c3088 (u_long)ntohl(ifs->scopeid),

Completed in 250 milliseconds