diff options
author | Martin Mares <mj@ucw.cz> | 1999-12-01 15:08:32 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-12-01 15:08:32 +0000 |
commit | 04a60c689aeb10fafa9919bcff5f8391e0f3a158 (patch) | |
tree | 4e0f535175bb51f8a3829004b0f412eb01fe5fc9 /nest | |
parent | f611f0ee824a6b363dc675e8f6ac963f20e7d007 (diff) |
Added get_route_info and show_route_data hooks to struct protocol.
Please implement them.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/protocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index c77a9358..0962ccfd 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); |