tart-softnet/lib/proxy
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
..
exposed_port.rs Introduce --block in addition to --allow (#126) 2025-10-21 17:14:28 +04:00
host.rs Introduce --block in addition to --allow (#126) 2025-10-21 17:14:28 +04:00
mod.rs DHCP snooper: use coarse time to avoid clock_gettime() overhead (#137) 2026-01-14 21:16:19 +01:00
port_forwarder.rs Support TCP port exposure via "--expose" command-line argument (#70) 2025-01-09 16:50:39 +04:00
udp_packet_helper.rs Initial revision of Softnet, a software networking for Tart 2022-06-10 16:53:03 +03:00
vm.rs Introduce --block in addition to --allow (#126) 2025-10-21 17:14:28 +04:00