다음을 통해 공유


IPSEC_API_PARAM (Windows Embedded CE 6.0)

1/6/2010

This specifies the settings for the IPSec configuration parameters.

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 CE 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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IPSec Structures
SetIPSecConfig