riot_sys

Function ieee802154_get_frame_hdr_len

Source
pub unsafe extern "C" fn ieee802154_get_frame_hdr_len(
    mhr: *const u8,
) -> size_t
Expand description

@brief Get length of MAC header.

@todo include security header implications

@param[in] mhr MAC header.

@return Length of MAC header on success. @return 0, on error (source mode or destination mode set to reserved).