]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_lsa.c
ospfd: time: replace local helpers with monotime
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 17 Jan 2017 21:05:56 +0000 (22:05 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 23 Jan 2017 17:26:28 +0000 (18:26 +0100)
commitcbf3e3eb3a6452b898b4a082b81e8ec4f9dddb26
treeafa9c6337979b47513117287cfc2a82509992e0c
parent7790a2d69ee8439dbed951e77703458bb472dd4f
ospfd: time: replace local helpers with monotime

This ditches tv_add, tv_sub, tv_cmp, etc. in favour of
monotime{,_since,_until}() which actually makes the code much more
readable in some locations.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ospfd/ospf_dump.c
ospfd/ospf_flood.c
ospfd/ospf_lsa.c
ospfd/ospf_lsa.h
ospfd/ospf_packet.c
ospfd/ospf_spf.c
ospfd/ospf_vty.c