#include <nameser_compat.h>
PACKETSZ NS_PACKETSZ
Description
maximum packet size
MAXDNAME NS_MAXDNAME
Description
maximum domain name
MAXCDNAME NS_MAXCDNAME
Description
maximum compressed domain name
MAXLABEL NS_MAXLABEL
Description
maximum length of domain label
HFIXEDSZ NS_HFIXEDSZ
Description
bytes of fixed data in header
QFIXEDSZ NS_QFIXEDSZ
Description
bytes of fixed data in query
RRFIXEDSZ NS_RRFIXEDSZ
Description
bytes of fixed data in r record
INT32SZ NS_INT32SZ
Description
bytes of data in a u_int32_t
INT16SZ NS_INT16SZ
Description
bytes of data in a u_int16_t
INADDRSZ NS_INADDRSZ
Description
IPv4 T_A
IN6ADDRSZ NS_IN6ADDRSZ
Description
IPv6 T_AAAA
INDIR_MASK NS_CMPRSFLGS
Description
Flag bits indicating name compression.
NAMESERVER_PORT NS_DEFAULTPORT
Description
For both TCP and UDP.
QUERY ns_o_query
Description
Standard query.
IQUERY ns_o_iquery
Description
Inverse query (deprecated or unsupported).
STATUS ns_o_status
Description
Name server status query (unsupported).
NS_NOTIFY_OP ns_o_notify
Description
Zone change notification.
NOERROR ns_r_noerror
Description
No error occurred.
FORMERR ns_r_formerr
Description
Format error.
SERVFAIL ns_r_servfail
Description
Server failure
NXDOMAIN ns_r_nxdomain
Description
Name error.
NOTIMP ns_r_notimpl
Description
Unimplemented
REFUSED ns_r_refused
Description
Operation refused.