5#ifndef BITCOIN_SEEDER_DNS_H
6#define BITCOIN_SEEDER_DNS_H 1
ParseNameStatus parse_name(const uint8_t **inpos, const uint8_t *inend, const uint8_t *inbuf, char *buf, size_t bufsize)
int write_name(uint8_t **outpos, const uint8_t *outend, const char *name, int offset)
constexpr int MAX_LABEL_LENGTH
int dnsserver(dns_opt_t *opt)
constexpr int MAX_QUERY_NAME_LENGTH
constexpr int MAX_QUERY_NAME_BUFFER_LENGTH
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
uint32_t(* cb)(void *opt, char *requested_hostname, addr_t *addr, uint32_t max, uint32_t ipv4, uint32_t ipv6)