summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index 3bce62bfa8..fe7073656c 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -84,6 +84,11 @@ struct rnh {
PREDECL_LIST(re_list)
+struct opaque {
+ uint16_t length;
+ uint8_t data[];
+};
+
struct route_entry {
/* Link list. */
struct re_list_item next;
@@ -157,6 +162,8 @@ struct route_entry {
/* Distance. */
uint8_t distance;
+
+ struct opaque *opaque;
};
#define RIB_SYSTEM_ROUTE(R) RSYSTEM_ROUTE((R)->type)