Page MenuHomeFreeBSD

ifnet API: Change if_init() to take context argument
ClosedPublic

Authored by jhibbits on Jan 17 2023, 4:17 PM.
Tags
None
Referenced Files
F105220033: D38102.diff
Fri, Dec 13, 5:09 PM
Unknown Object (File)
Nov 10 2024, 9:02 PM
Unknown Object (File)
Oct 31 2024, 5:58 AM
Unknown Object (File)
Oct 31 2024, 5:46 AM
Unknown Object (File)
Oct 12 2024, 3:19 AM
Unknown Object (File)
Oct 1 2024, 9:43 PM
Unknown Object (File)
Sep 15 2024, 10:10 PM
Unknown Object (File)
Sep 5 2024, 1:34 PM
Subscribers

Details

Summary

Some drivers, like iflib drivers, take a 'context' argument instead of a
ifnet argument, as a single interface may have multiple contexts.
Follow this scheme by passing the context argument down. Most drivers
will likely pass 'ifp' as the context.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable