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

tc-egress example: fix name attribute, update dependencies #130

Closed
wants to merge 2 commits into from
Closed
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
2 changes: 1 addition & 1 deletion examples/tc-egress/tc-egress-ebpf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
aya-bpf = { git = "https://github.com/aya-rs/aya" }
aya-log-ebpf = { git = "https://github.com/aya-rs/aya" }
tc-egress-common = { path = "../tc-egress-common" }
memoffset = "0.8"
memoffset = "0.9"
network-types = "0.0.4"

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion examples/tc-egress/tc-egress-ebpf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use network_types::{
#[map]
static BLOCKLIST: HashMap<u32, u32> = HashMap::with_max_entries(1024, 0);

#[classifier(name = "tc_egress")]
#[classifier]
pub fn tc_egress(ctx: TcContext) -> i32 {
match try_tc_egress(ctx) {
Ok(ret) => ret,
Expand Down
4 changes: 2 additions & 2 deletions examples/tc-egress/tc-egress/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ aya = { version = ">=0.11", features = ["async_tokio"] }
aya-log = "0.1"
tc-egress-common = { path = "../tc-egress-common", features = ["user"] }
anyhow = "1"
clap = { version = "4.1", features = ["derive"] }
clap = { version = "4.3", features = ["derive"] }
log = "0.4"
tokio = { version = "1.25", features = [
tokio = { version = "1.29", features = [
"macros",
"rt",
"rt-multi-thread",
Expand Down
2 changes: 1 addition & 1 deletion examples/tc-egress/xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ edition = "2021"

[dependencies]
anyhow = "1"
clap = { version = "4.1", features = ["derive"] }
clap = { version = "4.3", features = ["derive"] }
aya-tool = { git = "https://github.com/aya-rs/aya" }