Searched refs:ifaddr (Results 1 – 1 of 1) sorted by relevance
552 suitable_ifaddr(ifname, ifaddr) in suitable_ifaddr() argument554 const struct sockaddr *ifaddr;558 if (exclude_cfg_addr(ifaddr) == 0)561 switch(ifaddr->sa_family) {566 return suitable_ifaddr6(ifname, ifaddr);576 suitable_ifaddr6(ifname, ifaddr) in suitable_ifaddr6() argument578 const struct sockaddr *ifaddr;585 if (ifaddr->sa_family != AF_INET6)599 ifr6.ifr_addr = *(const struct sockaddr_in6 *)ifaddr;