]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Added get_route_info and show_route_data hooks to struct protocol.
authorMartin Mares <mj@ucw.cz>
Wed, 1 Dec 1999 15:08:32 +0000 (15:08 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 1 Dec 1999 15:08:32 +0000 (15:08 +0000)
Please implement them.

nest/protocol.h

index c77a9358507a81ceb827765de5a2c2a41d61b0a0..0962ccfd89f4b8edf9bfe41a0ece91ccecff859c 100644 (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);