Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Ddnsmasq.c77 struct iname *if_tmp; in main() local
180 for (if_tmp = daemon->if_names; if_tmp; if_tmp = if_tmp->next) in main()
181 if (if_tmp->name && !if_tmp->used) in main()
182 die(_("unknown interface %s"), if_tmp->name, EC_BADNET); in main()
184 for (if_tmp = daemon->if_addrs; if_tmp; if_tmp = if_tmp->next) in main()
185 if (!if_tmp->used) in main()
187 prettyprint_addr(&if_tmp->addr, daemon->namebuff); in main()
488 for (if_tmp = daemon->if_names; if_tmp; if_tmp = if_tmp->next) in main()
489 if (if_tmp->name && !if_tmp->used) in main()
490 my_syslog(LOG_WARNING, _("warning: interface %s does not currently exist"), if_tmp->name); in main()
Dnetwork.c927 struct iname *if_tmp; in set_interfaces() local
949 if_tmp = safe_malloc(sizeof(struct iname)); in set_interfaces()
950 memset(if_tmp, 0, sizeof(struct iname)); in set_interfaces()
951 if ((if_tmp->name = strdup(interface)) == NULL) { in set_interfaces()
954 if_tmp->next = daemon->if_names; in set_interfaces()
955 daemon->if_names = if_tmp; in set_interfaces()
962 for (if_tmp = daemon->if_names; if_tmp; if_tmp = if_tmp->next) { in set_interfaces()
963 if (if_tmp->name && !if_tmp->used) { in set_interfaces()
964 die(_("unknown interface given %s in set_interfaces: %s"), if_tmp->name, EC_BADNET); in set_interfaces()
1020 if_tmp = prev_if_names->next; in set_interfaces()
[all …]