From 04a60c689aeb10fafa9919bcff5f8391e0f3a158 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 1 Dec 1999 15:08:32 +0000 Subject: Added get_route_info and show_route_data hooks to struct protocol. Please implement them. --- nest/protocol.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nest/protocol.h b/nest/protocol.h index c77a935..0962ccf 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -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); -- cgit v1.2.3