Home
last modified time | relevance | path

Searched refs:new_iface (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/src/
Diface_record.c194 sepol_iface_t *new_iface = NULL; in hidden_def() local
195 if (sepol_iface_create(handle, &new_iface) < 0) in hidden_def()
198 if (sepol_iface_set_name(handle, new_iface, iface->name) < 0) in hidden_def()
203 (handle, iface->netif_con, &new_iface->netif_con) < 0)) in hidden_def()
208 (handle, iface->netmsg_con, &new_iface->netmsg_con) < 0)) in hidden_def()
211 *iface_ptr = new_iface; in hidden_def()
216 sepol_iface_free(new_iface); in hidden_def()
/external/dnsmasq/src/
Dnetwork.c494 void fixup_possible_existing_listener(struct irec *new_iface) { in fixup_possible_existing_listener() argument
500 if (sockaddr_isequal(&listener_iface->addr, &new_iface->addr)) { in fixup_possible_existing_listener()
501 l->iface = new_iface; in fixup_possible_existing_listener()
931 struct irec *old_iface, *new_iface, *prev_interfaces; in set_interfaces() local
973 for (new_iface = daemon->interfaces; new_iface; new_iface = new_iface->next) { in set_interfaces()
974 if (sockaddr_isequal(&old_iface->addr, &new_iface->addr)) { in set_interfaces()
981 fixup_possible_existing_listener(new_iface); in set_interfaces()
998 for (new_iface = daemon->interfaces; new_iface; new_iface = new_iface->next) { in set_interfaces()
1004 if(sockaddr_isequal(&old_iface->addr, &new_iface->addr)) { in set_interfaces()
1013 prettyprint_addr(&new_iface->addr, debug_buff); in set_interfaces()
[all …]
/external/wpa_supplicant_8/src/ap/
Dhostapd.c1760 struct hostapd_iface *new_iface = NULL, *iface = NULL; in hostapd_interface_init_bss() local
1836 new_iface = iface = hostapd_init(interfaces, config_fname); in hostapd_interface_init_bss()
1853 if (new_iface) in hostapd_interface_init_bss()
1854 hostapd_interface_deinit_free(new_iface); in hostapd_interface_init_bss()
2107 struct hostapd_iface *hapd_iface = NULL, *new_iface = NULL; in hostapd_add_iface() local
2143 new_iface = hapd_iface; in hostapd_add_iface()
2146 if (new_iface) { in hostapd_add_iface()
2206 new_iface = hapd_iface; in hostapd_add_iface()
2259 if (new_iface) { in hostapd_add_iface()