Lines Matching refs:conf_addr
650 struct hwaddr_config *conf_addr; in config_has_mac() local
652 for (conf_addr = config->hwaddr; conf_addr; conf_addr = conf_addr->next) in config_has_mac()
653 if (conf_addr->wildcard_mask == 0 && in config_has_mac()
654 conf_addr->hwaddr_len == len && in config_has_mac()
655 (conf_addr->hwaddr_type == type || conf_addr->hwaddr_type == 0) && in config_has_mac()
656 memcmp(conf_addr->hwaddr, hwaddr, len) == 0) in config_has_mac()
670 struct hwaddr_config *conf_addr; in find_config() local
705 for (conf_addr = config->hwaddr; conf_addr; conf_addr = conf_addr->next) in find_config()
706 if (conf_addr->wildcard_mask != 0 && in find_config()
707 conf_addr->hwaddr_len == hw_len && in find_config()
708 (conf_addr->hwaddr_type == hw_type || conf_addr->hwaddr_type == 0) && in find_config()
709 (new = memcmp_masked(conf_addr->hwaddr, hwaddr, hw_len, conf_addr->wildcard_mask)) > count) in find_config()
823 struct hwaddr_config *conf_addr = config->hwaddr; in dhcp_read_ethers() local
824 if (conf_addr && in dhcp_read_ethers()
825 conf_addr->next == NULL && in dhcp_read_ethers()
826 conf_addr->wildcard_mask == 0 && in dhcp_read_ethers()
827 conf_addr->hwaddr_len == ETHER_ADDR_LEN && in dhcp_read_ethers()
828 (conf_addr->hwaddr_type == ARPHRD_ETHER || conf_addr->hwaddr_type == 0) && in dhcp_read_ethers()
829 memcmp(conf_addr->hwaddr, hwaddr, ETHER_ADDR_LEN) == 0) in dhcp_read_ethers()