summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_pcb.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/ipx_pcb.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/ipx_pcb.h')
-rw-r--r--sys/netipx/ipx_pcb.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/netipx/ipx_pcb.h b/sys/netipx/ipx_pcb.h
index 75d68b6..12810a2 100644
--- a/sys/netipx/ipx_pcb.h
+++ b/sys/netipx/ipx_pcb.h
@@ -33,7 +33,7 @@
*
* @(#)ipx_pcb.h
*
- * $Id: ipx_pcb.h,v 1.8 1997/02/22 09:41:56 peter Exp $
+ * $Id: ipx_pcb.h,v 1.9 1997/05/01 06:21:29 jhay Exp $
*/
#ifndef _NETIPX_IPX_PCB_H_
@@ -60,12 +60,12 @@ struct ipxpcb {
/* possible flags */
-#define IPXP_IN_ABORT 0x1 /* calling abort through socket */
-#define IPXP_RAWIN 0x2 /* show headers on input */
-#define IPXP_RAWOUT 0x4 /* show header on output */
-#define IPXP_ALL_PACKETS 0x8 /* Turn off higher proto processing */
+#define IPXP_IN_ABORT 0x1 /* calling abort through socket */
+#define IPXP_RAWIN 0x2 /* show headers on input */
+#define IPXP_RAWOUT 0x4 /* show header on output */
+#define IPXP_ALL_PACKETS 0x8 /* Turn off higher proto processing */
-#define IPX_WILDCARD 1
+#define IPX_WILDCARD 1
#define ipxp_lport ipxp_laddr.x_port
#define ipxp_fport ipxp_faddr.x_port
@@ -95,6 +95,6 @@ void ipx_pcbnotify __P((struct ipx_addr *dst, int errno,
void (*notify)(struct ipxpcb *), long param));
void ipx_setpeeraddr __P((struct ipxpcb *ipxp, struct mbuf *nam));
void ipx_setsockaddr __P((struct ipxpcb *ipxp, struct mbuf *nam));
-#endif
+#endif /* KERNEL */
-#endif /* !_NETIPX_IPX_PCB_H_ */
+#endif /* _NETIPX_IPX_PCB_H_ */
OpenPOWER on IntegriCloud