Skip to main content

MAX_CONTROL_REQUEST_LEN

Constant MAX_CONTROL_REQUEST_LEN 

Source
pub const MAX_CONTROL_REQUEST_LEN: u64 = 65488 /* 65_488u64 */;
Expand description

Maximum length of the data stage payload for a control transfer, calculated to fit within Zircon’s 64 KiB channel message limit (ZX_CHANNEL_MAX_MSG_BYTES, 65,536 bytes) alongside FIDL headers and envelopes (48 bytes).