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)
Sun, Aug 9, 11:18 PM
Unknown Object (File)
Sun, Aug 9, 11:17 PM
Unknown Object (File)
Sat, Aug 8, 8:59 PM
Unknown Object (File)
Sat, Aug 8, 1:17 PM
Unknown Object (File)
Fri, Aug 7, 2:02 AM
Unknown Object (File)
Thu, Aug 6, 12:44 AM
Unknown Object (File)
Mon, Jul 27, 2:16 PM
Unknown Object (File)
Sat, Jul 25, 2:48 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