summaryrefslogtreecommitdiff
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-08-31 21:13:42 +0000
committerMartin Mares <mj@ucw.cz>1998-08-31 21:13:42 +0000
commit8c43696da0c0680820aa949da35e823e68162788 (patch)
tree95ffc724644c62c6af91c8f1c6f708b8ef17b154 /nest/protocol.h
parentbf65d27deaa0bacd801ec06a3257dda03a53fee2 (diff)
Route update hook now gets network prefix as well as updated
route attributes.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index a42f565d..92bcbbe1 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -16,6 +16,7 @@ struct iface;
struct rte;
struct neighbor;
struct rtattr;
+struct network;
/*
* Routing Protocol
@@ -59,7 +60,7 @@ struct proto {
unsigned preference; /* Default route preference */
void (*if_notify)(struct proto *, unsigned flags, struct iface *new, struct iface *old);
- void (*rt_notify)(struct proto *, struct rte *new, struct rte *old);
+ void (*rt_notify)(struct proto *, struct network *net, struct rte *new, struct rte *old);
void (*neigh_notify)(struct neighbor *neigh);
void (*dump)(struct proto *); /* Debugging dump */
void (*start)(struct proto *); /* Start the instance */