typedef enum __ns_sect | ns_sect |
These can be expanded with synonyms, just keep ns_parse.c:ns_parserecord() in synch with it.
typedef struct __ns_msg | ns_msg |
This is a message handle. It is caller allocated and has no dynamic data. 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.
struct _ns_flagdata | _ns_flagdata |
typedef struct __ns_rr | ns_rr |
This is a parsed record. It is caller allocated and has no dynamic data.
typedef enum __ns_flag | ns_flag |
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[].
Enumerator | Value | Description |
---|---|---|
ns_o_query | 0 | |
ns_o_iquery | 1 | |
ns_o_status | 2 | |
ns_o_notify | 4 | |
ns_o_update | 5 | |
ns_o_max | 6 |
Enumerator | Value | Description |
---|---|---|
ns_r_noerror | 0 | |
ns_r_formerr | 1 | |
ns_r_servfail | 2 | |
ns_r_nxdomain | 3 | |
ns_r_notimpl | 4 | |
ns_r_refused | 5 | |
ns_r_yxdomain | 6 | |
ns_r_yxrrset | 7 | |
ns_r_nxrrset | 8 | |
ns_r_notauth | 9 | |
ns_r_notzone | 10 | |
ns_r_max | 11 |
Enumerator | Value | Description |
---|---|---|
ns_uop_delete | 0 | |
ns_uop_add | 1 | |
ns_uop_max | 2 |
typedef struct ns_updrec | ns_updrec |
Enumerator | Value | Description |
---|---|---|
ns_t_a | 1 | |
ns_t_ns | 2 | |
ns_t_md | 3 | |
ns_t_mf | 4 | |
ns_t_cname | 5 | |
ns_t_soa | 6 | |
ns_t_mb | 7 | |
ns_t_mg | 8 | |
ns_t_mr | 9 | |
ns_t_null | 10 | |
ns_t_wks | 11 | |
ns_t_ptr | 12 | |
ns_t_hinfo | 13 | |
ns_t_minfo | 14 | |
ns_t_mx | 15 | |
ns_t_txt | 16 | |
ns_t_rp | 17 | |
ns_t_afsdb | 18 | |
ns_t_x25 | 19 | |
ns_t_isdn | 20 | |
ns_t_rt | 21 | |
ns_t_nsap | 22 | |
ns_t_nsap_ptr | 23 | |
ns_t_sig | 24 | |
ns_t_key | 25 | |
ns_t_px | 26 | |
ns_t_gpos | 27 | |
ns_t_aaaa | 28 | |
ns_t_loc | 29 | |
ns_t_nxt | 30 | |
ns_t_eid | 31 | |
ns_t_nimloc | 32 | |
ns_t_srv | 33 | |
ns_t_atma | 34 | |
ns_t_naptr | 35 | |
ns_t_opt | 41 | |
ns_t_ixfr | 251 | |
ns_t_axfr | 252 | |
ns_t_mailb | 253 | |
ns_t_maila | 254 | |
ns_t_any | 255 | |
ns_t_max | 65536 |
typedef enum __ns_type | ns_type |
Currently defined type values for resources and queries.