summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorGalaxyGorilla <sascha@netdef.org>2020-08-17 13:04:41 +0000
committerGalaxyGorilla <sascha@netdef.org>2020-08-18 11:13:56 +0000
commit6fc9528e8b77a190ca165ea849e1550e1497af0f (patch)
treed936aec73305ef15ae1f2847a6b0c1025c97eb61 /zebra/kernel_socket.c
parent3a76b1be886ba84a55eaf25bb0866b292c1ab428 (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