Skip to content

Latest commit

 

History

History
126 lines (103 loc) · 3.47 KB

nf-fwpmu-ipsecsacontextexpire0.md

File metadata and controls

126 lines (103 loc) · 3.47 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:fwpmu.IPsecSaContextExpire0
IPsecSaContextExpire0 function (fwpmu.h)
Indicates that an IPsec security association (SA) context should be expired.
IPsecSaContextExpire0
IPsecSaContextExpire0 function [Filtering]
fwp.ipsecsacontextexpire0
fwpmu/IPsecSaContextExpire0
fwp\ipsecsacontextexpire0.htm
fwp
7e249e61-ba40-4dd9-b675-c3c86e8dd1bf
12/05/2018
IPsecSaContextExpire0, IPsecSaContextExpire0 function [Filtering], fwp.ipsecsacontextexpire0, fwpmu/IPsecSaContextExpire0
fwpmu.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Fwpuclnt.lib
Fwpuclnt.dll
Windows
19H1
IPsecSaContextExpire0
fwpmu/IPsecSaContextExpire0
c++
APIRef
kbSyntax
DllExport
Fwpuclnt.dll
IPsecSaContextExpire0

IPsecSaContextExpire0 function

-description

The IPsecSaContextExpire0 function indicates that an IPsec security association (SA) context should be expired.

-parameters

-param engineHandle [in]

Type: HANDLE

Handle for an open session to the filter engine. Call FwpmEngineOpen0 to open a session to the filter engine.

-param id [in]

Type: UINT64

A runtime identifier for SA context. This identifier was received from the system when the application called IPsecSaContextCreate0.

-returns

Type: DWORD

Return code/value Description
ERROR_SUCCESS
0
The IPsec SA context was successfully expired.
FWP_E_* error code
0x80320001—0x80320039
A Windows Filtering Platform (WFP) specific error. See WFP Error Codes for details.
RPC_* error code
0x80010001—0x80010122
Failure to communicate with the remote or local firewall engine.

-remarks

When an SA context is expired, the corresponding outbound SA gets deleted immediately, whereas the inbound SA deletion is postponed for a minute. This allows the processing of any inbound IPsec protected traffic that may still be on the wire.

The caller needs DELETE access to the IPsec security associations database. See Access Control for more information.

IPsecSaContextExpire0 is a specific implementation of IPsecSaContextExpire. See WFP Version-Independent Names and Targeting Specific Versions of Windows for more information.

-see-also

IPsecSaContextCreate0