diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-05-31 21:24:29 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-05-31 21:24:29 +0000 |
commit | 016a2eeb3a47fcdf174c977d8026a2a3ed13ebb1 (patch) | |
tree | 2380e5d39646272f60cfbed3b223aba90bd183b8 /usr.sbin/rtsold/rtsold.h | |
parent | ed41dbb449d7a54f1617d4a36dc7d4262d17b07c (diff) |
sync w/ latest kame. link id handling.
Diffstat (limited to 'usr.sbin/rtsold/rtsold.h')
-rw-r--r-- | usr.sbin/rtsold/rtsold.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/rtsold/rtsold.h b/usr.sbin/rtsold/rtsold.h index 3e4c22cf484..af03c4236a0 100644 --- a/usr.sbin/rtsold/rtsold.h +++ b/usr.sbin/rtsold/rtsold.h @@ -1,5 +1,5 @@ -/* $OpenBSD: rtsold.h,v 1.9 2002/05/31 10:11:14 itojun Exp $ */ -/* $KAME: rtsold.h,v 1.11 2000/10/10 06:18:04 itojun Exp $ */ +/* $OpenBSD: rtsold.h,v 1.10 2002/05/31 21:24:28 itojun Exp $ */ +/* $KAME: rtsold.h,v 1.14 2002/05/31 10:10:03 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -35,6 +35,7 @@ struct ifinfo { struct sockaddr_dl *sdl; /* link-layer address */ char ifname[IF_NAMESIZE]; /* interface name */ + u_int32_t linkid; /* link ID of this interface */ int active; /* interface status */ int probeinterval; /* interval of probe timer(if necessary) */ int probetimer; /* rest of probe timer */ @@ -66,6 +67,7 @@ struct ifinfo *find_ifinfo(int ifindex); void rtsol_timer_update(struct ifinfo *); extern void warnmsg(int, const char *, const char *, ...) __attribute__((__format__(__printf__, 3, 4))); +extern char **autoifprobe(void); /* if.c */ extern int ifinit(void); @@ -83,7 +85,7 @@ extern void rtsol_input(int); /* probe.c */ extern int probe_init(void); -extern void defrouter_probe(int); +extern void defrouter_probe(struct ifinfo *); /* dump.c */ extern void rtsold_dump_file(char *); |