Page MenuHomeFreeBSD

Add rib_lookup() sockaddr lookup wrapper and make ifa_ifwithroute use it.
ClosedPublic

Authored by melifaro on May 6 2020, 8:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 6:55 AM
Unknown Object (File)
Oct 15 2023, 5:43 AM
Unknown Object (File)
Sep 15 2023, 6:47 PM
Unknown Object (File)
Sep 1 2023, 12:10 AM
Unknown Object (File)
Sep 1 2023, 12:10 AM
Unknown Object (File)
Sep 1 2023, 12:00 AM
Unknown Object (File)
Aug 28 2023, 2:25 AM
Unknown Object (File)
Jul 6 2023, 10:10 AM
Subscribers

Details

Summary

Create rib_lookup() wrapper around per-af dataplane lookup functions.
This will help in the cases of having control plane af-agnostic code.

Switch ifa_ifwithroute() to use this function instead of rtalloc1().

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30944
Build 28655: arc lint + arc unit

Event Timeline

sys/net/route/route_helpers.c
113

We usually don't use tab after #ifdef, only after #define.

116

It seems & is not needed here.

124

The same.

This revision was not accepted when it landed; it landed in state Needs Review.May 7 2020, 8:12 AM
This revision was automatically updated to reflect the committed changes.