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)
Sat, Oct 11, 2:27 PM
Unknown Object (File)
Sat, Oct 11, 2:27 PM
Unknown Object (File)
Sat, Oct 11, 2:27 PM
Unknown Object (File)
Sat, Oct 11, 6:05 AM
Unknown Object (File)
Sep 12 2025, 8:34 AM
Unknown Object (File)
Sep 8 2025, 7:28 PM
Unknown Object (File)
Aug 25 2025, 6:16 PM
Unknown Object (File)
Aug 25 2025, 4:57 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