Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/net Pull up revision 1.10 (requested by martin):



details:   https://anonhg.NetBSD.org/src/rev/4bd500df5a46
branches:  netbsd-1-5
changeset: 492879:4bd500df5a46
user:      he <he%NetBSD.org@localhost>
date:      Tue Feb 26 20:57:42 2002 +0000

description:
Pull up revision 1.10 (requested by martin):
  Clear M_BCAST and M_MCAST on encapsulated packets on outgoing
  mbufs.  Also do not copy TTL from the inner packet, and make the
  outer TTL sysctl'able.  Fixes PR#14269, and makes traceroute work
  over GRE tunnels.

diffstat:

 sys/net/if_gre.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 69cd297bfda1 -r 4bd500df5a46 sys/net/if_gre.h
--- a/sys/net/if_gre.h  Tue Feb 26 20:57:22 2002 +0000
+++ b/sys/net/if_gre.h  Tue Feb 26 20:57:42 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gre.h,v 1.5 1999/11/19 20:41:19 thorpej Exp $ */
+/*     $NetBSD: if_gre.h,v 1.5.4.1 2002/02/26 20:57:42 he Exp $ */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -132,6 +132,8 @@
 #define MOB_H_SIZ_L            (sizeof(struct mobile_h))
 #define MOB_H_SBIT     0x0080
 
+#define        GRE_TTL 30
+extern int ip_gre_ttl;
 
 /* 
  * ioctls needed to manipulate the interface 



Home | Main Index | Thread Index | Old Index