Function esp_idf_sys::lldesc_get_received_len
source · pub unsafe extern "C" fn lldesc_get_received_len(
head: *mut lldesc_t,
out_next: *mut *mut lldesc_t,
) -> c_int
Expand description
@brief Get the received length of a linked list, until end of the link or eof.
@param head The head of the linked list.
@param[out] out_next Output of the next descriptor of the EOF descriptor. Return NULL if there’s no
EOF. Can be set to NULL if next descriptor is not needed.
@return The accumulation of the len
field of all descriptors until EOF or the end of the link.