summaryrefslogtreecommitdiff
path: root/sys/net/if_gre.h
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>2001-06-05 23:43:47 +0000
committerMats O Jansson <maja@cvs.openbsd.org>2001-06-05 23:43:47 +0000
commitbf706d13c16e8674c76438faf817324b4cf33523 (patch)
treef0b9ed4c4f12a59266d19524e8a7f3582ede81dc /sys/net/if_gre.h
parent98942c79ed22fe4499b73737f7e8f65658c376b8 (diff)
Allow boot -c to change number of gre devices. -moj ok angelos@
Diffstat (limited to 'sys/net/if_gre.h')
-rw-r--r--sys/net/if_gre.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/net/if_gre.h b/sys/net/if_gre.h
index da1a37d9104..05a44579b87 100644
--- a/sys/net/if_gre.h
+++ b/sys/net/if_gre.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gre.h,v 1.2 2000/01/07 23:25:22 angelos Exp $ */
+/* $OpenBSD: if_gre.h,v 1.3 2001/06/05 23:43:46 maja Exp $ */
/* $NetBSD: if_gre.h,v 1.5 1999/11/19 20:41:19 thorpej Exp $ */
/*
@@ -138,11 +138,12 @@ struct mobip_h {
*/
#ifdef _KERNEL
-extern struct gre_softc gre_softc[];
+extern struct gre_softc *gre;
+extern int ngre;
extern int gre_allow;
extern int ip_mobile_allow;
-void greattach __P((void));
+void greattach __P((int));
int gre_ioctl __P((struct ifnet *, u_long, caddr_t));
int gre_output __P((struct ifnet *, struct mbuf *, struct sockaddr *,
struct rtentry *rt));