summaryrefslogtreecommitdiff
path: root/sharpd/sharp_globals.h
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2021-03-11 16:25:37 +0100
committerOlivier Dugeon <olivier.dugeon@orange.com>2021-03-23 15:39:30 +0100
commit1888e24382ba024e89d9ad582899607af20aea11 (patch)
tree9c6cc893ae222e062cd3643a9ce315126b32061e /sharpd/sharp_globals.h
parent927b08024e5e5664186f7e675ef65616bcf791c8 (diff)
sharpd: Add Traffic Engineering Database (TED)
Add new feature and commands to sharpd in order to collect Traffic Engineering Database information from an IGP (OSPF or IS-IS) though the ZAPI Opaque Message and the support of the Link State Library. This feature serves as an example of how to code a Traffic Engineering Database consumer and tests the mechanism. Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'sharpd/sharp_globals.h')
-rw-r--r--sharpd/sharp_globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sharpd/sharp_globals.h b/sharpd/sharp_globals.h
index ecb7053fd6..0b3776cd90 100644
--- a/sharpd/sharp_globals.h
+++ b/sharpd/sharp_globals.h
@@ -55,6 +55,9 @@ struct sharp_global {
/* The list of nexthops that we are watching and data about them */
struct list *nhs;
+
+ /* Traffic Engineering Database */
+ struct ls_ted *ted;
};
extern struct sharp_global sg;