freebsd-dev/sys/net/altq
Konstantin Belousov 584b675ed6 Hide the boottime and bootimebin globals, provide the getboottime(9)
and getboottimebin(9) KPI. Change consumers of boottime to use the
KPI.  The variables were renamed to avoid shadowing issues with local
variables of the same name.

Issue is that boottime* should be adjusted from tc_windup(), which
requires them to be members of the timehands structure.  As a
preparation, this commit only introduces the interface.

Some uses of boottime were found doubtful, e.g. NLM uses boottime to
identify the system boot instance.  Arguably the identity should not
change on the leap second adjustment, but the commit is about the
timekeeping code and the consumers were kept bug-to-bug compatible.

Tested by:	pho (as part of the bigger patch)
Reviewed by:	jhb (same)
Discussed with:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 month
X-Differential revision:	https://reviews.freebsd.org/D7302
2016-07-27 11:08:59 +00:00
..
altq_cbq.c Don't repeat the the word 'the' 2016-05-17 12:52:31 +00:00
altq_cbq.h Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq_cdnr.c
altq_cdnr.h
altq_classq.h Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq_codel.c Fix the spelling of eri's name. 2015-08-24 23:40:36 +00:00
altq_codel.h Fix the spelling of eri's name. 2015-08-24 23:40:36 +00:00
altq_fairq.c Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq_fairq.h Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq_hfsc.c Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq_hfsc.h Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq_priq.c Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq_priq.h Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq_red.c sys/net*: minor spelling fixes. 2016-05-03 18:05:43 +00:00
altq_red.h
altq_rio.c sys/net*: minor spelling fixes. 2016-05-03 18:05:43 +00:00
altq_rio.h
altq_rmclass_debug.h
altq_rmclass.c Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq_rmclass.h sys/net*: minor spelling fixes. 2016-05-03 18:05:43 +00:00
altq_subr.c Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
altq_var.h Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
altq.h Add ALTQ(9) support for the CoDel algorithm. 2015-08-21 22:02:22 +00:00
if_altq.h