+
+pfctlinput(cmd, arg)
+ int cmd;
+ caddr_t arg;
+{
+ register struct protosw *pr;
+
+ for (pr = protosw; pr <= protoswLAST; pr++)
+ if (pr->pr_ctlinput)
+ (*pr->pr_ctlinput)(cmd, arg);
+}
+
+/*
+ * Slow timeout on all protocols.
+ */
+pfslowtimo()
+{
+ register struct protosw *pr;
+
+ for (pr = protoswLAST; pr >= protosw; pr--)
+ if (pr->pr_slowtimo)
+ (*pr->pr_slowtimo)();
+ timeout(pfslowtimo, 0, hz / PR_SLOWHZ);
+}
+
+pffasttimo()
+{
+ register struct protosw *pr;
+
+ for (pr = protoswLAST; pr >= protosw; pr--)
+ if (pr->pr_fasttimo)
+ (*pr->pr_fasttimo)();
+ timeout(pffasttimo, 0, hz / PR_FASTHZ);
+}