timestamp resolution

Morten Brørup mb at smartsharesystems.com
Thu May 21 11:54:46 CEST 2026


Digging deeper into Grout's inner workings...

I noticed that the timestamp fields of both the MAC FDB (gr_fdb_entry->last_seen) and the Connection Tracking table (gr_conntrack->last_update) have very high resolution: clock_t is microseconds.

If they are only used for aging, one second would suffice: time_t is seconds.

Was there some other reason for the extremely high resolution timestamps?


Venlig hilsen / Kind regards,
-Morten Brørup



More information about the grout mailing list