openthread_sys

Function otTcpEndpointGetInstance

Source
pub unsafe extern "C" fn otTcpEndpointGetInstance(
    aEndpoint: *mut otTcpEndpoint,
) -> *mut otInstance
Expand description

Obtains the otInstance that was associated with @p aEndpoint upon initialization.

@param[in] aEndpoint The TCP endpoint whose instance to obtain.

@returns The otInstance pointer associated with @p aEndpoint.