put vax headers in their place
[unix-history] / usr / src / sys / kern / uipc_proto.c
index c147272..57a6f62 100644 (file)
@@ -1,11 +1,13 @@
-/*     uipc_proto.c    4.22    82/06/20        */
+/*     uipc_proto.c    4.25    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);
 }
 }