GNUnet  0.20.0
GNUNET_DNSPARSER_Query Struct Reference

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
uint16_t dns_traffic_class

Detailed Description

A DNS query.

Definition at line 101 of file gnunet_dnsparser_lib.h.

Field Documentation

◆ name

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().

◆ type

◆ dns_traffic_class

uint16_t GNUNET_DNSPARSER_Query::dns_traffic_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().

The documentation for this struct was generated from the following file: