Commit 69ec9087 authored by Martin Mareš's avatar Martin Mareš

Added new protocol hook for dumping of protocol-dependent route

attributes.

Please implement in all protocols.
parent 73c7bed1
......@@ -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?
......
......@@ -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 */
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment