sdns
low-level DNS library
Loading...
Searching...
No Matches
Public Attributes | List of all members
sdns_question Struct Reference

#include <sdns.h>

Public Attributes

char * qname
 RFC1035 - the domain name.
 
uint16_t qtype
 RFC1035 - two octet, type of the query.
 
uint16_t qclass
 RFC1035 - two octet, class of the query.
 

Detailed Description

The structure of the question section of a DNS packet from Section4.1.2 RFC1035

   0  1  2  3  4  5  6  7  8  9  0  1  2  3  4  5
  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
  |                                               |
  /                     QNAME                     /
  /                                               /
  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
  |                     QTYPE                     |
  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
  |                     QCLASS                    |
  +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

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