Home
last modified time | relevance | path

Searched refs:ifaddr (Results 1 – 1 of 1) sorted by relevance

/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c552 suitable_ifaddr(ifname, ifaddr) in suitable_ifaddr() argument
554 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() argument
578 const struct sockaddr *ifaddr;
585 if (ifaddr->sa_family != AF_INET6)
599 ifr6.ifr_addr = *(const struct sockaddr_in6 *)ifaddr;