Searched refs:TLV_HEADER_SIZE (Results 1 – 1 of 1) sorted by relevance
344 const TLV_HEADER_SIZE: usize = 2; in parse_app_config_tlv_vec() constant346 byte_array = byte_array.get(tlv.v.len() + TLV_HEADER_SIZE..).ok_or(Error::BadParameters)?; in parse_app_config_tlv_vec()347 parsed_tlvs_len += tlv.v.len() + TLV_HEADER_SIZE; in parse_app_config_tlv_vec()366 const TLV_HEADER_SIZE: usize = 2; in parse_radar_config_tlv_vec() constant368 byte_array = byte_array.get(tlv.v.len() + TLV_HEADER_SIZE..).ok_or(Error::BadParameters)?; in parse_radar_config_tlv_vec()369 parsed_tlvs_len += tlv.v.len() + TLV_HEADER_SIZE; in parse_radar_config_tlv_vec()