Searched refs:local_ifs (Results 1 – 1 of 1) sorted by relevance
2431 struct net_if **local_ifs = NULL; in get_local_netifs() local2502 if ((p = (struct net_if **)realloc(local_ifs, in get_local_netifs()2507 local_ifs = p; in get_local_netifs()2509 if ((local_ifs[cnt] = malloc(sizeof (struct net_if))) == NULL) { in get_local_netifs()2514 if ((local_ifs[cnt]->name = strdup(if_reqp->lifr_name)) in get_local_netifs()2516 free(local_ifs[cnt]); in get_local_netifs()2520 local_ifs[cnt]->af = req.lifr_addr.ss_family; in get_local_netifs()2530 free_local_netifs(cnt, local_ifs); in get_local_netifs()2533 *if_list = local_ifs; in get_local_netifs()2562 struct net_if **local_ifs = NULL; in print_net_err() local[all …]