Partager via


FWPS_STREAM_DATA_OFFSET0 (Compact 2013)

3/26/2014

This structure defines an offset into a segment of a data stream that is described by an FWPS_STREAM_DATA0 structure.

Syntax

typedef struct FWPS_STREAM_DATA_OFFSET0_ {
  NET_BUFFER_LIST  *netBufferList;
  NET_BUFFER  *netBuffer;
  MDL  *mdl;
  UINT32  mdlOffset;
  UINT32  netBufferOffset;
  SIZE_T  streamDataOffset;
} FWPS_STREAM_DATA_OFFSET0;

Members

  • netBufferList
    A pointer to the NET_BUFFER_LIST structure in which the offset lies
  • netBuffer
    A pointer to the NET_BUFFER structure in which the offset lies
  • mdl
    A pointer to the Memory Descriptor List (MDL) in which the offset lies.
  • mdlOffset
    The byte offset from the beginning of the MDL pointed to by the mdl member.
  • netBufferOffset
    Reserved for system use. Callout drivers must not use this member.
  • streamDataOffset
    Reserved for system use. Callout drivers must not use this member.

Remarks

An FWPS_STREAM_DATA_OFFSET0 structure is contained inside an FWPS_STREAM_DATA0 structure. The FWPS_STREAM_DATA_OFFSET0 structure specifies an offset into the data stream.

The combination of the netBufferList, netBuffer, mdl, and mdlOffset members provide the location of the first byte of the data of interest.

Requirements

Header

fwpsk.h

See Also

Reference

WFP Callout Driver Structures
NET_BUFFER_LIST
NET_BUFFER
FWPS_STREAM_DATA0
WFP Callout Driver Reference