Lines Matching refs:configs
430 struct dhcp_config *config_find_by_address(struct dhcp_config *configs, struct in_addr addr) in config_find_by_address() argument
434 for (config = configs; config; config = config->next) in config_find_by_address()
600 struct dhcp_config *find_config(struct dhcp_config *configs, in find_config() argument
611 for (config = configs; config; config = config->next) in find_config()
628 for (config = configs; config; config = config->next) in find_config()
634 for (config = configs; config; config = config->next) in find_config()
641 for (candidate = NULL, count = 0, config = configs; config; config = config->next) in find_config()
663 struct dhcp_config *configs, *cp; in check_dhcp_hosts() local
665 for (configs = daemon->dhcp_conf; configs; configs = configs->next) in check_dhcp_hosts()
669 if ((configs->flags & DHOPT_BANK) || fatal) in check_dhcp_hosts()
671 for (cp = configs->next; cp; cp = cp->next) in check_dhcp_hosts()
672 if ((configs->flags & cp->flags & CONFIG_ADDR) && configs->addr.s_addr == cp->addr.s_addr) in check_dhcp_hosts()
680 configs->flags &= ~CONFIG_ADDR; in check_dhcp_hosts()
684 if ((configs->flags & CONFIG_NAME) && (domain = strip_hostname(configs->hostname))) in check_dhcp_hosts()
685 configs->domain = domain; in check_dhcp_hosts()
690 void dhcp_update_configs(struct dhcp_config *configs) in dhcp_update_configs() argument
702 for (config = configs; config; config = config->next) in dhcp_update_configs()
708 for (config = configs; config; config = config->next) in dhcp_update_configs()
725 if (config_find_by_address(configs, crec->addr.addr.addr.addr4)) in dhcp_update_configs()