HomeFreeBSD

Rename rt_flags to rte_flags && reduce number of rt_nhop accesses.

Description

Rename rt_flags to rte_flags && reduce number of rt_nhop accesses.

No functional changes.

Most of the routing flags are stored in the netxtop instead of rtentry.
Rename rt->rt_flags to rt->rte_flags to simplify reading/modifying code
checking routing flags.

In the new multipath code, rt->rt_nhop may actually point to nexthop group
instead of nhop. To ease transition, reduce the amount of rt->rt_nhop->...
accesses.

Differential Revision: https://reviews.freebsd.org/D26156

Details

Provenance
melifaroAuthored on Aug 22 2020, 7:30 PM
Parents
rG46809e695fd3: Whitespace change to line up dev_sotfc definition.
Branches
Unknown
Tags
Unknown

Event Timeline