Added get_route_info and show_route_data hooks to struct protocol.

Please implement them.
This commit is contained in:
Martin Mares 1999-12-01 15:08:32 +00:00
parent f611f0ee82
commit 04a60c689a

View file

@ -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);