summaryrefslogtreecommitdiffstats
path: root/proto/static/static.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-12-07 23:34:36 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-12-07 23:34:36 +0100
commit9852f81064a38d35ff1bd5cc9fab7fc33926c83c (patch)
tree91917f1bc0e06922ddde315e640d525ac7d5e3e6 /proto/static/static.h
parent7e95c05d889f22be44aef5051eb07d35a4a8f579 (diff)
downloadbird-9852f81064a38d35ff1bd5cc9fab7fc33926c83c.tar
bird-9852f81064a38d35ff1bd5cc9fab7fc33926c83c.zip
Multipath support for static protocol.
Diffstat (limited to 'proto/static/static.h')
-rw-r--r--proto/static/static.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/static/static.h b/proto/static/static.h
index 5c31e00..c91b9ce 100644
--- a/proto/static/static.h
+++ b/proto/static/static.h
@@ -28,9 +28,13 @@ struct static_route {
ip_addr via; /* Destination router */
struct neighbor *neigh;
byte *if_name; /* Name for RTD_DEVICE routes */
+ struct static_route *mp_next; /* Nexthops for RTD_MULTIPATH routes */
int installed; /* Installed in master table */
};
+/* Dummy nodes (parts of multipath route) abuses masklen field for weight
+ and if_name field for a ptr to the master (RTD_MULTIPATH) node. */
+
void static_show(struct proto *);
#endif