Home
last modified time | relevance | path

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

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Iface.cpp393 struct ifaddrs *myaddrs, *ifa; in iface_addr_query() local
426 for (ifa = myaddrs; ifa != NULL; ifa = ifa->ifa_next) in iface_addr_query()
428 if (ifa->ifa_addr == NULL) in iface_addr_query()
430 if (!(ifa->ifa_flags & IFF_UP)) in iface_addr_query()
433 if(strcmp(ifr.ifr_name,ifa->ifa_name) == 0) // find current iface in iface_addr_query()
435 IPACMDBG_H("Internal post new_addr event for iface %s\n", ifa->ifa_name); in iface_addr_query()
436 switch (ifa->ifa_addr->sa_family) in iface_addr_query()
440 struct sockaddr_in *s4 = (struct sockaddr_in *)ifa->ifa_addr; in iface_addr_query()
467 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *)ifa->ifa_addr; in iface_addr_query()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Iface.cpp458 struct ifaddrs *myaddrs, *ifa; in iface_addr_query() local
491 for (ifa = myaddrs; ifa != NULL; ifa = ifa->ifa_next) in iface_addr_query()
493 if (ifa->ifa_addr == NULL) in iface_addr_query()
495 if (!(ifa->ifa_flags & IFF_UP)) in iface_addr_query()
498 if(strcmp(ifr.ifr_name,ifa->ifa_name) == 0) // find current iface in iface_addr_query()
500 IPACMDBG_H("Internal post new_addr event for iface %s\n", ifa->ifa_name); in iface_addr_query()
501 switch (ifa->ifa_addr->sa_family) in iface_addr_query()
505 struct sockaddr_in *s4 = (struct sockaddr_in *)ifa->ifa_addr; in iface_addr_query()
535 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *)ifa->ifa_addr; in iface_addr_query()