GNUnet 0.22.0
GNUNET_TUN_DnsRecordLine Struct Reference

General DNS record prefix. More...

#include <gnunet_tun_lib.h>

Data Fields

uint16_t type
 Record type (GNUNET_DNSPARSER_TYPE_XXX). More...
 
uint16_t dns_traffic_class
 Record class (usually GNUNET_TUN_DNS_CLASS_INTERNET). More...
 
uint32_t ttl
 Expiration for the record (in seconds). More...
 
uint16_t data_len
 Number of bytes of data that follow. More...
 

Detailed Description

General DNS record prefix.

Definition at line 684 of file gnunet_tun_lib.h.

Field Documentation

◆ type

uint16_t GNUNET_TUN_DnsRecordLine::type

Record type (GNUNET_DNSPARSER_TYPE_XXX).

(NBO)

Definition at line 689 of file gnunet_tun_lib.h.

Referenced by add_record(), and GNUNET_DNSPARSER_parse_record().

◆ dns_traffic_class

uint16_t GNUNET_TUN_DnsRecordLine::dns_traffic_class

Record class (usually GNUNET_TUN_DNS_CLASS_INTERNET).

(NBO)

Definition at line 694 of file gnunet_tun_lib.h.

Referenced by add_record(), and GNUNET_DNSPARSER_parse_record().

◆ ttl

uint32_t GNUNET_TUN_DnsRecordLine::ttl

Expiration for the record (in seconds).

(NBO)

Definition at line 699 of file gnunet_tun_lib.h.

Referenced by add_record(), and GNUNET_DNSPARSER_parse_record().

◆ data_len

uint16_t GNUNET_TUN_DnsRecordLine::data_len

Number of bytes of data that follow.

(NBO)

Definition at line 704 of file gnunet_tun_lib.h.

Referenced by add_record(), and GNUNET_DNSPARSER_parse_record().


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