Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure holds statistics for a single-session mapping.

Syntax

typedef struct {
  ULONG64 
BytesForward;
  ULONG64 
BytesReverse;
  ULONG64 
PacketsForward;
  ULONG64 
PacketsReverse;
  ULONG64 
RejectsForward;
  ULONG64 
RejectsReverse;
} IP_NAT_SESSION_MAPPING_STATISTICS;

Members

BytesForward

64-bit unsigned long integer that receives the number of bytes sent on the forward channel.

BytesReverse

64-bit unsigned long integer that receives the number of bytes sent on the reverse channel.

PacketsForward

64-bit unsigned long integer that receives the number of packets sent on the forward channel.

PacketsReverse

64-bit unsigned long integer that receives the number of packets sent on the reverse channel.

RejectsForward

64-bit unsigned long integer that receives the number of packets rejected on forward channel.

RejectsReverse

64-bit unsigned long integer that receives the number of packets rejected on reverse channel.

Remarks

You can obtain this structure by calling the QueryInfoSessionfunction.

Requirements

Header natedit.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also