- Three-crate workspace: tcptop (userspace), tcptop-common (shared), tcptop-ebpf (kernel) - Shared types with #[repr(C)] union layout: TcptopEvent, DataEvent, StateEvent - IPv6-ready [u8; 16] address fields with af_family discriminant - aya-build integration in build.rs for eBPF compilation - RingBuf map declaration in eBPF skeleton - Pinned nightly toolchain with bpfel-unknown-none target - Platform-conditional deps (aya, procfs Linux-only)
11 lines
167 B
TOML
11 lines
167 B
TOML
[package]
|
|
name = "tcptop-common"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[dependencies]
|
|
# No dependencies -- this crate must be no_std compatible
|