Receive source frames

This commit is contained in:
Dominik Werder
2021-08-27 13:44:59 +02:00
parent e258718d02
commit ba568c8850
11 changed files with 481 additions and 53 deletions

View File

@@ -30,3 +30,4 @@ netpod = { path = "../netpod" }
#httpret = { path = "../httpret" }
disk = { path = "../disk" }
daqbufp2 = { path = "../daqbufp2" }
netfetch = { path = "../netfetch" }

View File

@@ -94,6 +94,9 @@ async fn go() -> Result<(), Error> {
SubCmd::GenerateTestData => {
disk::gen::gen_test_data().await?;
}
SubCmd::Zmtp(zmtp) => {
netfetch::zmtp::zmtp_client(&zmtp.addr).await?;
}
}
Ok(())
}

View File

@@ -15,6 +15,7 @@ pub enum SubCmd {
Proxy(Proxy),
Client(Client),
GenerateTestData,
Zmtp(Zmtp),
}
#[derive(Debug, Clap)]
@@ -70,3 +71,9 @@ pub struct BinnedClient {
#[clap(long, default_value = "1048576")]
pub disk_stats_every_kb: u32,
}
#[derive(Debug, Clap)]
pub struct Zmtp {
#[clap(long)]
pub addr: String,
}