Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet Some slight cleanup.



details:   https://anonhg.NetBSD.org/src/rev/87615d0854ed
branches:  trunk
changeset: 494412:87615d0854ed
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jul 06 04:34:26 2000 +0000

description:
Some slight cleanup.

diffstat:

 sys/netinet/ip_gre.c |  4 +++-
 sys/netinet/ip_gre.h |  7 +------
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r aa0a57d8234b -r 87615d0854ed sys/netinet/ip_gre.c
--- a/sys/netinet/ip_gre.c      Thu Jul 06 04:31:04 2000 +0000
+++ b/sys/netinet/ip_gre.c      Thu Jul 06 04:34:26 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_gre.c,v 1.11 2000/07/05 22:45:26 thorpej Exp $ */
+/*     $NetBSD: ip_gre.c,v 1.12 2000/07/06 04:34:26 thorpej Exp $ */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -100,6 +100,8 @@
 
 struct gre_softc *gre_lookup __P((struct mbuf *, u_int8_t));
 
+int    gre_input2 __P((struct mbuf *, int, u_char));
+
 /*
  * De-encapsulate a packet and feed it back through ip input (this
  * routine is called whenever IP gets a packet with proto type
diff -r aa0a57d8234b -r 87615d0854ed sys/netinet/ip_gre.h
--- a/sys/netinet/ip_gre.h      Thu Jul 06 04:31:04 2000 +0000
+++ b/sys/netinet/ip_gre.h      Thu Jul 06 04:34:26 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_gre.h,v 1.3 1998/10/07 23:33:02 thorpej Exp $ */
+/*     $NetBSD: ip_gre.h,v 1.4 2000/07/06 04:34:26 thorpej Exp $ */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,10 +38,5 @@
 
 #ifdef _KERNEL
 void gre_input __P((struct mbuf *, ...));
-int gre_input2 __P((struct mbuf *,int hlen,u_char proto));
 void gre_mobile_input __P((struct mbuf *, ...));
-
-#ifndef MROUTING
-void gre_ipip_input __P((struct mbuf *, ...));
-#endif
 #endif /* _KERNEL */



Home | Main Index | Thread Index | Old Index