Lines Matching refs:conf_addr
655 struct hwaddr_config *conf_addr; in config_has_mac() local
657 for (conf_addr = config->hwaddr; conf_addr; conf_addr = conf_addr->next) in config_has_mac()
658 if (conf_addr->wildcard_mask == 0 && in config_has_mac()
659 conf_addr->hwaddr_len == len && in config_has_mac()
660 (conf_addr->hwaddr_type == type || conf_addr->hwaddr_type == 0) && in config_has_mac()
661 memcmp(conf_addr->hwaddr, hwaddr, len) == 0) in config_has_mac()
675 struct hwaddr_config *conf_addr; in find_config() local
710 for (conf_addr = config->hwaddr; conf_addr; conf_addr = conf_addr->next) in find_config()
711 if (conf_addr->wildcard_mask != 0 && in find_config()
712 conf_addr->hwaddr_len == hw_len && in find_config()
713 (conf_addr->hwaddr_type == hw_type || conf_addr->hwaddr_type == 0) && in find_config()
714 (new = memcmp_masked(conf_addr->hwaddr, hwaddr, hw_len, conf_addr->wildcard_mask)) > count) in find_config()
828 struct hwaddr_config *conf_addr = config->hwaddr; in dhcp_read_ethers() local
829 if (conf_addr && in dhcp_read_ethers()
830 conf_addr->next == NULL && in dhcp_read_ethers()
831 conf_addr->wildcard_mask == 0 && in dhcp_read_ethers()
832 conf_addr->hwaddr_len == ETHER_ADDR_LEN && in dhcp_read_ethers()
833 (conf_addr->hwaddr_type == ARPHRD_ETHER || conf_addr->hwaddr_type == 0) && in dhcp_read_ethers()
834 memcmp(conf_addr->hwaddr, hwaddr, ETHER_ADDR_LEN) == 0) in dhcp_read_ethers()