aboutsummaryrefslogtreecommitdiff
path: root/sys/netiso/iso_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netiso/iso_var.h')
-rw-r--r--sys/netiso/iso_var.h30
1 files changed, 25 insertions, 5 deletions
diff --git a/sys/netiso/iso_var.h b/sys/netiso/iso_var.h
index a7eaac94cf74..725b475eccd8 100644
--- a/sys/netiso/iso_var.h
+++ b/sys/netiso/iso_var.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)iso_var.h 7.5 (Berkeley) 5/6/91
- * $Id: iso_var.h,v 1.2 1993/10/16 21:05:30 rgrimes Exp $
+ * $Id: iso_var.h,v 1.4 1993/12/19 00:53:28 wollman Exp $
*/
/***********************************************************
@@ -61,6 +61,9 @@ SOFTWARE.
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
+#ifndef _NETISO_ISO_VAR_H_
+#define _NETISO_ISO_VAR_H_ 1
+
/*
* Interface address, iso version. One of these structures is
* allocated for each interface with an osi address. The ifaddr
@@ -129,7 +132,24 @@ struct snpa_hdr {
short snh_flags;
};
#ifdef KERNEL
-struct iso_ifaddr *iso_ifaddr; /* linked list of iso address ifaces */
-struct iso_ifaddr *iso_localifa(); /* linked list of iso address ifaces */
-struct ifqueue clnlintrq; /* clnl packet input queue */
-#endif KERNEL
+extern struct iso_ifaddr *iso_ifaddr; /* linked list of iso address ifaces */
+struct iso_ifaddr *iso_localifa(); /* linked list of iso address ifaces */
+extern struct ifqueue clnlintrq; /* clnl packet input queue */
+
+extern int iso_check_csum(struct mbuf *, int);
+extern void iso_gen_csum(struct mbuf *, int, int);
+extern void iso_init(void);
+extern int iso_addrmatch1(struct iso_addr *, struct iso_addr *);
+extern int iso_addrmatch(struct sockaddr_iso *, struct sockaddr_iso *);
+extern u_long iso_hashchar(caddr_t, int);
+extern int iso_control(struct socket *, int, caddr_t, struct ifnet *);
+extern int iso_ifinit(struct ifnet *, struct iso_ifaddr *,
+ struct sockaddr_iso *, int);
+extern int iso_ck_addr(struct iso_addr *);
+extern struct iso_ifaddr *iso_localifa(struct sockaddr_iso *);
+extern int iso_nlctloutput(int, int, caddr_t, struct mbuf *);
+extern void dump_isoaddr(struct sockaddr_iso *);
+extern void dump_addr(struct sockaddr *);
+
+#endif /* KERNEL */
+#endif /* _NETISO_ISO_VAR_H_ */