diff options
author | jhay <jhay@FreeBSD.org> | 1997-07-06 07:38:36 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 1997-07-06 07:38:36 +0000 |
commit | 18fa8ff2b470b736a50fb803e1e891bc2f4d247b (patch) | |
tree | 99ed7bad5d7b247fd7423644806e43dc4dc3a8dc /usr.sbin/IPXrouted/defs.h | |
parent | 60f787e21f64c5425b302b242c9a638f55ebb6ad (diff) | |
download | FreeBSD-src-18fa8ff2b470b736a50fb803e1e891bc2f4d247b.zip FreeBSD-src-18fa8ff2b470b736a50fb803e1e891bc2f4d247b.tar.gz |
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.
Diffstat (limited to 'usr.sbin/IPXrouted/defs.h')
-rw-r--r-- | usr.sbin/IPXrouted/defs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/IPXrouted/defs.h b/usr.sbin/IPXrouted/defs.h index a295028..55e08b3 100644 --- a/usr.sbin/IPXrouted/defs.h +++ b/usr.sbin/IPXrouted/defs.h @@ -34,7 +34,7 @@ * * @(#)defs.h 8.1 (Berkeley) 6/5/93 * - * $Id$ + * $Id: defs.h,v 1.5 1997/02/22 16:00:55 peter Exp $ */ #include <sys/types.h> @@ -96,11 +96,11 @@ extern char **argv0; #define DELETE 2 #define CHANGE 3 -void sndmsg(struct sockaddr *, int, struct interface *); -void supply(struct sockaddr *, int, struct interface *); +void sndmsg(struct sockaddr *, int, struct interface *, int); +void supply(struct sockaddr *, int, struct interface *, int); void addrouteforif(struct interface *); void ifinit(void); -void toall(void (*f)(struct sockaddr *, int, struct interface *), - struct rt_entry *); +void toall(void (*f)(struct sockaddr *, int, struct interface *, int), + struct rt_entry *, int); void rip_input(struct sockaddr *, int); |