Share via


PFLOGFRAME

[PFLOGFRAME 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 PFLOGFRAME structure stores the information for a log entry.

typedef struct _pfLogFrame {
  LARGE_INTEGER Timestamp;
  PFFRAMETYPE pfeTypeOfFrame;
  DWORD dwTotalSizeUsed;
  DWORD dwFilterRule;
  WORD wSizeOfAdditionalData;
  WORD wSizeOfIpHeader;
  DWORD dwInterfaceName;
  DWORD dwIPIndex;
  BYTE bPacketData[1];
} PFLOGFRAME, 
 *PPFLOGFRAME;

Members

  • Timestamp
    Time at which the entry was written to the log. This value is in milliseconds.
  • pfeTypeOfFrame
    Variable of type PFFRAMETYPE that specifies the reason the packet was filtered.
  • dwTotalSizeUsed
    The total size, in bytes, of this entry. Use this value to find the next log entry in a sequence of entries.
  • dwFilterRule
    Specifies the rule for the filter.
  • wSizeOfAdditionalData
    Specifies additional data for the rule.
  • wSizeOfIpHeader
    Size of the IP header for the packet.
  • dwInterfaceName
    The name of the interface.
  • dwIPIndex
    The index of the interface on which the packet was sent or received.
  • bPacketData
    A buffer that contains the data from the packet.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server.
Header

Declared in Fltdefs.h.

See Also

PFFRAMETYPE
PfMakeLog
PfSetLogBuffer
PfDeleteLog