Skip to main content

pair_ipc_cells

Function pair_ipc_cells 

Source
pub fn pair_ipc_cells(
    host: &mut HostAdmission,
    a_controller: &[u8],
    b_controller: &[u8],
    scope: ScopeEpoch,
    mtu: u16,
    cell_bytes: u64,
) -> Result<(NativePeer, NativePeer), QdnfError>
Expand description

Two native peers over local-ipc-v1, admitted from one HostAdmission.

Each peer needs cell_bytes. If remaining host bytes cannot cover the second cell, this returns QdnfError::Capacity.