Page MenuHomeFreeBSD

routing: simplify decompose_change_notification().
ClosedPublic

Authored by melifaro on Jun 25 2022, 8:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 22 2024, 5:21 PM
Unknown Object (File)
Dec 20 2023, 4:21 AM
Unknown Object (File)
Dec 17 2023, 7:31 AM
Unknown Object (File)
Oct 13 2023, 8:45 AM
Unknown Object (File)
Jul 15 2023, 3:38 AM
Unknown Object (File)
Jul 6 2023, 11:44 PM
Unknown Object (File)
Apr 24 2023, 3:56 PM
Unknown Object (File)
Apr 6 2023, 4:20 AM
Subscribers

Details

Summary

The function's goal is to compare old/new nhop/nhgrp for the route
and decompose it into the series of RTM_ADD/RTM_DELETE single-nhop
events, calling specified callback for each event.
Simplify by properly leveraging the fact that both old/new groups
are sorted nhop-# ascending.

MFC after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable