CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/02/20 12:47:31
Modified files:
usr.sbin/bgpd : Makefile bgpd.c bgpd.h control.c mrt.c rde.c
rde.h rde_aspa.c rde_decide.c rde_peer.c rtr.c
rtr_proto.c session.c session.h timer.c
Added files:
usr.sbin/bgpd : monotime.c monotime.h
Log message:
Abstract internal time into monotime and increase resolution to micorseconds
monotime is tracking CLOCK_MONOTONIC with microsecond resolution as a
64bit long long type. To avoid type confusion and integer promotion
this long long lives inside a struct. The monotime API provides the
necessary functions to add, subtract and convert monotimes.
OK tb@