Searched refs:ret_ifscope (Results 1 – 2 of 2) sorted by relevance
218 sa6_embedscope(struct sockaddr_in6 *sin6, int defaultok, uint32_t *ret_ifscope) in sa6_embedscope() argument251 if (ret_ifscope != NULL) { in sa6_embedscope()252 *ret_ifscope = zoneid; in sa6_embedscope()
2199 struct in6pcb *in6p, struct ifnet **ifpp, struct ip6_pktopts *opt, uint32_t *ret_ifscope) in in6_embedscope() argument2255 if (ret_ifscope != NULL) { in in6_embedscope()2256 *ret_ifscope = pi->ipi6_ifindex; in in6_embedscope()2264 if (ret_ifscope != NULL) { in in6_embedscope()2265 *ret_ifscope = ifp->if_index; in in6_embedscope()2286 if (ret_ifscope != NULL) { in in6_embedscope()2287 *ret_ifscope = scopeid; in in6_embedscope()