Page MenuHomeFreeBSD

Switch ip_output/icmp_reflect rt lookup calls with fib4_lookup.
ClosedPublic

Authored by melifaro on May 23 2020, 1:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 31, 12:26 AM
Unknown Object (File)
Sun, Dec 28, 5:49 PM
Unknown Object (File)
Sun, Dec 28, 4:53 AM
Unknown Object (File)
Nov 29 2025, 11:28 AM
Unknown Object (File)
Nov 28 2025, 2:27 PM
Unknown Object (File)
Nov 27 2025, 9:41 PM
Unknown Object (File)
Nov 27 2025, 4:12 PM
Unknown Object (File)
Nov 23 2025, 1:19 PM
Subscribers

Details

Summary

fib4_lookup_nh_ represents pre-epoch generation of fib api,
providing less guarantees over pointer validness and requiring
on-stack data copying.

Conversion is straight-forwarded, as the only 2 differences are
requirement of running in network epoch and the need to handle
RTF_GATEWAY case in the caller code.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable