GNUnet  0.10.x
Data Fields
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
 See GNUNET_DNSPARSER_TYPE_*. More...
 
uint16_t dns_traffic_class
 See GNUNET_TUN_DNS_CLASS_*. More...
 

Detailed Description

A DNS query.

Definition at line 95 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 105 of file gnunet_dnsparser_lib.h.

Referenced by build_dns_query(), display_query(), GNUNET_DNSPARSER_builder_add_query(), GNUNET_DNSPARSER_free_packet(), GNUNET_DNSPARSER_parse_query(), handle_dns_request(), handle_request(), pack(), queue(), recursive_dns_resolution(), reply_to_dns(), and result_processor().

◆ type

uint16_t GNUNET_DNSPARSER_Query::type

◆ dns_traffic_class

uint16_t GNUNET_DNSPARSER_Query::dns_traffic_class

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