|
|
@ -23,7 +23,6 @@ Add `aya-log-ebpf` and `ufmt` to `Cargo.toml`:
|
|
|
|
```toml
|
|
|
|
```toml
|
|
|
|
[dependencies]
|
|
|
|
[dependencies]
|
|
|
|
aya-log-ebpf = { git = "https://github.com/aya-rs/aya-log", branch = "main" }
|
|
|
|
aya-log-ebpf = { git = "https://github.com/aya-rs/aya-log", branch = "main" }
|
|
|
|
ufmt = "0.1"
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Example
|
|
|
|
## Example
|
|
|
@ -70,4 +69,4 @@ fn try_xdp_firewall(ctx: XdpContext) -> Result<u32, ()> {
|
|
|
|
|
|
|
|
|
|
|
|
[aya]: https://github.com/aya-rs/aya
|
|
|
|
[aya]: https://github.com/aya-rs/aya
|
|
|
|
[log]: https://docs.rs/log
|
|
|
|
[log]: https://docs.rs/log
|
|
|
|
[simplelog]: https://docs.rs/simplelog
|
|
|
|
[simplelog]: https://docs.rs/simplelog
|
|
|
|