Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <nameser.h>

NS_PACKETSZ

NS_PACKETSZ 512

Description

maximum packet size

[Top]


NS_MAXDNAME

NS_MAXDNAME 1025

Description

maximum domain name

[Top]


NS_MAXCDNAME

NS_MAXCDNAME 255

Description

maximum compressed domain name

[Top]


NS_MAXLABEL

NS_MAXLABEL 63

Description

maximum length of domain label

[Top]


NS_HFIXEDSZ

NS_HFIXEDSZ 12

Description

bytes of fixed data in header

[Top]


NS_QFIXEDSZ

NS_QFIXEDSZ 4

Description

bytes of fixed data in query

[Top]


NS_RRFIXEDSZ

NS_RRFIXEDSZ 10

Description

bytes of fixed data in r record

[Top]


NS_INT32SZ

NS_INT32SZ 4

Description

bytes of data in a u_int32_t

[Top]


NS_INT16SZ

NS_INT16SZ 2

Description

bytes of data in a u_int16_t

[Top]


NS_INT8SZ

NS_INT8SZ 1

Description

bytes of data in a u_int8_t

[Top]


NS_INADDRSZ

NS_INADDRSZ 4

Description

IPv4 T_A

[Top]


NS_IN6ADDRSZ

NS_IN6ADDRSZ 16

Description

IPv6 T_AAAA

[Top]


NS_CMPRSFLGS

NS_CMPRSFLGS 0xc0

Description

Flag bits indicating name compression.

[Top]


NS_DEFAULTPORT

NS_DEFAULTPORT 53

Description

For both TCP and UDP.

[Top]


Typedef ns_sect

typedef enum __ns_sect ns_sect;

Description

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

[Top]


Typedef ns_msg

typedef struct __ns_msg ns_msg;

Description

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.

[Top]


Typedef ns_rr

typedef struct __ns_rr ns_rr;

Description

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

[Top]


Typedef ns_flag

typedef enum __ns_flag ns_flag;

Description

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[].

[Top]


Typedef ns_opcode

typedef enum __ns_opcode ns_opcode;

Description

Currently defined opcodes.

[Top]


Typedef ns_rcode

typedef enum __ns_rcode ns_rcode;

Description

Currently defined response codes.

[Top]


Typedef ns_update_operation

typedef enum __ns_update_operation ns_update_operation;

Description

BIND_UPDATE

[Top]


Typedef ns_type

typedef enum __ns_type ns_type;

Description

Currently defined type values for resources and queries.

[Top]


Typedef ns_class

typedef enum __ns_class ns_class;

Description

Values for class field


nameser.h Global variables