Home | History | Annotate | Download | only in src

Lines Matching refs:configs

492 struct dhcp_config *config_find_by_address(struct dhcp_config *configs, struct in_addr addr)
496 for (config = configs; config; config = config->next)
662 struct dhcp_config *find_config(struct dhcp_config *configs,
673 for (config = configs; config; config = config->next)
690 for (config = configs; config; config = config->next)
696 for (config = configs; config; config = config->next)
703 for (candidate = NULL, count = 0, config = configs; config; config = config->next)
885 struct dhcp_config *configs, *cp;
887 for (configs = daemon->dhcp_conf; configs; configs = configs->next)
891 if ((configs->flags & DHOPT_BANK) || fatal)
893 for (cp = configs->next; cp; cp = cp->next)
894 if ((configs->flags & cp->flags & CONFIG_ADDR) && configs->addr.s_addr == cp->addr.s_addr)
902 configs->flags &= ~CONFIG_ADDR;
906 if ((configs->flags & CONFIG_NAME) && (domain = strip_hostname(configs->hostname)))
907 configs->domain = domain;
912 void dhcp_update_configs(struct dhcp_config *configs)
924 for (config = configs; config; config = config->next)
930 for (config = configs; config; config = config->next)
947 if (config_find_by_address(configs, crec->addr.addr.addr.addr4))