www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - TCP/IP API


IPsec_Start

This function activates the IP security function 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.   A error code of 235, "Operation would block", is returned if IP security initialization is pending on DHCP IP address configuration.

    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.

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

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    n/an/an/aV1.07

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