diff options
author | 2009-03-29 21:42:30 +0000 | |
---|---|---|
committer | 2009-03-29 21:42:30 +0000 | |
commit | abf314c6adcfc83fe1de8cc881e84df2c80029c9 (patch) | |
tree | 39428cf9ea2838feb3600df9219e48264143cf0d /sys/dev/pci/if_vr.c | |
parent | No more NUMBOOT==2 stuff around, nuke it for sake of clarity. (diff) | |
download | wireguard-openbsd-abf314c6adcfc83fe1de8cc881e84df2c80029c9.tar.xz wireguard-openbsd-abf314c6adcfc83fe1de8cc881e84df2c80029c9.zip |
As a first step towards SPF tree calculation, prepare for proper
next-hop calculation.
In OSPFv3, next-hop IP addresses are always link-local.
The kernel will want to know which interface the link-local
address belongs to, so we need an ifindex in struct v_nexthop
in addition to the IP address.
Because we cannot determine a link-local next hop IP address
for transit networks, only the outgoing interface will be recorded.
Update calc_nexthop_add() according to the above.
Also add new helpers calc_nexthop_lladdr() and calc_nexthop_transit_nbr(),
to figure out link-local addresses of nexthop neighbours.
ok claudio@
Diffstat (limited to 'sys/dev/pci/if_vr.c')
0 files changed, 0 insertions, 0 deletions