Compartilhar via


FWPS_DISCARD_METADATA0 (Compact 2013)

3/26/2014

This structure describes the data that was discarded by the WFP Filter Engine, a network layer, or a transport layer.

Syntax

typedef struct FWPS_DISCARD_METADATA0_ {
  FWPS_DISCARD_MODULE0 discardModule;
  UINT32 discardReason;
  UINT64 filterId;
} FWPS_DISCARD_METADATA0;

Members

  • discardModule
    An FWPS_DISCARD_MODULE0 type that indicates the type of module that discarded the data
  • discardReason
    A UINT32 value that specifies why the data was discarded
  • filterId
    A UINT64 value that specifies the run-time identifier for the filter in the filter engine that caused the data to be discarded

Remarks

The FWPS_DISCARD_METADATA0 structure contains valid data only if the FWPS_METADATA_FIELD_DISCARD_REASON flag is set in the currentMetadataValues member of the FWPS_INCOMING_METADATA_VALUES0 structure that the filter engine passes to a callout's classifyFn callout function.

Requirements

Header

fwpsk.h

See Also

Reference

WFP Callout Driver Structures
FWPS_DISCARD_MODULE0
FWPS_INCOMING_METADATA_VALUES0
classifyFn
WFP Callout Driver Discard Reason Identifiers
WFP Callout Driver Reference