Home
last modified time | relevance | path

Searched refs:if_tmp (Results 1 – 2 of 2) sorted by relevance

/external/dnsmasq/src/
Ddnsmasq.c127 struct iname* if_tmp; in main() local
196 for (if_tmp = daemon->if_names; if_tmp; if_tmp = if_tmp->next) in main()
197 if (if_tmp->name && !if_tmp->used) in main()
198 die(_("unknown interface %s"), if_tmp->name, EC_BADNET); in main()
200 for (if_tmp = daemon->if_addrs; if_tmp; if_tmp = if_tmp->next) in main()
201 if (!if_tmp->used) { in main()
202 prettyprint_addr(&if_tmp->addr, daemon->namebuff); in main()
426 for (if_tmp = daemon->if_names; if_tmp; if_tmp = if_tmp->next) in main()
427 if (if_tmp->name && !if_tmp->used) in main()
429 if_tmp->name); in main()
Dnetwork.c796 struct iname* if_tmp; in set_interfaces() local
823 if_tmp = safe_malloc(sizeof(struct iname)); in set_interfaces()
824 memset(if_tmp, 0, sizeof(struct iname)); in set_interfaces()
825 if ((if_tmp->name = strdup(interface)) == NULL) { in set_interfaces()
828 if_tmp->next = daemon->if_names; in set_interfaces()
829 daemon->if_names = if_tmp; in set_interfaces()
841 for (if_tmp = daemon->if_names; if_tmp; if_tmp = if_tmp->next) { in set_interfaces()
842 if (if_tmp->name && !if_tmp->used) { in set_interfaces()
843 my_syslog(LOG_ERR, _("unknown interface given %s in set_interfaces()"), if_tmp->name); in set_interfaces()
900 if_tmp = prev_if_names->next; in set_interfaces()
[all …]