Searched refs:new_iface (Results 1 – 3 of 3) sorted by relevance
/external/libsepol/src/ |
D | iface_record.c | 194 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/chromium_org/chrome/test/pyautolib/chromeos/ |
D | suid_actions.py | 96 def _Renameif(self, old_iface, new_iface, mac_address): argument 106 subprocess.call(['nameif', new_iface, mac_address]) 107 subprocess.call(['ifconfig', new_iface, 'up']) 112 if new_iface not in eth_ifaces: 114 (old_iface, new_iface))
|
/external/dnsmasq/src/ |
D | network.c | 899 struct irec *old_iface, *new_iface, *prev_interfaces; in set_interfaces() local 941 for (new_iface = daemon->interfaces; new_iface; new_iface = new_iface->next) { in set_interfaces() 942 if (sockaddr_isequal(&old_iface->addr, &new_iface->addr)) { in set_interfaces() 963 for (new_iface = daemon->interfaces; new_iface; new_iface = new_iface->next) { in set_interfaces() 969 if(sockaddr_isequal(&old_iface->addr, &new_iface->addr)) { in set_interfaces() 978 prettyprint_addr(&new_iface->addr, debug_buff); in set_interfaces() 981 create_bound_listener(&(daemon->listeners), new_iface); in set_interfaces()
|