From owner-cvs-usrsbin Sun Jul 6 00:42:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA12761 for cvs-usrsbin-outgoing; Sun, 6 Jul 1997 00:42:45 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA12551; Sun, 6 Jul 1997 00:38:54 -0700 (PDT) From: John Hay Received: (from jhay@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id AAA19496; Sun, 6 Jul 1997 00:38:38 -0700 (PDT) Date: Sun, 6 Jul 1997 00:38:38 -0700 (PDT) Message-Id: <199707060738.AAA19496@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/IPXrouted af.c defs.h if.c input.c main.c output.c sap.h sap_input.c sap_output.c sap_tables.c table.h tables.c timer.c trace.c trace.h Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jhay 1997/07/06 00:38:37 PDT Modified files: usr.sbin/IPXrouted af.c defs.h if.c input.c main.c output.c sap.h sap_input.c sap_output.c sap_tables.c table.h tables.c timer.c trace.c trace.h Log: Major IPXrouted rework. In rt_change() remember to update the interface pointer otherwise we will send the RIP packets to the wrong interface(s) in future. Update the hash generator and increase the size of the hash tables. Only use the network and host parts when comparing IPX interface addresses. Immediately broadscast RIP and SAP changes. Change the alarm code to use the setitimer() call and only set a flag in the alarm signal handler. This gets rid of possible race conditions. Remove the host routing table. IPX RIP cannot do host routes, only net routes. Make the delay between broadcast packets 50ms. It seems that some Netware 4.x servers is very slow and don't have much input buffering. Handle received messages about networks and services that go down, better. Add tracing of RIP and SAP changes. It gets sysloged with a level of LOG_DEBUG. Revision Changes Path 1.5 +24 -6 src/usr.sbin/IPXrouted/af.c 1.6 +5 -5 src/usr.sbin/IPXrouted/defs.h 1.4 +2 -2 src/usr.sbin/IPXrouted/if.c 1.6 +36 -13 src/usr.sbin/IPXrouted/input.c 1.7 +38 -6 src/usr.sbin/IPXrouted/main.c 1.7 +15 -16 src/usr.sbin/IPXrouted/output.c 1.6 +7 -8 src/usr.sbin/IPXrouted/sap.h 1.5 +42 -11 src/usr.sbin/IPXrouted/sap_input.c 1.8 +12 -6 src/usr.sbin/IPXrouted/sap_output.c 1.5 +27 -15 src/usr.sbin/IPXrouted/sap_tables.c 1.5 +2 -3 src/usr.sbin/IPXrouted/table.h 1.6 +23 -56 src/usr.sbin/IPXrouted/tables.c 1.4 +33 -28 src/usr.sbin/IPXrouted/timer.c 1.5 +82 -1 src/usr.sbin/IPXrouted/trace.c 1.6 +7 -1 src/usr.sbin/IPXrouted/trace.h