freebsd-skq/sys/netinet
Poul-Henning Kamp 227ee8a188 Eradicate the variable "time" from the kernel, using various measures.
"time" wasn't a atomic variable, so splfoo() protection were needed
around any access to it, unless you just wanted the seconds part.

Most uses of time.tv_sec now uses the new variable time_second instead.

gettime() changed to getmicrotime(0.

Remove a couple of unneeded splfoo() protections, the new getmicrotime()
is atomic, (until Bruce sets a breakpoint in it).

A couple of places needed random data, so use read_random() instead
of mucking about with time which isn't random.

Add a new nfs_curusec() function.

Mark a couple of bogosities involving the now disappeard time variable.

Update ffs_update() to avoid the weird "== &time" checks, by fixing the
one remaining call that passwd &time as args.

Change profiling in ncr.c to use ticks instead of time.  Resolution is
the same.

Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call
hzto() which subtracts time" sequences.

Reviewed by:	bde
1998-03-30 09:56:58 +00:00
..
libalias FixedSpellingErrorInAFunctionname. 1998-03-23 12:28:31 +00:00
fil.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
icmp_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
if_atm.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
if_atm.h Forward declare some structs so that this file is more self-sufficient. 1998-02-03 21:52:02 +00:00
if_ether.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
if_ether.h Make INET a proper option. 1998-01-08 23:42:31 +00:00
if_fddi.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
igmp_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
igmp.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
igmp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
in_cksum.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
in_hostcache.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
in_hostcache.h Add for public examination the beginnings of the per-host cache support 1997-06-18 01:24:28 +00:00
in_pcb.c Moved some #includes from <sys/param.h> nearer to where they are actually 1998-03-28 10:33:27 +00:00
in_pcb.h Fixed style bugs (mostly) in previous commit. 1998-03-28 10:18:26 +00:00
in_proto.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
in_rmx.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
in_systm.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
in_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
in.c Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
in.h OOPs typo TCF, not TCP.... 1998-02-25 02:35:35 +00:00
ip_auth.c Some patchups for when this code is compiled in userland (!). 1998-03-21 13:37:44 +00:00
ip_auth.h Import kernel parts of ipfilter-3.2.1 1997-11-16 05:55:52 +00:00
ip_compat.h Import kernel parts of ipfilter v3.2.3 1998-03-21 10:11:54 +00:00
ip_divert.c Fixed style bugs (mostly) in previous commit. 1998-03-28 10:18:26 +00:00
ip_fil.c allow open on all minors 1998-03-27 18:03:13 +00:00
ip_fil.h Some patchups for when this code is compiled in userland (!). 1998-03-21 13:37:44 +00:00
ip_frag.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_frag.h Import kernel parts of ipfilter-3.2.1 1997-11-16 05:55:52 +00:00
ip_ftp_pxy.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_fw.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
ip_fw.h Added #include of <sys/queue.h> so that this file is more "self"-sufficent. 1998-02-03 22:19:35 +00:00
ip_icmp.c ICMP Timestamp Request messages could have harbored the same sort of 1997-08-25 16:29:27 +00:00
ip_icmp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ip_input.c Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
ip_log.c Make it compile.. missing "opt_ipfilter.h" and missing <sys/malloc.h> 1998-03-21 14:42:45 +00:00
ip_mroute.c Staticize. 1998-02-09 06:11:36 +00:00
ip_mroute.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ip_nat.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_nat.h Import kernel parts of ipfilter-3.2.1 1997-11-16 05:55:52 +00:00
ip_output.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_proxy.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_proxy.h Import kernel parts of ipfilter v3.2.3 1998-03-21 10:11:54 +00:00
ip_state.c Make this compile.. There are some unpleasing hacks in here. 1998-03-21 11:34:28 +00:00
ip_state.h Import kernel parts of ipfilter-3.2.1 1997-11-16 05:55:52 +00:00
ip_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
ip.h NetBSD PR# 2772 1998-02-26 08:31:53 +00:00
ipl.h Import kernel parts of ipfilter v3.2.3 1998-03-21 10:11:54 +00:00
mlf_ipl.c Get socket and locking stuff by including <sys/socket.h> and <sys/lock.h>, 1998-03-28 08:07:12 +00:00
raw_ip.c Fixed style bugs (mostly) in previous commit. 1998-03-28 10:18:26 +00:00
tcp_debug.c Make INET a proper option. 1998-01-08 23:42:31 +00:00
tcp_debug.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tcp_fsm.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
tcp_input.c Remove the check for SYN in SYN_RECEIVED state; it breaks simultaneous 1998-03-20 00:43:29 +00:00
tcp_output.c Don't depend on "implicit int". 1998-02-20 13:37:40 +00:00
tcp_reass.c Remove the check for SYN in SYN_RECEIVED state; it breaks simultaneous 1998-03-20 00:43:29 +00:00
tcp_seq.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tcp_subr.c Fixed style bugs (mostly) in previous commit. 1998-03-28 10:18:26 +00:00
tcp_timer.c Changes to support the addition of a new sysctl variable: 1998-02-26 05:25:39 +00:00
tcp_timer.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
tcp_timewait.c Fixed style bugs (mostly) in previous commit. 1998-03-28 10:18:26 +00:00
tcp_usrreq.c Improved connection establishment performance by doing local port lookups via 1998-01-27 09:15:13 +00:00
tcp_var.h Changes to support the addition of a new sysctl variable: 1998-02-26 05:25:39 +00:00
tcp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tcpip.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
udp_usrreq.c Fixed style bugs (mostly) in previous commit. 1998-03-28 10:18:26 +00:00
udp_var.h Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
udp.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00