mirror of https://github.com/aya-rs/aya
Add `{:mac}` (for lower-case hex representation) and `{:MAC}` (for upper-case hex representation) format hints for the `[u8; 6]` type, which is the standard one in Linux to store physical addresses in. Tested with: https://github.com/vadorovsky/aya-examples/tree/main/xdp-mac Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> |
3 years ago | |
---|---|---|
.. | ||
src | 3 years ago | |
Cargo.toml | 3 years ago |