2.2.10.2.20 DNSSRV_PACKET_STATS

The DNSSRV_PACKET_STATS structure has DNS server statistics related to packets usage<76>. This structure MUST be formatted as follows:


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Header

...

UdpAlloc

UdpFree

UdpNetAllocs

UdpMemory

UdpUsed

UdpReturn

UdpResponseReturn

UdpQueryReturn

UdpInUse

UdpInFreeList

TcpAlloc

TcpRealloc

TcpFree

TcpNetAllocs

TcpMemory

RecursePacketUsed

RecursePacketReturn

PacketsForNsListUsed (optional)

PacketsForNsListReturned (optional)

PacketsForNsListInUse (optional)

Header (8 bytes): A structure of type DNSSRV_STAT_HEADER (section 2.2.10.2.1).

UdpAlloc (4 bytes): The cumulative number of UDP packets allocated by the server from system memory.

UdpFree (4 bytes): The cumulative number of UDP packets returned by the server to system memory.

UdpNetAllocs (4 bytes): The number of currently allocated UDP packets.

UdpMemory (4 bytes): The number of bytes of memory used by allocated or taken from the free list for use in query processing.

UdpUsed (4 bytes): The cumulative number of UDP packets from the pool of packets used by the server.

UdpReturn (4 bytes): The cumulative number of UDP packets freed or returned to the free list by the server.

UdpResponseReturn (4 bytes): The cumulative number of UDP packets freed or returned to the free list by the server that were UDP response packets.

UdpQueryReturn (4 bytes): The cumulative number of UDP query packets freed or returned to the free list by the server that were UDP query packets.

UdpInUse (4 bytes): The number of UDP packets currently in use to process queries.

UdpInFreeList (4 bytes): The number of UDP packets currently on the server's free list.

TcpAlloc (4 bytes): The cumulative number of TCP buffers allocated by the server from system memory.

TcpRealloc (4 bytes): Not used. Senders MUST set this value to zero and receivers MUST ignore it.

TcpFree (4 bytes): The cumulative number of TCP buffers returned by the server to system memory.

TcpNetAllocs (4 bytes): The number of allocated TCP buffers currently allocated by the server.

TcpMemory (4 bytes): The total system memory, in bytes, used by TCP buffers currently allocated by the server.

RecursePacketUsed (4 bytes): The cumulative number of packets used by the server for recursion queries.

RecursePacketReturn (4 bytes): The cumulative number of packets that were used for recursive queries and then returned by the server to the pool of packets.

PacketsForNsListUsed (4 bytes): The total number of TCP buffers used by the server for name server list query messages. This field SHOULD<77> be present. A client can tell whether the field is present based on the size of the buffer holding this structure.

PacketsForNsListReturned (4 bytes): The total number of TCP buffers that were used for name server lists in query messages, returned by the server to the pool of packets. This field MUST be present if and only if PacketsForNsListUsed is present. A client can tell whether the field is present based on the size of the buffer holding this structure.

PacketsForNsListInUse (4 bytes): The number of TCP buffers that are currently being used by the server for name lists in query messages. This field MUST be present if and only if PacketsForNsListUsed is present. A client can tell whether the field is present based on the size of the buffer holding this structure.