1 // Copyright 2021 Ian Jackson and contributors to Hippotat
2 // SPDX-License-Identifier: GPL-3.0-or-later
3 // There is NO WARRANTY.
7 #[allow(dead_code)] // xxx
8 #[allow(unused_variables)] // xxx
9 pub async fn run(global: Arc<Global>,
10 rx: mpsc::Receiver<RoutedPacket>,
11 mut ipif: Ipif) -> Result<Void,AE> {
17 // xxx something something rx something
19 data = ipif.tx.next_segment() =>
21 let data = data.context("read from ipif")?;
27 ipif.quitting(None).await;