diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 1999-12-09 15:10:50 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 1999-12-09 15:10:50 +0000 |
commit | ed654e801ef216f3f614e23c0a18c6fb3de68856 (patch) | |
tree | 10793c70506c0de761999cde488378bfa61ff4c1 /usr.sbin | |
parent | e81fedf11966b1319ff9cc32a21757dc59a0485c (diff) |
rtsold(8); router solicitation daemon.
rtsol(8); router solicitation program, for use in bootstrap process
(statically linked)
rcsid police. add missing prototypes.
(sync with KAME)
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rtsold/Makefile | 13 | ||||
-rw-r--r-- | usr.sbin/rtsold/dump.c | 3 | ||||
-rw-r--r-- | usr.sbin/rtsold/if.c | 2 | ||||
-rw-r--r-- | usr.sbin/rtsold/probe.c | 2 | ||||
-rw-r--r-- | usr.sbin/rtsold/rtsol.c | 2 | ||||
-rw-r--r-- | usr.sbin/rtsold/rtsold.8 | 2 | ||||
-rw-r--r-- | usr.sbin/rtsold/rtsold.c | 4 | ||||
-rw-r--r-- | usr.sbin/rtsold/rtsold.h | 2 |
8 files changed, 29 insertions, 1 deletions
diff --git a/usr.sbin/rtsold/Makefile b/usr.sbin/rtsold/Makefile new file mode 100644 index 00000000000..3c619119ac3 --- /dev/null +++ b/usr.sbin/rtsold/Makefile @@ -0,0 +1,13 @@ +# $OpenBSD: Makefile,v 1.1 1999/12/09 15:10:49 itojun Exp $ + +PROG= rtsold +SRCS= rtsold.c rtsol.c if.c probe.c dump.c + +CPPFLAGS+=-DINET6 +LDADD+= -lkvm +DPADD+= ${LIBKVM} + +MAN= rtsold.8 +MLINKS= rtsold.8 rtsol.8 + +.include <bsd.prog.mk> diff --git a/usr.sbin/rtsold/dump.c b/usr.sbin/rtsold/dump.c index e293cada217..ad692bff600 100644 --- a/usr.sbin/rtsold/dump.c +++ b/usr.sbin/rtsold/dump.c @@ -1,3 +1,5 @@ +/* $OpenBSD: dump.c,v 1.2 1999/12/09 15:10:49 itojun Exp $ */ + /* * Copyright (C) 1999 WIDE Project. * All rights reserved. @@ -45,6 +47,7 @@ static FILE *fp; extern struct ifinfo *iflist; +static void dump_interface_status __P((void)); static char *sec2str __P((time_t)); char *ifstatstr[] = {"IDLE", "DELAY", "PROBE", "DOWN", "TENTATIVE"}; diff --git a/usr.sbin/rtsold/if.c b/usr.sbin/rtsold/if.c index 67e0e2bf6ea..314d1c902a8 100644 --- a/usr.sbin/rtsold/if.c +++ b/usr.sbin/rtsold/if.c @@ -1,3 +1,5 @@ +/* $OpenBSD: if.c,v 1.2 1999/12/09 15:10:49 itojun Exp $ */ + /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. diff --git a/usr.sbin/rtsold/probe.c b/usr.sbin/rtsold/probe.c index 0d72807b501..a4a25321e36 100644 --- a/usr.sbin/rtsold/probe.c +++ b/usr.sbin/rtsold/probe.c @@ -1,3 +1,5 @@ +/* $OpenBSD: probe.c,v 1.2 1999/12/09 15:10:49 itojun Exp $ */ + /* * Copyright (C) 1998 WIDE Project. * All rights reserved. diff --git a/usr.sbin/rtsold/rtsol.c b/usr.sbin/rtsold/rtsol.c index 4154ad2c294..024bbb83364 100644 --- a/usr.sbin/rtsold/rtsol.c +++ b/usr.sbin/rtsold/rtsol.c @@ -1,3 +1,5 @@ +/* $OpenBSD: rtsol.c,v 1.2 1999/12/09 15:10:49 itojun Exp $ */ + /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. diff --git a/usr.sbin/rtsold/rtsold.8 b/usr.sbin/rtsold/rtsold.8 index 7bc69e464b7..6e8f5a225d7 100644 --- a/usr.sbin/rtsold/rtsold.8 +++ b/usr.sbin/rtsold/rtsold.8 @@ -1,3 +1,5 @@ +.\" $OpenBSD: rtsold.8,v 1.2 1999/12/09 15:10:49 itojun Exp $ +.\" .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. .\" All rights reserved. .\" diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c index 214e629bff3..5ce7e12e359 100644 --- a/usr.sbin/rtsold/rtsold.c +++ b/usr.sbin/rtsold/rtsold.c @@ -1,3 +1,5 @@ +/* $OpenBSD: rtsold.c,v 1.2 1999/12/09 15:10:49 itojun Exp $ */ + /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. @@ -90,7 +92,7 @@ static void TIMEVAL_ADD __P((struct timeval *a, struct timeval *b, static void TIMEVAL_SUB __P((struct timeval *a, struct timeval *b, struct timeval *result)); -static void rtsold_set_dump_file __P(()); +static void rtsold_set_dump_file __P((void)); static void usage __P((char *progname)); int diff --git a/usr.sbin/rtsold/rtsold.h b/usr.sbin/rtsold/rtsold.h index 441b07d03f5..e0be48c21a5 100644 --- a/usr.sbin/rtsold/rtsold.h +++ b/usr.sbin/rtsold/rtsold.h @@ -1,3 +1,5 @@ +/* $OpenBSD: rtsold.h,v 1.2 1999/12/09 15:10:49 itojun Exp $ */ + /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. |