summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_ip.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_ip.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_ip.h')
-rw-r--r--sys/netipx/ipx_ip.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/netipx/ipx_ip.h b/sys/netipx/ipx_ip.h
index ab2be54..5e22eb7 100644
--- a/sys/netipx/ipx_ip.h
+++ b/sys/netipx/ipx_ip.h
@@ -33,7 +33,7 @@
*
* @(#)ipxip.h
*
- * $Id: ipx_ip.h,v 1.8 1997/02/22 09:41:55 peter Exp $
+ * $Id: ipx_ip.h,v 1.9 1997/05/01 06:21:28 jhay Exp $
*/
#ifndef _NETIPX_IPXIP_H_
@@ -51,21 +51,10 @@ struct ifnet_en {
#ifdef KERNEL
-extern struct ifnet ipxipif;
-extern struct ifnet_en *ipxip_list;
-
-struct ifnet_en *
- ipxipattach __P((void));
void ipxip_ctlinput __P((int cmd, struct sockaddr *sa, void *arg));
-int ipxip_free __P((struct ifnet *ifp));
void ipxip_input __P((struct mbuf *m, int hlen));
-int ipxipioctl __P((struct ifnet *ifp, int cmd, caddr_t data));
-int ipxipoutput __P((struct ifnet *ifp, struct mbuf *m,
- struct sockaddr *dst, struct rtentry *rt));
int ipxip_route __P((struct socket *so, struct mbuf *m, struct proc *p));
-void ipxip_rtchange __P((struct in_addr *dst));
-void ipxipstart __P((struct ifnet *ifp));
#endif /* KERNEL */
-#endif /* !_NETIPX_IPXIP_H_ */
+#endif /* _NETIPX_IPXIP_H_ */
OpenPOWER on IntegriCloud