nameser.h File Reference

#include <stdapis/arpa/nameser.h>

Typedef ns_sect

typedef enum __ns_sectns_sect

These can be expanded with synonyms, just keep ns_parse.c:ns_parserecord() in synch with it.

Typedef ns_msg

typedef struct __ns_msgns_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.

_ns_flagdata

struct _ns_flagdata_ns_flagdata

Typedef ns_rr

typedef struct __ns_rrns_rr

This is a parsed record. It is caller allocated and has no dynamic data.

Typedef ns_flag

typedef enum __ns_flagns_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[].

Typedef ns_opcode

typedef enum __ns_opcodens_opcode

Currently defined opcodes.

Typedef ns_rcode

typedef enum __ns_rcodens_rcode

Currently defined response codes.

Typedef ns_update_operation

typedef enum __ns_update_operationns_update_operation

BIND_UPDATE

Typedef ns_updrec

typedef struct ns_updrecns_updrec

Typedef ns_type

typedef enum __ns_typens_type

Currently defined type values for resources and queries.

Typedef ns_class

typedef enum __ns_classns_class

Values for class field