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 101 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 110 of file gnunet_dnsparser_lib.h.
Referenced by gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), display_query(), gnunet_testing.StatisticsCondition::evaluate(), gnunet_testing.EqualStatisticsCondition::evaluate(), 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 115 of file gnunet_dnsparser_lib.h.
Referenced by gnunet_testing.Condition::__init__(), display_query(), gnunet_testing.Condition::evaluate(), gnunet_testing.FileExistCondition::evaluate(), 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 120 of file gnunet_dnsparser_lib.h.
Referenced by display_query(), GNUNET_DNSPARSER_builder_add_query(), pack(), and recursive_dns_resolution().