diff options
author | Martin Mares <mj@ucw.cz> | 1998-12-06 23:13:31 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-12-06 23:13:31 +0000 |
commit | f6bd206607d9fcad3572841813d7376bd2df4952 (patch) | |
tree | b3d17192e9f0fed53bf8d85f56a3881e82aae55a /proto/static/static.h | |
parent | 78d06cf2bc8ec8b9850802fc9d34afe4d1782c6c (diff) |
All static routes except for device ones should work and appear/disappear
when their destination comes on/off link. Deserves better testing :)
See example in bird.conf.
Diffstat (limited to 'proto/static/static.h')
-rw-r--r-- | proto/static/static.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/proto/static/static.h b/proto/static/static.h index df18c133..b6d69457 100644 --- a/proto/static/static.h +++ b/proto/static/static.h @@ -11,20 +11,20 @@ struct static_proto { struct proto p; - list routes; + list iface_routes; /* Routes to search on interface events */ + list other_routes; /* Routes hooked to neighbor cache and reject routes */ }; void static_init_instance(struct static_proto *); struct static_route { node n; - u32 net; /* Network we route */ + ip_addr net; /* Network we route */ int masklen; /* Mask length */ int dest; /* Destination type (RTD_*) */ - u32 via; /* Destination router */ + ip_addr via; /* Destination router */ struct neighbor *neigh; - /* FIXME: Device routes, maybe via device patterns? */ - /* FIXME: More route attributes, probably via filter syntax */ + byte *if_name; /* Name for RTD_DEVICE routes */ }; #endif |