www.beck-ipc.com

@CHIP-RTOS C Library - TCP/IP API


IPsec_Start

This function activates the IP security function and IKE task within the system's TCP/IP stack.

int IPsec_Start(void) ;

Parameters

-- none --

Return Value

error code, zero on success.   Otherwise on failure:
    less than 5000:   Look here for error code description.

    5000 <= error code < 6000:   The POLICY_FILE restore operation has failed.   Subtract 5100 from this value and check here for resulting error value.

    6000 <= error code < 7000:   The PRESHARED_KEY loading failed.   Subtract 6100 from this error code and look here for a description of the resulting error code.

Comments

Alternatively, the IP Security can be started by setting the IPSEC ENABLE value in the CHIP.INI or by using the IKE START console command.

See Also

RTOS API

This library function invokes a RTOS software interrupt.   Refer to the RTOS API function IPSEC_VECTORS for more details.

Related Topics

IPSEC ENABLE from CHIP.INI file
IKE command

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    n/an/an/aV1.07V1.00

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.06

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document