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)
Wed, Oct 16, 4:26 PM
Unknown Object (File)
Oct 6 2024, 5:54 AM
Unknown Object (File)
Sep 13 2024, 6:35 PM
Unknown Object (File)
Sep 7 2024, 10:22 PM
Unknown Object (File)
Sep 4 2024, 9:48 PM
Unknown Object (File)
Sep 1 2024, 4:47 AM
Unknown Object (File)
Aug 22 2024, 8:10 PM
Unknown Object (File)
Aug 18 2024, 6:18 PM
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