Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/netinet Pull up revision 1.56 (via patch, requested...



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

description:
Pull up revision 1.56 (via patch, 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/netinet/in.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r fd8b4b5e3de3 -r 69cd297bfda1 sys/netinet/in.h
--- a/sys/netinet/in.h  Tue Feb 26 20:57:03 2002 +0000
+++ b/sys/netinet/in.h  Tue Feb 26 20:57:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in.h,v 1.47.4.2 2001/04/24 22:21:35 he Exp $   */
+/*     $NetBSD: in.h,v 1.47.4.3 2002/02/26 20:57:22 he Exp $   */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -348,7 +348,8 @@
 #define IPCTL_LOWPORTMIN       16      /* minimum reserved port */
 #define IPCTL_LOWPORTMAX       17      /* maximum reserved port */
 #define IPCTL_MAXFRAGPACKETS   18      /* max packets in reassembly queue */
-#define        IPCTL_MAXID            19
+#define        IPCTL_GRE_TTL          19       /* default TTL for gre encap packet */
+#define        IPCTL_MAXID            20
 
 #define        IPCTL_NAMES { \
        { 0, 0 }, \
@@ -370,6 +371,7 @@
        { "lowportmin", CTLTYPE_INT }, \
        { "lowportmax", CTLTYPE_INT }, \
        { "maxfragpackets", CTLTYPE_INT }, \
+       { "grettl", CTLTYPE_INT }, \
 }
 #endif /* !_XOPEN_SOURCE */
 



Home | Main Index | Thread Index | Old Index