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)
Mon, Apr 27, 5:43 AM
Unknown Object (File)
Sun, Apr 19, 10:34 AM
Unknown Object (File)
Fri, Apr 17, 3:41 AM
Unknown Object (File)
Thu, Apr 16, 8:17 PM
Unknown Object (File)
Tue, Apr 14, 11:38 PM
Unknown Object (File)
Tue, Apr 14, 2:07 AM
Unknown Object (File)
Sat, Apr 11, 12:04 PM
Unknown Object (File)
Fri, Apr 10, 1:08 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46116
Build 43005: arc lint + arc unit