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)
Sat, Mar 28, 1:40 AM
Unknown Object (File)
Fri, Mar 27, 5:53 PM
Unknown Object (File)
Sun, Mar 22, 8:39 AM
Unknown Object (File)
Sun, Mar 8, 11:06 PM
Unknown Object (File)
Feb 22 2026, 2:14 AM
Unknown Object (File)
Feb 12 2026, 2:42 PM
Unknown Object (File)
Feb 7 2026, 8:15 PM
Unknown Object (File)
Feb 7 2026, 8:04 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