summaryrefslogtreecommitdiffstats
path: root/sys/netipx/spx_var.h
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>1997-05-10 09:58:58 +0000
committerjhay <jhay@FreeBSD.org>1997-05-10 09:58:58 +0000
commit0993d64164c5645de9b918e293cd3ae73cc6eeab (patch)
tree1020b5e960a3798c25dbbee04af310936411983a /sys/netipx/spx_var.h
parentd166039f66bb01a24268ecef1ad2038d00c72a4d (diff)
downloadFreeBSD-src-0993d64164c5645de9b918e293cd3ae73cc6eeab.zip
FreeBSD-src-0993d64164c5645de9b918e293cd3ae73cc6eeab.tar.gz
Mega IPX commit.
Use the MAC address of an interface for the host part of an IPX address and not the MAC address of the first interface for every IPX address. This is more inline with the way others like Novell do it. Mostly Submitted by: "Serge A. Babkin" <babkin@hq.icb.chel.su> Take out the error messages (the ip icmp equivalent) with #ifdef IPXERRORMSGS. This is bogus and as far as I could figure out IPX don't have anything like it. This is a leftover from its XNS heritage. If nobody complains, I will take it out completely in a few weeks. Add some more ipxstat statistics counters. Make ipxprintfs a sysctl variable and off by default. Add IPX Netbios "routing" support. This is off by default and can be switched on with a sysctl knob. General code cleanup to at least use the same style throughout the IPX code, but also be more style(9) conformant. Also make a lot of functions static. If I don't get any complaints I'll bring all of this over to the 2.2 tree in a few weeks.
Diffstat (limited to 'sys/netipx/spx_var.h')
-rw-r--r--sys/netipx/spx_var.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/netipx/spx_var.h b/sys/netipx/spx_var.h
index 91577a3..b5306b9 100644
--- a/sys/netipx/spx_var.h
+++ b/sys/netipx/spx_var.h
@@ -33,7 +33,7 @@
*
* @(#)spx_var.h
*
- * $Id$
+ * $Id: spx_var.h,v 1.6 1997/02/22 09:42:00 peter Exp $
*/
#ifndef _NETIPX_SPX_VAR_H_
@@ -107,17 +107,6 @@ struct spx_istat {
struct spxstat newstats;
};
-#ifdef KERNEL
-extern struct spx_istat spx_istat;
-extern u_short spx_iss;
-
-/* Following was struct spxstat spxstat; */
-#ifndef spxstat
-#define spxstat spx_istat.newstats
-#endif
-
-#endif
-
#define SPX_ISSINCR 128
/*
* spx sequence numbers are 16 bit integers operated
@@ -129,4 +118,4 @@ extern u_short spx_iss;
#define SSEQ_GT(a,b) (((short)((a)-(b))) > 0)
#define SSEQ_GEQ(a,b) (((short)((a)-(b))) >= 0)
-#endif
+#endif /* _NETIPX_SPX_VAR_H_ */
OpenPOWER on IntegriCloud