GNUnet 0.22.2
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 343 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 349 of file gnunet_tun_lib.h.

Referenced by pack().

◆ message_truncated

unsigned int GNUNET_TUN_DnsFlags::message_truncated

Set to 1 if message is truncated.

Definition at line 354 of file gnunet_tun_lib.h.

Referenced by 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 359 of file gnunet_tun_lib.h.

Referenced by reply_to_dns(), and result_processor().

◆ opcode

unsigned int GNUNET_TUN_DnsFlags::opcode

See GNUNET_TUN_DNS_OPCODE_ defines.

Definition at line 364 of file gnunet_tun_lib.h.

◆ query_or_response

unsigned int GNUNET_TUN_DnsFlags::query_or_response

query:0, response:1

Definition at line 369 of file gnunet_tun_lib.h.

Referenced by 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 374 of file gnunet_tun_lib.h.

Referenced by reply_to_dns(), and result_processor().

◆ checking_disabled

unsigned int GNUNET_TUN_DnsFlags::checking_disabled

See RFC 4035.

Definition at line 379 of file gnunet_tun_lib.h.

Referenced by result_processor().

◆ authenticated_data

unsigned int GNUNET_TUN_DnsFlags::authenticated_data

Response has been cryptographically verified, RFC 4035.

Definition at line 384 of file gnunet_tun_lib.h.

Referenced by result_processor().

◆ zero

unsigned int GNUNET_TUN_DnsFlags::zero

Always zero.

Definition at line 389 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 394 of file gnunet_tun_lib.h.

Referenced by result_processor().


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