A DNS query. More...
#include <gnunet_dnsparser_lib.h>
Data Fields | |
char * | name |
Name of the record that the query is for (0-terminated). More... | |
uint16_t | type |
See GNUNET_DNSPARSER_TYPE_*. More... | |
uint16_t | dns_traffic_class |
See GNUNET_TUN_DNS_CLASS_*. More... | |
A DNS query.
Definition at line 102 of file gnunet_dnsparser_lib.h.
char* GNUNET_DNSPARSER_Query::name |
Name of the record that the query is for (0-terminated).
In UTF-8 format. The library will convert from and to DNS-IDNA as necessary. Use GNUNET_DNSPARSER_check_label() to test if an individual label is well-formed. If a given name is not well-formed, creating the DNS packet will fail.
Definition at line 111 of file gnunet_dnsparser_lib.h.
Referenced by display_query(), GNUNET_DNSPARSER_builder_add_query(), handle_request(), pack(), recursive_dns_resolution(), reply_to_dns(), and result_processor().
uint16_t GNUNET_DNSPARSER_Query::type |
See GNUNET_DNSPARSER_TYPE_*.
Definition at line 116 of file gnunet_dnsparser_lib.h.
Referenced by display_query(), GNUNET_DNSPARSER_builder_add_query(), handle_request(), pack(), recursive_dns_resolution(), and reply_to_dns().
uint16_t GNUNET_DNSPARSER_Query::dns_traffic_class |
See GNUNET_TUN_DNS_CLASS_*.
Definition at line 121 of file gnunet_dnsparser_lib.h.
Referenced by display_query(), GNUNET_DNSPARSER_builder_add_query(), pack(), and recursive_dns_resolution().