HomeFreeBSD

routing: refactor private KPI

Description

routing: refactor private KPI

  • Make nhgrp_get_nhops() return const struct weightened_nhop to indicate that the list is immutable
  • Make nhgrp_get_group() return the actual group, instead of group+weight.

MFC after: 2 weeks

Details

Provenance
melifaroAuthored on Aug 1 2022, 10:02 AM
Parents
rGf28532a0f363: tests: fix unix_passfd_dgram:rights_creds_payload after be1f485d7d6b
Branches
Unknown
Tags
Unknown