GNUnet  0.10.x
Data Fields
GNUNET_TUN_DnsFlags Struct Reference

DNS flags (largely RFC 1035 / RFC 2136). More...

#include <gnunet_tun_lib.h>

Data Fields

unsigned int recursion_desired: 1
 Set to 1 if recursion is desired (client -> server) More...
 
unsigned int message_truncated: 1
 Set to 1 if message is truncated. More...
 
unsigned int authoritative_answer: 1
 Set to 1 if this is an authoritative answer. More...
 
unsigned int opcode: 4
 See GNUNET_TUN_DNS_OPCODE_ defines. More...
 
unsigned int query_or_response: 1
 query:0, response:1 More...
 
unsigned int return_code: 4
 See GNUNET_TUN_DNS_RETURN_CODE_ defines. More...
 
unsigned int checking_disabled: 1
 See RFC 4035. More...
 
unsigned int authenticated_data: 1
 Response has been cryptographically verified, RFC 4035. More...
 
unsigned int zero: 1
 Always zero. More...
 
unsigned int recursion_available: 1
 Set to 1 if recursion is available (server -> client) More...
 

Detailed Description

DNS flags (largely RFC 1035 / RFC 2136).

Definition at line 339 of file gnunet_tun_lib.h.

Field Documentation

◆ recursion_desired

unsigned int GNUNET_TUN_DnsFlags::recursion_desired

Set to 1 if recursion is desired (client -> server)

Definition at line 345 of file gnunet_tun_lib.h.

Referenced by display_request(), pack(), and recursive_dns_resolution().

◆ message_truncated

unsigned int GNUNET_TUN_DnsFlags::message_truncated

Set to 1 if message is truncated.

Definition at line 350 of file gnunet_tun_lib.h.

Referenced by display_request(), GNUNET_DNSPARSER_pack(), and result_processor().

◆ authoritative_answer

unsigned int GNUNET_TUN_DnsFlags::authoritative_answer

Set to 1 if this is an authoritative answer.

Definition at line 355 of file gnunet_tun_lib.h.

Referenced by display_request(), reply_to_dns(), and result_processor().

◆ opcode

unsigned int GNUNET_TUN_DnsFlags::opcode

See GNUNET_TUN_DNS_OPCODE_ defines.

Definition at line 360 of file gnunet_tun_lib.h.

Referenced by display_request(), and recursive_dns_resolution().

◆ query_or_response

unsigned int GNUNET_TUN_DnsFlags::query_or_response

query:0, response:1

Definition at line 365 of file gnunet_tun_lib.h.

Referenced by display_request(), handle_request(), reply_to_dns(), and result_processor().

◆ return_code

unsigned int GNUNET_TUN_DnsFlags::return_code

See GNUNET_TUN_DNS_RETURN_CODE_ defines.

Definition at line 370 of file gnunet_tun_lib.h.

Referenced by display_request(), reply_to_dns(), and result_processor().

◆ checking_disabled

unsigned int GNUNET_TUN_DnsFlags::checking_disabled

See RFC 4035.

Definition at line 375 of file gnunet_tun_lib.h.

Referenced by display_request(), and result_processor().

◆ authenticated_data

unsigned int GNUNET_TUN_DnsFlags::authenticated_data

Response has been cryptographically verified, RFC 4035.

Definition at line 380 of file gnunet_tun_lib.h.

Referenced by display_request(), and result_processor().

◆ zero

unsigned int GNUNET_TUN_DnsFlags::zero

Always zero.

Definition at line 385 of file gnunet_tun_lib.h.

Referenced by result_processor().

◆ recursion_available

unsigned int GNUNET_TUN_DnsFlags::recursion_available

Set to 1 if recursion is available (server -> client)

Definition at line 390 of file gnunet_tun_lib.h.

Referenced by display_request(), and result_processor().


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