共用方式為


FWPM_STATISTICS0 結構 (fwpmtypes.h)

FWPM_STATISTICS0結構會儲存與特定層連線相關的統計資料。

語法

typedef struct FWPM_STATISTICS0_ {
  UINT32                 numLayerStatistics;
  FWPM_LAYER_STATISTICS0 *layerStatistics;
  UINT32                 inboundAllowedConnectionsV4;
  UINT32                 inboundBlockedConnectionsV4;
  UINT32                 outboundAllowedConnectionsV4;
  UINT32                 outboundBlockedConnectionsV4;
  UINT32                 inboundAllowedConnectionsV6;
  UINT32                 inboundBlockedConnectionsV6;
  UINT32                 outboundAllowedConnectionsV6;
  UINT32                 outboundBlockedConnectionsV6;
  UINT32                 inboundActiveConnectionsV4;
  UINT32                 outboundActiveConnectionsV4;
  UINT32                 inboundActiveConnectionsV6;
  UINT32                 outboundActiveConnectionsV6;
  UINT64                 reauthDirInbound;
  UINT64                 reauthDirOutbound;
  UINT64                 reauthFamilyV4;
  UINT64                 reauthFamilyV6;
  UINT64                 reauthProtoOther;
  UINT64                 reauthProtoIPv4;
  UINT64                 reauthProtoIPv6;
  UINT64                 reauthProtoICMP;
  UINT64                 reauthProtoICMP6;
  UINT64                 reauthProtoUDP;
  UINT64                 reauthProtoTCP;
  UINT64                 reauthReasonPolicyChange;
  UINT64                 reauthReasonNewArrivalInterface;
  UINT64                 reauthReasonNewNextHopInterface;
  UINT64                 reauthReasonProfileCrossing;
  UINT64                 reauthReasonClassifyCompletion;
  UINT64                 reauthReasonIPSecPropertiesChanged;
  UINT64                 reauthReasonMidStreamInspection;
  UINT64                 reauthReasonSocketPropertyChanged;
  UINT64                 reauthReasonNewInboundMCastBCastPacket;
  UINT64                 reauthReasonEDPPolicyChanged;
  UINT64                 reauthReasonProxyHandleChanged;
} FWPM_STATISTICS0;

成員

numLayerStatistics

類型: UINT32

layerStatistics成員中的FWPM_LAYER_STATISTICS0結構數目。

layerStatistics

類型: FWPM_LAYER_STATISTICS0*

與圖層相關的統計資料。

inboundAllowedConnectionsV4

類型: UINT32

允許的 IPv4 輸入連線數目。

inboundBlockedConnectionsV4

類型: UINT32

封鎖的 IPv4 輸入連線數目。

outboundAllowedConnectionsV4

類型: UINT32

允許的 IPv4 輸出連線數目。

outboundBlockedConnectionsV4

類型: UINT32

封鎖的 IPv4 輸出連線數目。

inboundAllowedConnectionsV6

類型: UINT32

允許的 IPv6 輸入連線數目。

inboundBlockedConnectionsV6

類型: UINT32

封鎖的 IPv6 輸入連線數目。

outboundAllowedConnectionsV6

類型: UINT32

允許的 IPv6 輸出連線數目。

outboundBlockedConnectionsV6

類型: UINT32

封鎖的 IPv6 輸出連線數目。

inboundActiveConnectionsV4

類型: UINT32

作用中 IPv4 輸入連線的數目。

outboundActiveConnectionsV4

類型: UINT32

作用中 IPv4 輸出連線的數目。

inboundActiveConnectionsV6

類型: UINT32

作用中 IPv6 輸入連線的數目。

outboundActiveConnectionsV6

類型: UINT32

作用中 IPv6 輸出連線的數目。

reauthDirInbound

reauthDirOutbound

reauthFamilyV4

reauthFamilyV6

reauthProtoOther

reauthProtoIPv4

reauthProtoIPv6

reauthProtoICMP

reauthProtoICMP6

reauthProtoUDP

reauthProtoTCP

reauthReasonPolicyChange

reauthReasonNewArrivalInterface

reauthReasonNewNextHopInterface

reauthReasonProfileCrossing

reauthReasonClassifyCompletion

reauthReasonIPSecPropertiesChanged

reauthReasonMidStreamInspection

reauthReasonSocketPropertyChanged

reauthReasonNewInboundMCastBCastPacket

reauthReasonEDPPolicyChanged

reauthReasonProxyHandleChanged

備註

FWPM_STATISTICS0 是FWPM_STATISTICS的特定實作。 如需詳細資訊 ,請參閱 Version-Independent 名稱和以特定版本的 Windows 為目標

需求

   
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
標頭 fwpmtypes.h

另請參閱

FWPM_LAYER_STATISTICS0