Page MenuHomeFreeBSD

nhops: split nh_family into nh_upper_family and nh_neigh_family.
ClosedPublic

Authored by melifaro on Dec 26 2021, 6:11 PM.
Tags
None
Referenced Files
F174339894: D33663.id100722.diff
Fri, Oct 2, 1:00 PM
Unknown Object (File)
Thu, Oct 1, 7:28 AM
Unknown Object (File)
Thu, Oct 1, 12:22 AM
Unknown Object (File)
Wed, Sep 30, 11:42 PM
Unknown Object (File)
Wed, Sep 30, 11:35 PM
Unknown Object (File)
Fri, Sep 11, 11:29 AM
Unknown Object (File)
Thu, Sep 10, 9:17 PM
Unknown Object (File)
Sat, Sep 5, 11:23 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43598
Build 40486: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Dec 29 2021, 9:30 PM
This revision was automatically updated to reflect the committed changes.