summaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold/rtsold.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-25 10:32:22 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-25 10:32:22 +0000
commitba7767ec9c45d31f14b0ecaf5c21fd86c7046f24 (patch)
tree947bb03960ab35025b62bad150bb13a6f19930f4 /usr.sbin/rtsold/rtsold.h
parent18cf87ed57039c403152d9fb3395ddd293b52ecb (diff)
use getifaddrs, not SIOCGIFCONF for LP64 align issue. (sync with kame).
Diffstat (limited to 'usr.sbin/rtsold/rtsold.h')
-rw-r--r--usr.sbin/rtsold/rtsold.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/rtsold/rtsold.h b/usr.sbin/rtsold/rtsold.h
index e0be48c21a5..ee57153d788 100644
--- a/usr.sbin/rtsold/rtsold.h
+++ b/usr.sbin/rtsold/rtsold.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsold.h,v 1.2 1999/12/09 15:10:49 itojun Exp $ */
+/* $OpenBSD: rtsold.h,v 1.3 2000/02/25 10:32:21 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -33,7 +33,7 @@ struct ifinfo {
struct ifinfo *next; /* pointer to the next interface */
struct sockaddr_dl *sdl; /* link-layer address */
- char ifname[16]; /* interface name */
+ char ifname[IF_NAMESIZE]; /* interface name */
int active; /* interface status */
int probeinterval; /* interval of probe timer(if necessary) */
int probetimer; /* rest of probe timer */
@@ -43,6 +43,7 @@ struct ifinfo {
int dadcount;
struct timeval timer;
struct timeval expire;
+ int errors; /* # of errors we've got - detect wedge */
int racnt; /* total # of valid RAs it have got */