Expand Minimize

FWPM_NET_EVENT2 structure

The FWPM_NET_EVENT2 structure contains information about all event types.

Note  FWPM_NET_EVENT2 is the specific implementation of FWPM_NET_EVENT used in Windows 8. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information. For Windows 7, FWPM_NET_EVENT1 is available. For Windows Vista, FWPM_NET_EVENT0 is available.

Syntax


typedef struct FWPM_NET_EVENT2_ {
  FWPM_NET_EVENT_HEADER2 header;
  FWPM_NET_EVENT_TYPE    type;
  union {
    FWPM_NET_EVENT_IKEEXT_MM_FAILURE1 *ikeMmFailure;
    FWPM_NET_EVENT_IKEEXT_QM_FAILURE0 *ikeQmFailure;
    FWPM_NET_EVENT_IKEEXT_EM_FAILURE1 *ikeEmFailure;
    FWPM_NET_EVENT_CLASSIFY_DROP2     *classifyDrop;
    FWPM_NET_EVENT_IPSEC_KERNEL_DROP0 *ipsecDrop;
    FWPM_NET_EVENT_IPSEC_DOSP_DROP0   *idpDrop;
    FWPM_NET_EVENT_CLASSIFY_ALLOW0    *classifyAllow;
    FWPM_NET_EVENT_CAPABILITY_DROP0   *capabilityDrop;
    FWPM_NET_EVENT_CAPABILITY_ALLOW0  *capabilityAllow;
    FWPM_NET_EVENT_CLASSIFY_DROP_MAC0 *classifyDropMac;
  };
} FWPM_NET_EVENT2;

Members

header

Type: FWPM_NET_EVENT_HEADER2

Information common to all events.

type

Type: FWPM_NET_EVENT_TYPE

The type of event.

ikeMmFailure

Type: FWPM_NET_EVENT_IKEEXT_MM_FAILURE1*

Information about an IKE main mode failure.

Available when type is FWPM_NET_EVENT_TYPE_IKEEXT_MM_FAILURE.

ikeQmFailure

Type: FWPM_NET_EVENT_IKEEXT_QM_FAILURE0*

Information about an IKE quick mode failure.

Available when type is FWPM_NET_EVENT_TYPE_IKEEXT_QM_FAILURE.

ikeEmFailure

Type: FWPM_NET_EVENT_IKEEXT_EM_FAILURE1*

Information about an IKE user mode failure.

Available when type is FWPM_NET_EVENT_TYPE_IKEEXT_EM_FAILURE.

classifyDrop

Type: FWPM_NET_EVENT_CLASSIFY_DROP2*

Information about a drop event.

Available when type is FWPM_NET_EVENT_TYPE_CLASSIFY_DROP.

ipsecDrop

Type: FWPM_NET_EVENT_IPSEC_KERNEL_DROP0*

Information about an IPsec kernel drop event.

Available when type is FWPM_NET_EVENT_TYPE_IPSEC_KERNEL_DROP.

idpDrop

Type: FWPM_NET_EVENT_IPSEC_DOSP_DROP0*

Information about an IPsec DoS Protection event.

Available when type is FWPM_NET_EVENT_IPSEC_DOSP_DROP.

classifyAllow

Type: FWPM_NET_EVENT_CLASSIFY_ALLOW0*

Information about an allow event.

capabilityDrop

Type: FWPM_NET_EVENT_CAPABILITY_DROP0*

Information about a capability-related drop event.

capabilityAllow

Type: FWPM_NET_EVENT_CAPABILITY_ALLOW0*

Information about a capability-related allow event.

classifyDropMac

Type: FWPM_NET_EVENT_CLASSIFY_DROP_MAC0*

Information about a MAC layer drop event.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Fwpmtypes.h

IDL

Fwpmtypes.idl

See also

Windows Filtering Platform API Structures

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.