Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
25bc485
feat: logical timestamp & token bucket
Lethe10137 Dec 12, 2025
adeb04e
fix: with_timestamp for XDPPacket
Lethe10137 Dec 16, 2025
78ae0f6
chore: import order
Lethe10137 Dec 16, 2025
0bd9673
chore: spelling and grammar by Copilot
Lethe10137 Dec 16, 2025
0f4e91f
chore: fix fmt
Lethe10137 Dec 16, 2025
a0671d9
fix: perf issue of delaycell
Lethe10137 Dec 17, 2025
3fb0ac3
chore: fix ci
Lethe10137 Dec 17, 2025
f1a951a
fix: logical timestamp for per-packet delay
Lethe10137 Dec 19, 2025
81685f1
chore: editorial changes on comments
Lethe10137 Dec 25, 2025
ea4bf69
chore: TryFromPrimitive for CellState
Lethe10137 Dec 25, 2025
fdee7d1
feat: lazy udpate of trace
Lethe10137 Dec 25, 2025
b4c8450
feat: zero buffer for Bw & BwReplay
Lethe10137 Dec 25, 2025
e8ccde0
fix: config change for delay/loss
Lethe10137 Dec 26, 2025
9e68364
fix: behaviour of loss/delay/bw[replay] cells
Lethe10137 Dec 28, 2025
11a6ae8
fix: BwCell enqueue
Lethe10137 Jan 1, 2026
372bfb7
feat: timestamp-based queue
Lethe10137 Jan 9, 2026
d487b9c
fix: typo
Lethe10137 Jan 10, 2026
a781ece
ci: modify test_replay
Lethe10137 Jan 12, 2026
67a7f2d
chore: style fix
Lethe10137 Jan 14, 2026
57322ea
feat: state migration for TBF upon config change
Lethe10137 Jan 14, 2026
f3fcf58
fix: config_rx of Loss[Replay]Cell
Lethe10137 Jan 14, 2026
15539d0
doc: example usage of TokenBucket
Lethe10137 Jan 14, 2026
344f79c
style: fix typo
Centaurus99 Jan 14, 2026
dad5b3f
wip
Lethe10137 Jan 14, 2026
4c372be
fix: rewirte Bw[Replay]Cell with AQM
Lethe10137 Jan 14, 2026
5d9b158
ci: integration for low rate Bw
Lethe10137 Jan 14, 2026
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
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ homepage = "https://github.com/stack-rs/rattan"
repository = "https://github.com/stack-rs/rattan"

[workspace.dependencies]
derive_more = { version = "2.0.1", features = ["deref", "deref_mut"] }
bitfield = "0.19.0"
clap = { version = "4.2.4", features = ["derive"] }
csv = "1.4.0"
Expand Down
3 changes: 3 additions & 0 deletions rattan-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ bytesize = "2.0.1"
camellia = { git = "https://github.com/minhuw/camellia.git", optional = true }
clap = { workspace = true }
csv = { workspace = true }
derive_more = { workspace = true }
dyn-clone = "1.0"
etherparse = "0.18.0"
figment = { workspace = true }
Expand Down Expand Up @@ -75,6 +76,8 @@ reqwest = { version = "0.12.9", default-features = false, features = [
"blocking",
"json",
] }
rstest = "0.26.1"
serial_test = "3.2.0"
test-log = { workspace = true }
tracing-subscriber = { workspace = true }

Expand Down
3 changes: 2 additions & 1 deletion rattan-core/benches/cells/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ pub fn create_cell<C: Cell<P>, P: Packet, Config: CellFactory<C>>(
handle: &Handle,
) -> Result<C, Error> {
let mut cell = config(handle)?;
cell.receiver().change_state(2);
cell.receiver()
.change_state(rattan_core::cells::CellState::Normal);
Ok(cell)
}

Expand Down
Loading
Loading