Share via


PF_INTERFACE_STATS

[PF_INTERFACE_STATS is available for use in the operating systems listed in the Requirements section. It may be altered or unavailable in subsequent versions. The API elements described in the Windows Filtering Platform API Reference provide similar functionality.]

The PF_INTERFACE_STATS structure contains statistics for an interface.

typedef struct _PF_INTERFACE_STATS {
  PVOID pvDriverContext;
  DWORD dwFlags;
  DWORD dwInDrops;
  DWORD dwOutDrops;
  PFFORWARD_ACTION eaInAction;
  PFFORWARD_ACTION eaOutAction;
  DWORD dwNumInFilters;
  DWORD dwNumOutFilters;
  DWORD dwFrag;
  DWORD dwSpoof;
  DWORD dwReserved1;
  DWORD dwReserved2;
  LARGE_INTEGER liSYN;
  LARGE_INTEGER liTotalLogged;
  DWORD dwLostLogEntries;
  PF_FILTER_STATS FilterInfo[1];
} PF_INTERFACE_STATS, 
 *PPF_INTERFACE_STATS;

Members

  • pvDriverContext
    This member is not currently used.
  • dwFlags
    No flags are currently defined for this member.
  • dwInDrops
    Specifies the number of incoming packets that were dropped.
  • dwOutDrops
    Specifies the number of outgoing packets that were dropped.
  • eaInAction
    Specifies the default incoming action.
  • eaOutAction
    Specifies the default outgoing action.
  • dwNumInFilters
    Specifies the number of filters for incoming packets.
  • dwNumOutFilters
    Specifies the number of filters for outgoing packets.
  • dwFrag
    Specifies the state of global fragment checking. See GLOBAL_FILTER for more information.
  • dwSpoof
    Specifies the state of global checking of destination addresses. See GLOBAL_FILTER for more information.
  • dwReserved1
    Reserved. This member should be zero.
  • dwReserved2
    Reserved. This member should be zero.
  • liSYN
    Specifies the number of SYN packets discarded.
  • liTotalLogged
    Specifies the number of packets logged.
  • dwLostLogEntries
    Specifies the number of logged packets lost because of buffering problems.
  • FilterInfo
    Specifies an array of PF_FILTER_STATS structures. The array contains an element for each filter associated with the interface. Each element contains a description of the filter and the number of packets filtered by that filter.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server.
Header

Declared in Fltdefs.h.

See Also

GLOBAL_FILTER
PfGetInterfaceStatistics
PF_FILTER_STATS
PFFORWARD_ACTION