Lines Matching defs:ifs
760 __s_api_IPv4sameNet(char *addr, struct ifinfo *ifs)
764 if (addr && ifs) {
779 for (i = 0; ifs[i].addr.s_addr != 0; i++) {
780 if ((iaddr & ifs[i].netmask.s_addr) ==
781 (ifs[i].addr.s_addr &
782 ifs[i].netmask.s_addr))
957 struct ifinfo *ifs = __s_api_get_local_interfaces();
975 free(ifs);
976 ifs = NULL;
985 free(ifs);
986 ifs = NULL;
995 if (ipv4only && __s_api_IPv4sameNet(*tsrvs, ifs)) {
1018 free(ifs);
1019 ifs = NULL;