Searched refs:local_ifs (Results 1 – 1 of 1) sorted by relevance
2421 struct net_if **local_ifs = NULL; in get_local_netifs() local2492 if ((p = (struct net_if **)realloc(local_ifs, in get_local_netifs()2497 local_ifs = p; in get_local_netifs()2499 if ((local_ifs[cnt] = malloc(sizeof (struct net_if))) == NULL) { in get_local_netifs()2504 if ((local_ifs[cnt]->name = strdup(if_reqp->lifr_name)) in get_local_netifs()2506 free(local_ifs[cnt]); in get_local_netifs()2510 local_ifs[cnt]->af = req.lifr_addr.ss_family; in get_local_netifs()2520 free_local_netifs(cnt, local_ifs); in get_local_netifs()2523 *if_list = local_ifs; in get_local_netifs()2552 struct net_if **local_ifs = NULL; in print_net_err() local[all …]