Share via


IPSEC_API_PARAM (Compact 2013)

3/26/2014

Deprecated.

This specifies the settings for the IPSec configuration parameters.

Note

The IPSec APIs will be deprecated in the next release of Windows Embedded Compact. Replace them with the WFP IPSec APIs. For more information, see Windows Filtering Platform.

Syntax

typedef struct {
  DWORD id;
  PVOID val;
  DWORD valSize;
} IPSEC_API_PARAM, *PIPSEC_API_PARAM;

Members

  • id
    Specifies the configuration parameter ID. This member can be one of the following values:

    Value

    Description

    IPSEC_API_PARAM_LOG_LEVEL

    Specifies the IPSec logging level.

    IPSEC_API_PARAM_LOG_METHOD

    Specifies the IPSec logging method.

  • val
    Pointer to a data buffer that corresponds to the configuration parameter. For IPSEC_API_PARAM_LOG_LEVEL and IPSEC_API_PARAM_LOG_METHOD this is a pointer to a DWORD. For IPSEC_API_PARAM_LOG_LEVEL, the DWORD value can be one of the following:

    Value

    Description

    IPSEC_API_LOG_LEVEL_NONE

    No logging is performed. This is the default setting.

    IPSEC_API_LOG_LEVEL_ERROR

    Log errors only.

    IPSEC_API_LOG_LEVEL_WARNING

    Log warnings and errors only.

    IPSEC_API_LOG_LEVEL_DIAG

    Log errors, warnings, and diagnostics.

    IPSEC_API_LOG_LEVEL_PSS

    Log all of the above plus information that is useful to product support personnel.

    IPSEC_API_LOG_LEVEL_TRACE

    Perform more extensive logging.

    IPSEC_API_LOG_LEVEL_VERBOSE

    Perform very extensive logging.

    Note

    Logging levels PSS,TRACE, and VERBOSE are available for debug builds of Windows Embedded Compact run-time images only.

    For IPSEC_API_PARAM_LOG_METHOD, the DWORD value can be one of the following:

    Value

    Description

    IPSEC_API_LOG_METHOD_DEBUGOUT

    Print logs to debugger output. This setting is the default.

    IPSEC_API_LOG_METHOD_CELOG

    Output logs using CeLog.

  • valSize
    Size of the data buffer corresponding to a configuration parameter. For IPSEC_API_PARAM_LOG_METHOD and IPSEC_API_PARAM_LOG_METHOD, this value is sizeof(DWORD).

Requirements

Header

ipsec_api.h

See Also

Reference

IPSec Structures

Other Resources

Windows Filtering Platform