Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for datalinks other than ethernet #145

Draft
wants to merge 18 commits into
base: djin/0.2.0-alpha
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ members = [
"examples/nat64",
"examples/ping4d",
"examples/pktdump",
"examples/signals",
"examples/skeleton",
"examples/syn-flood",
"ffi",
Expand Down
7 changes: 1 addition & 6 deletions bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Benchmarks for Capsule.

[dev-dependencies]
anyhow = "1.0"
capsule = { version = "0.1", path = "../core", features = ["testils"] }
capsule = { version = "0.2", path = "../core", features = ["testils"] }
criterion = "0.3"
proptest = "1.0"

Expand All @@ -20,11 +20,6 @@ name = "packets"
path = "packets.rs"
harness = false

[[bench]]
name = "combinators"
path = "combinators.rs"
harness = false

[[bench]]
name = "mbuf"
path = "mbuf.rs"
Expand Down
229 changes: 0 additions & 229 deletions bench/combinators.rs

This file was deleted.

2 changes: 1 addition & 1 deletion bench/mbuf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

use anyhow::Result;
use capsule::Mbuf;
use capsule::packets::Mbuf;
use criterion::{criterion_group, criterion_main, Criterion};

const BATCH_SIZE: usize = 100;
Expand Down
Loading