diff options
| author | GalaxyGorilla <sascha@netdef.org> | 2020-08-17 13:04:41 +0000 |
|---|---|---|
| committer | GalaxyGorilla <sascha@netdef.org> | 2020-08-18 11:13:56 +0000 |
| commit | 6fc9528e8b77a190ca165ea849e1550e1497af0f (patch) | |
| tree | d936aec73305ef15ae1f2847a6b0c1025c97eb61 /zebra/kernel_socket.c | |
| parent | 3a76b1be886ba84a55eaf25bb0866b292c1ab428 (diff) | |
ospfd: bring back some P2P SPF interface code
In the case of P2P links it is possible to use IP unnumbered which
yields a strong dependency to the interface data for nexthop
resolution in the SPF calculations. While the SPF code strives to
be as independent of non-LSA data as possible there is no way
around here: one has to resolve the nexthop for such a special case
using the interface data.
For this purpose a new flag 'spf_root_node' is introduced to signal
that interface data can be used for P2P links. For now this flag is
always 'true' since the SPF currently always uses the calculating
node as the root node. This will change with the introduction of
TI-LFA where other nodes can be root nodes.
Signed-off-by: GalaxyGorilla <sascha@netdef.org>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions
