5#ifndef BITCOIN_SEEDER_DNS_H
6#define BITCOIN_SEEDER_DNS_H 1
33 uint32_t max, uint32_t ipv4, uint32_t ipv6);
48 const uint8_t *inbuf,
char *buf,
size_t bufsize);
54int write_name(uint8_t **outpos,
const uint8_t *outend,
const char *
name,
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
uint32_t(* cb)(void *opt, char *requested_hostname, addr_t *addr, uint32_t max, uint32_t ipv4, uint32_t ipv6)