projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
put vax headers in their place
[unix-history]
/
usr
/
src
/
sys
/
kern
/
uipc_proto.c
diff --git
a/usr/src/sys/kern/uipc_proto.c
b/usr/src/sys/kern/uipc_proto.c
index
c147272
..
57a6f62
100644
(file)
--- a/
usr/src/sys/kern/uipc_proto.c
+++ b/
usr/src/sys/kern/uipc_proto.c
@@
-1,11
+1,13
@@
-/* uipc_proto.c 4.2
2 82/06/20
*/
+/* uipc_proto.c 4.2
5 82/10/09
*/
#include "../h/param.h"
#include "../h/socket.h"
#include "../h/protosw.h"
#include "../h/mbuf.h"
#include "../h/param.h"
#include "../h/socket.h"
#include "../h/protosw.h"
#include "../h/mbuf.h"
-#include "../net/in.h"
-#include "../net/in_systm.h"
+#include <time.h>
+#include "../h/kernel.h"
+#include "../netinet/in.h"
+#include "../netinet/in_systm.h"
/*
* Protocol configuration table and routines to search it.
/*
* Protocol configuration table and routines to search it.
@@
-142,6
+144,8
@@
pfinit()
for (pr = protoswLAST; pr >= protosw; pr--)
if (pr->pr_init)
(*pr->pr_init)();
for (pr = protoswLAST; pr >= protosw; pr--)
if (pr->pr_init)
(*pr->pr_init)();
+ pffasttimo();
+ pfslowtimo();
}
/*
}
/*
@@
-200,6
+204,7
@@
pfslowtimo()
for (pr = protoswLAST; pr >= protosw; pr--)
if (pr->pr_slowtimo)
(*pr->pr_slowtimo)();
for (pr = protoswLAST; pr >= protosw; pr--)
if (pr->pr_slowtimo)
(*pr->pr_slowtimo)();
+ timeout(pfslowtimo, 0, hz / PR_SLOWHZ);
}
pffasttimo()
}
pffasttimo()
@@
-209,4
+214,5
@@
pffasttimo()
for (pr = protoswLAST; pr >= protosw; pr--)
if (pr->pr_fasttimo)
(*pr->pr_fasttimo)();
for (pr = protoswLAST; pr >= protosw; pr--)
if (pr->pr_fasttimo)
(*pr->pr_fasttimo)();
+ timeout(pffasttimo, 0, hz / PR_FASTHZ);
}
}