diff options
author | Martin Mares <mj@ucw.cz> | 1999-04-03 15:01:58 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-04-03 15:01:58 +0200 |
commit | 69ec9087ad3fb631f46275220909a876deadb6b5 (patch) | |
tree | dcfe49e6bc12fbe9213a466805581b2b0f5c1ba1 | |
parent | 73c7bed168890399981f70e1d0be35d8cde01fed (diff) | |
download | bird-69ec9087ad3fb631f46275220909a876deadb6b5.tar bird-69ec9087ad3fb631f46275220909a876deadb6b5.zip |
Added new protocol hook for dumping of protocol-dependent route
attributes.
Please implement in all protocols.
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | nest/protocol.h | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,8 @@ Core ~~~~ - Remove TOS support? +* protocols: implement dumping of protocol-dependent rte attributes + - config: executable config files - do we really need preconfig? diff --git a/nest/protocol.h b/nest/protocol.h index 1e62765..e513779 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -38,6 +38,7 @@ struct protocol { struct proto * (*init)(struct proto_config *); /* Create new instance */ int (*reconfigure)(struct proto *, struct proto_config *); /* Try to reconfigure instance */ void (*dump)(struct proto *); /* Debugging dump */ + void (*dump_attrs)(struct rte *); /* Dump protocol-dependent attributes */ int (*start)(struct proto *); /* Start the instance */ int (*shutdown)(struct proto *); /* Stop the instance */ }; |