Nils Andreas Svee
817cc304e6
refactor(time): Introduce typed clock sources for compile-time safety
...
This change replaces runtime `ClockId` parameters with distinct types to ensure correct clock usage at compile time.
2026-09-30 12:05:42 +07:00
Nils Andreas Svee
5872f40d3e
fix(icmp): handle RFC 792 timestamp rollover
2026-09-25 17:20:06 +07:00
Nils Andreas Svee
7e0f434251
refactor: replace legacy Config with Settings
...
Remove legacy src/config.rs and migrate all application consumers to
the nested Settings model. Baseliner, metrics, pingers, ratecontroller,
reflector selector, and main now use Settings. Derived min rates become
methods on NetworkSettings rather than stored legacy fields.
MeasurementType and ObservabilityProtocol move into the settings module.
2026-08-07 16:04:59 +07:00
Nils Andreas Svee
9811592f13
feat(platform): introduce abstractions for cross-platform interface statistics and traffic control
...
Decouple the rate controller from Linux-specific Netlink calls to support other operating systems. This adds a macOS backend for interface statistics and an "observe-only" mode for platforms where traffic shaping is not yet implemented.
2026-07-17 11:35:43 +07:00
Nils Andreas Svee
4aaf8fa100
chore: add SPDX license identifiers and copyright headers to source files
...
Apply the MPL-2.0 license to all source files and include the full license text to ensure legal compliance and proper attribution.
2026-04-23 12:39:52 +07:00
Nils Andreas Svee
80adb368d4
feat(pinger): Implement new craft_packet signature for ICMP types
2026-04-23 00:16:19 +07:00
Nils Andreas Svee
645ac08daa
feat(observability): Export ping related metrics
2026-04-13 15:01:46 +07:00
Nils Andreas Svee
9c51853147
refactor: update imports to use icmp-socket2
2026-04-01 12:52:19 +07:00
Nils Andreas Svee
2d21680f82
refactor(pinger): Simplifies imports
...
Simplifies imports by removing unused `IcmpPacketBuildError`.
2026-02-21 22:20:53 +07:00
Nils Andreas Svee
f3e7729f43
refactor: Removes redundant trait implementation
...
Removes the duplicate `WithTimestampRequest` trait implementation as it's now provided by the `icmp-socket` crate fork.
2026-02-21 17:25:25 +07:00
Nils Andreas Svee
f5d3776159
refactor: migrate ICMP handling to icmp-socket crate
2026-02-21 17:13:54 +07:00
Nils Andreas Svee
ad84618b46
refactor(icmp): Remove ToNativeEndian usage
2026-02-21 00:22:57 +07:00
Nils Andreas Svee
55feeafc90
refactor(netlink): Migrate qdisc functions
2026-02-21 00:22:57 +07:00
Nils Andreas Svee
5c0a6c304f
ratecontroller: use durations instead of manually handling time
2022-11-10 13:54:26 +01:00
Nils Andreas Svee
13ba3eaffe
Rename 'clock' to 'time'
2022-10-29 22:30:19 +02:00
Nils Andreas Svee
cacc5b1a6b
Apply Clippy recommendations
2022-10-15 14:58:05 +02:00
Nils Andreas Svee
c1286b0ba9
Add clock wrapper class
2022-10-15 13:44:30 +02:00
Nils Andreas Svee
62bd482acb
Implement to native endian functions as a trait for u32/u64
2022-10-13 18:52:13 +02:00
Nils Andreas Svee
9a1901b213
Improve pinger error handling
2022-10-13 17:16:01 +02:00
Nils Andreas Svee
214ffef6f3
Use proper error handling instead of lurking panics everywhere
2022-10-04 16:20:24 +02:00
Nils Andreas Svee
cf14fcd5f8
Some cleanups
2022-09-28 01:41:51 +02:00
Nils Andreas Svee
f20ff59e78
Allow selection of measurement type in config
2022-09-28 01:29:43 +02:00
Nils Andreas Svee
b147006a69
partly working implementation
2022-09-17 14:39:27 +02:00
Nils Andreas Svee
109be5afd6
endian fixes to make timestamps work
2022-09-04 14:59:57 +02:00
Nils Andreas Svee
4f1f89588c
work
2022-09-04 01:03:31 +02:00