Searched refs:expected_host_name (Results 1 – 2 of 2) sorted by relevance
348 expected_host_name = dhcp_options.get(dhcp_packet.OPTION_HOST_NAME)350 if (expected_host_name is not None and351 expected_host_name != configured_host_name):354 (expected_host_name, configured_host_name))
346 std::string expected_host_name = expected_host_name_in; in DomainMatch() local350 std::transform(expected_host_name.begin(), expected_host_name.end(), in DomainMatch()351 expected_host_name.begin(), in DomainMatch()354 return domain_pattern == expected_host_name; in DomainMatch()357 if (expected_host_name.size() < domain_pattern.size()) return false; in DomainMatch()359 absl::string_view host_suffix(expected_host_name.c_str() + in DomainMatch()360 expected_host_name.size() - in DomainMatch()365 if (expected_host_name.size() < domain_pattern.size()) return false; in DomainMatch()368 absl::string_view host_prefix(expected_host_name.c_str(), in DomainMatch()