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)
Sun, Oct 12, 1:53 AM
Unknown Object (File)
Sun, Oct 12, 1:52 AM
Unknown Object (File)
Sun, Oct 12, 1:52 AM
Unknown Object (File)
Sat, Oct 11, 4:18 PM
Unknown Object (File)
Mon, Oct 6, 3:13 PM
Unknown Object (File)
Mon, Sep 15, 11:03 AM
Unknown Object (File)
Sep 8 2025, 11:36 PM
Unknown Object (File)
Sep 7 2025, 9:06 AM
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