HomeFreeBSD

nhops: split nh_family into nh_upper_family and nh_neigh_family.

Description

nhops: split nh_family into nh_upper_family and nh_neigh_family.

With IPv4 over IPv6 nexthops and IP->MPLS support, there is a need
to distingush "upper" e.g. traffic family and "neighbor" e.g. LLE/gateway
address family. Store them explicitly in the private part of the nexthop data.

While here, store nhop fibnum in nhop_prip datastructure to make it self-contained.

MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D33663

Details

Provenance
melifaroAuthored on Dec 26 2021, 6:07 PM
Differential Revision
D33663: nhops: split nh_family into nh_upper_family and nh_neigh_family.
Parents
rGff3a85d32411: [lltable] Add per-family lltable getters.
Branches
Unknown
Tags
Unknown