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
F157389580: D33663.id100592.diff
Wed, May 20, 10:01 PM
F157383115: D33663.id.diff
Wed, May 20, 8:39 PM
Unknown Object (File)
Wed, May 20, 3:42 AM
Unknown Object (File)
Sun, May 17, 4:27 AM
Unknown Object (File)
Sat, May 16, 10:08 PM
Unknown Object (File)
Sat, May 16, 10:08 PM
Unknown Object (File)
Sat, May 16, 10:08 PM
Unknown Object (File)
Sat, May 16, 9:56 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.