]> git.proxmox.com Git - mirror_frr.git/commit - isisd/subdir.am
isisd: move spf datastructures to a header, to share with fabricd
authorChristian Franke <chris@opensourcerouting.org>
Thu, 10 May 2018 16:52:17 +0000 (18:52 +0200)
committerChristian Franke <chris@opensourcerouting.org>
Wed, 5 Sep 2018 09:38:13 +0000 (11:38 +0200)
commitcbd8e49e3ead018b67f630752a37c44fae0697cc
treeb7caf2ac4408054be617d344172ec45b4f7d98f2
parentb30e837b3f544836503ee479f02d749b7d3cf9e4
isisd: move spf datastructures to a header, to share with fabricd

By moving the spf datastructures to a header, fabricd can access the
results of the spf run for flooding optimization or fabric locality
calculation.

While this was deemed a sensible choice in this case, when compared with
the option of adding a lot of OpenFabric specific code to isis_spf.c,
the datastructures should still not be accessed randomly all over the
code base. To make this more clear, the new header was called
isis_spf_private.h (Think of a friend class)

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
isisd/isis_spf.c
isisd/isis_spf_private.h [new file with mode: 0644]
isisd/subdir.am