Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Ddhcp.c508 struct hwaddr_config* conf_addr; in config_has_mac() local
510 for (conf_addr = config->hwaddr; conf_addr; conf_addr = conf_addr->next) in config_has_mac()
511 if (conf_addr->wildcard_mask == 0 && conf_addr->hwaddr_len == len && in config_has_mac()
512 (conf_addr->hwaddr_type == type || conf_addr->hwaddr_type == 0) && in config_has_mac()
513 memcmp(conf_addr->hwaddr, hwaddr, len) == 0) in config_has_mac()
524 struct hwaddr_config* conf_addr; in find_config() local
554 for (conf_addr = config->hwaddr; conf_addr; conf_addr = conf_addr->next) in find_config()
555 if (conf_addr->wildcard_mask != 0 && conf_addr->hwaddr_len == hw_len && in find_config()
556 (conf_addr->hwaddr_type == hw_type || conf_addr->hwaddr_type == 0) && in find_config()
557 (new = memcmp_masked(conf_addr->hwaddr, hwaddr, hw_len, in find_config()
[all …]