sync with latest kame tree. more stable, p2p advert is corrected

This commit is contained in:
itojun 2000-07-05 02:14:16 +00:00
parent 09cb034585
commit d248c0293a
4 changed files with 445 additions and 141 deletions

View File

@ -4,6 +4,7 @@
PROG= route6d
MAN8= route6d.8
CFLAGS+= -Dss_len=__ss_len -Dss_family=__ss_family -DINET6
CFLAGS+= -Dss_len=__ss_len -Dss_family=__ss_family -DINET6 \
-DHAVE_GETIFADDRS
.include <bsd.prog.mk>

View File

@ -1,3 +1,6 @@
.\" $FreeBSD$
.\" $KAME: route6d.8,v 1.8 2000/05/31 17:00:09 itojun Exp $
.\"
.\" Copyright (c) 1996 WIDE Project. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@ -11,9 +14,6 @@
.\" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
.\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
.\" A PARTICULAR PURPOSE.
.\"
.\" $FreeBSD$
.\"
.Dd January 31, 1997
.Dt ROUTE6D 8
.Os KAME
@ -23,13 +23,27 @@
.Sh SYNOPSIS
.Nm route6d
.Op Fl adDhlqsS
.Bk -words
.Op Fl R Ar routelog
.Ek
.Bk -words
.Op Fl A Ar prefix/preflen,if1[,if2...]
.Ek
.Bk -words
.Op Fl L Ar prefix/preflen,if1[,if2...]
.Ek
.Bk -words
.Op Fl N Ar if1[,if2...]
.Ek
.Bk -words
.Op Fl O Ar prefix/preflen,if1[,if2...]
.Ek
.Bk -words
.Op Fl T Ar if1[,if2...]
.Ek
.Bk -words
.Op Fl t Ar tag
.Ek
.\"
.Sh DESCRIPTION
The
@ -92,7 +106,8 @@ Disables the split horizon processing.
By default,
.Nm
will not exchange site local routes for safety reasons.
This is because semantics of site local address space is rather vague,
This is because semantics of site local address space is rather vague
.Pq specification is still in being worked ,
and there is no good way to define site local boundary.
With
.Fl l
@ -185,11 +200,11 @@ or
.Dv SIGUSR1 ,
.Nm
will dump the current internal state into
.Pa /var/tmp/route6d_dump .
.Pa /var/run/route6d_dump .
.\"
.Sh FILES
.Bl -tag -width /var/tmp/route6d_dump -compact
.It Pa /var/tmp/route6d_dump
.Bl -tag -width /var/run/route6d_dump -compact
.It Pa /var/run/route6d_dump
dumps internal state on
.Dv SIGINT
or
@ -220,7 +235,7 @@ and
.Li ff02::xx
.Pc
so they will be visible on internal state dump file
.Pq Pa /var/tmp/route6d_dump .
.Pq Pa /var/run/route6d_dump .
.Pp
Routing table manipulation differs from IPv6 implementation to implementation.
Currently

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,10 @@
/*
* $Header: /cvsroot/kame/kame/kame/kame/route6d/route6d.h,v 1.1.1.1 1999/08/08 23:31:35 itojun Exp $
*/
/* $FreeBSD$ */
/* $KAME: route6d.h,v 1.3 2000/02/25 06:15:06 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@ -17,7 +16,7 @@
* 3. Neither the name of the project nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
*
* THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@ -29,15 +28,13 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
/* not yet in use
/* not yet in use
#define ROUTE6D_CONF "/usr/local/v6/etc/route6d.conf"
*/
#define ROUTE6D_DUMP "/var/tmp/route6d_dump"
#define ROUTE6D_DUMP "/var/run/route6d_dump"
#define ROUTE6D_PID "/var/run/route6d.pid"
#define RIP6_VERSION 1