tart-softnet/lib
Nikolay Edigaryev 173f7832b3
DHCP snooper: use coarse time to avoid clock_gettime() overhead (#137)
* DHCP snooper: use coarse time to avoid clock_gettime() overhead

* Introduce uncertainty duration and subtract it from total lease time

* Update coarse time after we've performed the waiting

* Use coarsetime::Updater to update time even when deep inside event loop

* No need for manual coarsetime::Instant::update() anymore

* Ensure that coarsetime::Updater is stopped on Proxy::shutdown()

* Revert "Ensure that coarsetime::Updater is stopped on Proxy::shutdown()"

This reverts commit de255f4240.

* Revert "Use coarsetime::Updater to update time even when deep inside event loop"

This reverts commit 6a95272dcf.

* Revert "No need for manual coarsetime::Instant::update() anymore"

This reverts commit 9ffa829add.

* Update coarse time for the DHCP snooper after reading packet(s)
2026-01-14 21:16:19 +01:00
..
proxy DHCP snooper: use coarse time to avoid clock_gettime() overhead (#137) 2026-01-14 21:16:19 +01:00
dhcp_snooper.rs DHCP snooper: use coarse time to avoid clock_gettime() overhead (#137) 2026-01-14 21:16:19 +01:00
host.rs Perform batched reads from host to improve efficiency (#128) 2025-10-28 16:48:05 +04:00
mod.rs Added a way to enable host-only networking through tart using --net-host (#32) 2024-03-01 11:25:19 -05:00
poller.rs DHCP snooper: use coarse time to avoid clock_gettime() overhead (#137) 2026-01-14 21:16:19 +01:00
vm.rs Sentry integration (#13) 2022-12-12 21:33:45 +04:00