0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Added new protocol hook for dumping of protocol-dependent route

attributes.

Please implement in all protocols.
This commit is contained in:
Martin Mares 1999-04-03 13:01:58 +00:00
parent 73c7bed168
commit 69ec9087ad
2 changed files with 3 additions and 0 deletions

2
TODO
View File

@ -2,6 +2,8 @@ Core
~~~~ ~~~~
- Remove TOS support? - Remove TOS support?
* protocols: implement dumping of protocol-dependent rte attributes
- config: executable config files - config: executable config files
- do we really need preconfig? - do we really need preconfig?

View File

@ -38,6 +38,7 @@ struct protocol {
struct proto * (*init)(struct proto_config *); /* Create new instance */ struct proto * (*init)(struct proto_config *); /* Create new instance */
int (*reconfigure)(struct proto *, struct proto_config *); /* Try to reconfigure instance */ int (*reconfigure)(struct proto *, struct proto_config *); /* Try to reconfigure instance */
void (*dump)(struct proto *); /* Debugging dump */ void (*dump)(struct proto *); /* Debugging dump */
void (*dump_attrs)(struct rte *); /* Dump protocol-dependent attributes */
int (*start)(struct proto *); /* Start the instance */ int (*start)(struct proto *); /* Start the instance */
int (*shutdown)(struct proto *); /* Stop the instance */ int (*shutdown)(struct proto *); /* Stop the instance */
}; };