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
Unknown Object (File)
Thu, May 7, 1:25 PM
Unknown Object (File)
Thu, Apr 30, 2:23 AM
Unknown Object (File)
Wed, Apr 29, 9:21 AM
Unknown Object (File)
Wed, Apr 29, 7:59 AM
Unknown Object (File)
Tue, Apr 28, 5:28 PM
Unknown Object (File)
Tue, Apr 28, 5:25 PM
Unknown Object (File)
Apr 28 2026, 12:54 PM
Unknown Object (File)
Apr 19 2026, 12:15 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 49147
Build 46036: arc lint + arc unit