1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Multipath support for static protocol.

This commit is contained in:
Ondrej Zajicek
2010-12-07 23:34:36 +01:00
parent 7e95c05d88
commit 9852f81064
3 changed files with 191 additions and 26 deletions

View File

@@ -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