Update contrib.
1 /** @file ../include/arpa/nameser.h
25 maximum compressed domain name
34 maximum length of domain label
43 bytes of fixed data in header
52 bytes of fixed data in query
61 bytes of fixed data in r record
70 bytes of data in a u_int32_t
78 bytes of data in a u_int16_t
86 bytes of data in a u_int8_t
100 /** @def NS_IN6ADDRSZ
108 /** @def NS_CMPRSFLGS
110 Flag bits indicating name compression.
116 /** @def NS_DEFAULTPORT
118 For both TCP and UDP.
124 /** @typedef typedef enum __ns_sect ns_sect
126 These can be expanded with synonyms, just keep ns_parse.c:ns_parserecord() in synch with it.
133 /** @typedef typedef struct __ns_msg ns_msg
135 This is a message handle. It is caller allocated and has no dynamic data.
136 This structure is intended to be opaque to all but ns_parse.c, thus the leading _'s on the member names. Use the accessor functions, not the _'s.
142 /** @typedef typedef struct __ns_rr ns_rr
144 This is a parsed record. It is caller allocated and has no dynamic data.
151 /** @typedef typedef enum __ns_flag ns_flag
153 These don't have to be in the same order as in the packet flags word, and they can even overlap in some cases, but they will need to be kept in synch with ns_parse.c:ns_flagdata[].
160 /** @typedef typedef enum __ns_opcode ns_opcode
162 Currently defined opcodes.
168 /** @typedef typedef enum __ns_rcode ns_rcode
170 Currently defined response codes.
176 /** @typedef typedef enum __ns_update_operation ns_update_operation
185 /** @struct ns_updrec
187 This RR-like structure is particular to UPDATE.
193 /** @var ns_updrec::r_prev
197 /** @var ns_updrec::r_next
201 /** @var ns_updrec::r_section
202 ZONE or PREREQUISITE or UPDATE
205 /** @var ns_updrec::r_dname
209 /** @var ns_updrec::r_class
213 /** @var ns_updrec::r_type
217 /** @var ns_updrec::r_ttl
221 /** @var ns_updrec::r_data
222 rdata fields as text string
225 /** @var ns_updrec::r_size
229 /** @var ns_updrec::r_opcode
233 /** @var ns_updrec::r_grpnext
234 next record when grouped
237 /** @var ns_updrec::r_dp
241 /** @var ns_updrec::r_deldp
242 databuf's deleted or overwritten
245 /** @var ns_updrec::r_zone
246 zone number on server
249 /** @typedef typedef enum __ns_type ns_type
251 Currently defined type values for resources and queries.
257 /** @typedef typedef enum __ns_class ns_class
259 Values for class field