HomeFreeBSD

Refactor rt_addrmsg() and rt_routemsg().

Description

Refactor rt_addrmsg() and rt_routemsg().

Summary:

  • Refactor rt_addrmsg(): make V_rt_add_addr_allfibs decision locally.
  • Fix rt_routemsg() and multipath by accepting nexthop instead of interface pointer.
  • Refactor rtsock_routemsg(): avoid accessing rtentry fields directly.
  • Simplify in_addprefix() by moving prefix search to a separate function.

Reviewers: network

Subscribers: imp, ae, bz

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

Details

Provenance
melifaroAuthored on Jan 7 2021, 7:13 PM
Differential Revision
D28011: Refactor rt_addrmsg() and rt_routemsg().
Parents
rG4979620ece98: armv8crypto: add AES-XTS support
Branches
Unknown
Tags
Unknown