You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/test/integration-ebpf/src
Michal Rostecki 84e5e2894f aya-log: Unify IP format hints into one, repsesent it by `:i` token
Having separate format hints and tokens per IP address family is
unnecessary, since they are represented by different types and we handle
format hints for each type separately. So we can just have one format
hint.

Also, we should be consistent with the format strings grammar in
Rust[0]. The `type` token, which is mapped to formatting traits, usually
consists of one letter[1] (and optional `?` for `Debug` trait, but that
doesn't matter for us). It shouldn't consist of multiple letters. Our
`:ipv4` and `:ipv6` tokens were clearly breaking that convention, so we
should rather switch to something with one letter - hence `:i`.

[0] https://doc.rust-lang.org/std/fmt/#syntax
[1] https://doc.rust-lang.org/std/fmt/#formatting-traits
2 years ago
..
bpf integration tests: add relocation tests 2 years ago
log.rs aya-log: Unify IP format hints into one, repsesent it by `:i` token 2 years ago
map_test.rs aya-bpf: Add multibuffer support for XDP 2 years ago
name_test.rs test: Replace RTF with Rust 3 years ago
pass.rs aya-bpf: Add multibuffer support for XDP 2 years ago
relocations.rs integration tests: add relocation tests 2 years ago
test.rs aya: fix detaching links on drop 2 years ago