aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/route6d/route6d.h
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-11-14 17:16:12 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-11-14 17:16:12 +0000
commitf768a332f8438325654d14366722aee6cdb6b1b3 (patch)
treef48536d265a33a298ab5ec4c2d54877de80c2008 /usr.sbin/route6d/route6d.h
parent6d7256d9d60bc277b4e6383cd992173ea2134b38 (diff)
downloadsrc-f768a332f8438325654d14366722aee6cdb6b1b3.tar.gz
src-f768a332f8438325654d14366722aee6cdb6b1b3.zip
- interface minimum MTU = 1280 in IPv6.
- simplify. Obtained from: KAME
Notes
Notes: svn path=/head/; revision=122676
Diffstat (limited to 'usr.sbin/route6d/route6d.h')
-rw-r--r--usr.sbin/route6d/route6d.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/route6d/route6d.h b/usr.sbin/route6d/route6d.h
index a52a971b5c24..49a7d5a93760 100644
--- a/usr.sbin/route6d/route6d.h
+++ b/usr.sbin/route6d/route6d.h
@@ -1,5 +1,5 @@
/* $FreeBSD$ */
-/* $KAME: route6d.h,v 1.4 2001/01/15 03:50:54 inoue Exp $ */
+/* $KAME: route6d.h,v 1.8 2003/05/28 09:11:13 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -51,19 +51,14 @@ struct rip6 {
u_char rip6_cmd;
u_char rip6_vers;
u_char rip6_res1[2];
- union {
- struct netinfo6 ru6_nets[1];
- char ru6_tracefile[1];
- } rip6un;
-#define rip6_nets rip6un.ru6_nets
-#define rip6_tracefile rip6un.ru6_tracefile
+ struct netinfo6 rip6_nets[1];
};
#define HOPCNT_INFINITY6 16
#define NEXTHOP_METRIC 0xff
#define RIP6_MAXMTU 1500
-#define IFMINMTU 576
+#define IFMINMTU 1280
#ifndef DEBUG
#define SUPPLY_INTERVAL6 30