summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_ipw.c
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2009-03-29 21:42:30 +0000
committerstsp <stsp@openbsd.org>2009-03-29 21:42:30 +0000
commitabf314c6adcfc83fe1de8cc881e84df2c80029c9 (patch)
tree39428cf9ea2838feb3600df9219e48264143cf0d /sys/dev/pci/if_ipw.c
parentNo more NUMBOOT==2 stuff around, nuke it for sake of clarity. (diff)
downloadwireguard-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_ipw.c')
0 files changed, 0 insertions, 0 deletions