Lines Matching refs:ifs
840 __s_api_IPv4sameNet(char *addr, struct ifinfo *ifs)
844 if (addr && ifs) {
859 for (i = 0; ifs[i].addr.s_addr != 0; i++) {
860 if ((iaddr & ifs[i].netmask.s_addr) ==
861 (ifs[i].addr.s_addr &
862 ifs[i].netmask.s_addr))
1037 struct ifinfo *ifs = __s_api_get_local_interfaces();
1055 free(ifs);
1056 ifs = NULL;
1065 free(ifs);
1066 ifs = NULL;
1075 if (ipv4only && __s_api_IPv4sameNet(*tsrvs, ifs)) {
1098 free(ifs);
1099 ifs = NULL;