次の方法で共有


IP_NAT_SESSION_MAPPING_STATISTICS (Compact 2013)

3/28/2014

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 QueryInfoSession function.

Requirements

Header

natedit.h

See Also

Reference

Network Address Translation Structures
QueryInfoSession