Lines Matching defs:local_ifs
2316 struct net_if **local_ifs = NULL;
2387 if ((p = (struct net_if **)realloc(local_ifs,
2392 local_ifs = p;
2394 if ((local_ifs[cnt] = malloc(sizeof (struct net_if))) == NULL) {
2399 if ((local_ifs[cnt]->name = strdup(if_reqp->lifr_name))
2401 free(local_ifs[cnt]);
2405 local_ifs[cnt]->af = req.lifr_addr.ss_family;
2415 free_local_netifs(cnt, local_ifs);
2418 *if_list = local_ifs;
2447 struct net_if **local_ifs = NULL;
2451 if (get_local_netifs(&local_if_cnt, &local_ifs) != Z_OK) {
2459 if (strcmp(phys, local_ifs[i]->name) == 0) {
2461 if (af == local_ifs[i]->af) {
2468 free_local_netifs(local_if_cnt, local_ifs);