#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "net/dns/public/resolv_reader.h"
#include <netinet/in.h>
#include <resolv.h>
#include <sys/types.h>
#include <memory>
#include <optional>
#include <type_traits>
#include <utility>
#include <vector>
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "build/build_config.h"
#include "net/base/ip_endpoint.h"
namespace net {
std::unique_ptr<ScopedResState> ResolvReader::GetResState() { … }
std::optional<std::vector<IPEndPoint>> GetNameservers(
const struct __res_state& res) { … }
}