HomeFreeBSD

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

Description

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

route_ctl.c size has grown considerably since initial introduction.
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

Differential Revision: https://reviews.freebsd.org/D36074
MFC after: 1 month

Details