Table 3-40 : Constants Definition At Qtype & Qclass Field - Wiznet W5100E01-AVR User Manual

Table of Contents

Advertisement

QTYPE Field of Question Section is set 'TYPE_PTR', when it holds Domain Name as QNAME. When it's IP
address, it's set as 'TYPE_A', and QCLASS field is set as 'CLASS_IN' since it is included in Internet.
Table 3-41 is definition of constants that are used in QTYPE & QCLASS Fields.
<Table 3-40 : Constants Definition at QTYPE & QCLASS Field>
Definition
#define TYPE_A
#define TYPE_NS
#define TYPE_MD
#define TYPE_MF
#define TYPE_CNAME
#define TYPE_SOA
#define TYPE_MB
#define TYPE_MG
#define TYPE_MR
#define TYPE_NULL
#define TYPE_WKS
#define TYPE_PTR
#define TYPE_HINFO
#define TYPE_MINFO
#define TYPE_MX
#define TYPE_TXT
#define QTYPE_AXFR
#define QTYPE_MAILB
#define QTYPE_MAILA
#define QTYPE_TYPE_ALL
#define CLASS_IN
#define CLASS_CS
#define CLASS_CH
#define CLASS_HS
#define QCLASS_ANY
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
252
253
254
255
1
2
3
4
255
© Copyright 2007 WIZnet Co., Inc. All rights reserved.
Description
The ARPA Internet
an authoritative name server
a mail destination (Obsolete - use MX)
a mail forwarder (Obsolete - use MX)
the canonical name for an alias
marks the start of a zone of authority
a mailbox domain name
a mail group member
a mail rename domain name
a null RR
a well known service description
a domain name pointer
host information
mailbox or mail list information
mail exchange
text strings
A request for a transfer of an entire zone
A request for mailbox-related records
A request for mail agent RRs
A request for all records
Internet
CSNET class
CHAOS class
Hesiod [Dyer 87]
Any class
84

Advertisement

Table of Contents
loading

Table of Contents