mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Added get_route_info and show_route_data hooks to struct protocol.
Please implement them.
This commit is contained in:
parent
f611f0ee82
commit
04a60c689a
@ -47,6 +47,8 @@ struct protocol {
|
||||
int (*start)(struct proto *); /* Start the instance */
|
||||
int (*shutdown)(struct proto *); /* Stop the instance */
|
||||
void (*get_status)(struct proto *, byte *buf); /* Get instance status (for `show protocols' command) */
|
||||
void (*get_route_info)(struct rte *, byte *buf); /* Get route information (for `show route' command) */
|
||||
void (*show_route_data)(struct rte *); /* Print verbose route information (`show route' again) */
|
||||
};
|
||||
|
||||
void protos_build(void);
|
||||
|
Loading…
Reference in New Issue
Block a user