Редагувати

Поділитися через


FRAME_DESCRIPTOR structure

The FRAME_DESCRIPTOR structure provides descriptive information about raw frames.

Syntax

typedef struct _FRAME_DESCRIPTOR {
  LPBYTE       FramePointer;
  __int64      TimeStamp;
  DWORD        FrameLength;
  DWORD        nBytesAvail;
  WORD         Etype;
  BYTE         Sap;
  BYTE         LowProtocol;
  WORD         LowProtocolOffset;
  GENERIC_PORT HighPort;
  WORD         HighProtocolOffset;
} FRAME_DESCRIPTOR, *LPFRAME_DESCRIPTOR;

Members

FramePointer

Pointer to frame data.

TimeStamp

System time, in microseconds, when the frame was captured. This time is typically used to determine the interval between the times two frames were captured.

FrameLength

Length of the frame.

nBytesAvail

Actual frame length copied.

Etype

Etype name.

Sap

SAP value.

LowProtocol

Index of protocol found.

LowProtocolOffset

Offset to protocol data obtained from LowProtocol.

HighPort

Port of high protocol identified in LowProtocol.

HighProtocolOffset

Offset to protocol data obtained from HighPort.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h