From 69ec9087ad3fb631f46275220909a876deadb6b5 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 3 Apr 1999 13:01:58 +0000 Subject: [PATCH] Added new protocol hook for dumping of protocol-dependent route attributes. Please implement in all protocols. --- TODO | 2 ++ nest/protocol.h | 1 + 2 files changed, 3 insertions(+) diff --git a/TODO b/TODO index 17e9a766..52629ea5 100644 --- a/TODO +++ b/TODO @@ -2,6 +2,8 @@ Core ~~~~ - Remove TOS support? +* protocols: implement dumping of protocol-dependent rte attributes + - config: executable config files - do we really need preconfig? diff --git a/nest/protocol.h b/nest/protocol.h index 1e627652..e5137791 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -38,6 +38,7 @@ struct protocol { struct proto * (*init)(struct proto_config *); /* Create new instance */ int (*reconfigure)(struct proto *, struct proto_config *); /* Try to reconfigure instance */ void (*dump)(struct proto *); /* Debugging dump */ + void (*dump_attrs)(struct rte *); /* Dump protocol-dependent attributes */ int (*start)(struct proto *); /* Start the instance */ int (*shutdown)(struct proto *); /* Stop the instance */ };