summaryrefslogtreecommitdiff
path: root/nest/iface.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-10-17 11:05:18 +0000
committerMartin Mares <mj@ucw.cz>1998-10-17 11:05:18 +0000
commit47b793064c25c8adcab48cacc018be1675f2448a (patch)
treec6924c3fb31bf8cd7d650ad8e6c52c395457eca9 /nest/iface.h
parentd92882be9b1bfcc1a8e8a7bd552bdec4831694aa (diff)
Solve chicken-and-egg problems with protocol startup. We now queue all inactive
protocols and don't send route/interface updates to them and when they come up, we resend the whole route/interface tables privately. Removed the "scan interface list after protocol start" work-around.
Diffstat (limited to 'nest/iface.h')
-rw-r--r--nest/iface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/iface.h b/nest/iface.h
index b1984b39..101e0282 100644
--- a/nest/iface.h
+++ b/nest/iface.h
@@ -13,6 +13,8 @@
extern list iface_list;
+struct proto;
+
struct iface {
node n;
char name[16];
@@ -51,6 +53,7 @@ void if_dump(struct iface *);
void if_dump_all(void);
void if_update(struct iface *);
void if_end_update(void);
+void if_feed_baby(struct proto *);
/*
* Neighbor Cache. We hold (direct neighbor, protocol) pairs we've seen