Page MenuHomeFreeBSD

routing: move rtentry and subscription code out of route_ctl.c
ClosedPublic

Authored by melifaro on Aug 8 2022, 1:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 27, 11:10 PM
Unknown Object (File)
Mon, Apr 27, 6:32 PM
Unknown Object (File)
Mon, Apr 27, 6:10 PM
Unknown Object (File)
Apr 22 2026, 5:16 AM
Unknown Object (File)
Apr 21 2026, 3:48 PM
Unknown Object (File)
Apr 18 2026, 6:24 AM
Unknown Object (File)
Apr 17 2026, 9:20 PM
Unknown Object (File)
Apr 17 2026, 8:53 PM
Subscribers

Details

Summary

route_ctl.c is getting bigger. Factor out non-relevant parts:

  • all rtentry logic, such as creation/destruction and accessors goes to net/route/route_rtentry.c
  • all rtable subscription logic goes to net/route/route_subscription.c

MFC after: 1 month

Diff Detail

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