diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-12-07 23:34:36 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-12-07 23:34:36 +0100 |
commit | 9852f81064a38d35ff1bd5cc9fab7fc33926c83c (patch) | |
tree | 91917f1bc0e06922ddde315e640d525ac7d5e3e6 /proto/static/static.h | |
parent | 7e95c05d889f22be44aef5051eb07d35a4a8f579 (diff) |
Multipath support for static protocol.
Diffstat (limited to 'proto/static/static.h')
-rw-r--r-- | proto/static/static.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/static/static.h b/proto/static/static.h index 5c31e009..c91b9cef 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 |