diff options
| author | Christian Franke <chris@opensourcerouting.org> | 2018-07-26 22:53:08 +0200 |
|---|---|---|
| committer | Christian Franke <chris@opensourcerouting.org> | 2018-08-03 13:25:39 +0200 |
| commit | 321c1bbb940d813735883bfc80cc5bdabb3543c9 (patch) | |
| tree | 5551f5c8f24e08175445d4627908eb686910ec6c /lib/srcdest_table.h | |
| parent | 6d38d0785ccadf82ae76bd35e952b867847d19f6 (diff) | |
isisd: make spf code dst-src aware
Take the source-prefix sub-TLV into consideration when running SPF
and support creation/deletion of dst-src routes as result.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'lib/srcdest_table.h')
| -rw-r--r-- | lib/srcdest_table.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/srcdest_table.h b/lib/srcdest_table.h index 5f97f02bac..9ceb876f81 100644 --- a/lib/srcdest_table.h +++ b/lib/srcdest_table.h @@ -64,6 +64,9 @@ extern struct route_node *srcdest_rnode_lookup(struct route_table *table, extern void srcdest_rnode_prefixes(struct route_node *rn, const struct prefix **p, const struct prefix **src_p); +extern const char *srcdest2str(const struct prefix *dst_p, + const struct prefix_ipv6 *src_p, + char *str, int size); extern const char *srcdest_rnode2str(struct route_node *rn, char *str, int size); extern struct route_node *srcdest_route_next(struct route_node *rn); |
