summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_var.h
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>1997-06-26 19:36:03 +0000
committerjhay <jhay@FreeBSD.org>1997-06-26 19:36:03 +0000
commitce54a1d058edea29bf0555ec44642ec1c15ba2f0 (patch)
tree45e4616a1621a9b02dc517b46c44a020b5995891 /sys/netipx/ipx_var.h
parentae52a72f071aa207805a5e3bff9236c3b496be3a (diff)
downloadFreeBSD-src-ce54a1d058edea29bf0555ec44642ec1c15ba2f0.zip
FreeBSD-src-ce54a1d058edea29bf0555ec44642ec1c15ba2f0.tar.gz
Removed the #ifdef IPXERRORMSGS'ed code. Fix a lot of style errors that I
introduced with the previous commit. Style fixes Submitted by: Bruce Evans <bde@FreeBSD.ORG>
Diffstat (limited to 'sys/netipx/ipx_var.h')
-rw-r--r--sys/netipx/ipx_var.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/sys/netipx/ipx_var.h b/sys/netipx/ipx_var.h
index 2c7240c..6ee1579 100644
--- a/sys/netipx/ipx_var.h
+++ b/sys/netipx/ipx_var.h
@@ -33,7 +33,7 @@
*
* @(#)ipx_var.h
*
- * $Id: ipx_var.h,v 1.5 1997/02/22 09:41:58 peter Exp $
+ * $Id: ipx_var.h,v 1.6 1997/05/10 09:58:55 jhay Exp $
*/
#ifndef _NETIPX_IPX_VAR_H_
@@ -57,6 +57,7 @@ struct ipxstat {
};
#ifdef KERNEL
+
extern int ipxcksum;
extern long ipx_pexseq;
extern struct ipxstat ipxstat;
@@ -71,6 +72,13 @@ extern union ipx_host ipx_zerohost;
extern union ipx_net ipx_broadnet;
extern union ipx_host ipx_broadhost;
+struct ifnet;
+struct ipx_addr;
+struct mbuf;
+struct route;
+struct sockaddr;
+struct socket;
+
void ipx_abort __P((struct ipxpcb *ipxp));
u_short ipx_cksum __P((struct mbuf *m, int len));
int ipx_control __P((struct socket *so, int cmd, caddr_t data,
@@ -83,11 +91,12 @@ void ipx_init __P((void));
void ipx_input __P((struct mbuf *m, struct ipxpcb *ipxp));
void ipxintr __P((void));
int ipx_outputfl __P((struct mbuf *m0, struct route *ro, int flags));
-int ipx_output_type20(struct mbuf *);
+int ipx_output_type20 __P((struct mbuf *));
int ipx_peeraddr __P((struct socket *so, struct mbuf *nam));
+void ipx_printhost __P((struct ipx_addr *addr));
int ipx_sockaddr __P((struct socket *so, struct mbuf *nam));
void ipx_watch_output __P((struct mbuf *m, struct ifnet *ifp));
#endif /* KERNEL */
-#endif /* _NETIPX_IPX_VAR_H_ */
+#endif /* !_NETIPX_IPX_VAR_H_ */
OpenPOWER on IntegriCloud