riot_sys::bindgen

Function gnrc_tcp_queue_get_local

Source
pub unsafe extern "C" fn gnrc_tcp_queue_get_local(
    queue: *mut gnrc_tcp_tcb_queue_t,
    ep: *mut gnrc_tcp_ep_t,
) -> c_int
Expand description

@brief Gets the local end point of a TCB queue

@pre queue must not be NULL @pre ep must not be NULL

@param[in] queue TCB queue to stop listening @param[out] ep The local end point.

@return 0 on success. @return -EADDRNOTAVAIL, when @p queue has no local end point.