HomeFreeBSD

routing: add rib_match_gw() helper

Description

routing: add rib_match_gw() helper

Finish 02e05b8faec1:

  • add gateway matcher function that can be used in rib_del_route_px() or any rib_walk-family functions. It will be used in the upcoming migration to the new KPI
  • rename gw_fulter_func to match_gw_one() to better signal the function purpose / semantic.

MFC after: 1 month

Details

Provenance
melifaroAuthored on Aug 12 2022, 9:31 AM
Parents
rG6a70a0c8bfa6: Document implicit dependencies of the mlx5(4) & friends.
Branches
Unknown
Tags
Unknown