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
F167737527: D38102.id.diff
Mon, Aug 24, 4:12 AM
Unknown Object (File)
Sun, Aug 23, 12:45 AM
Unknown Object (File)
Fri, Aug 21, 2:38 PM
Unknown Object (File)
Thu, Aug 20, 10:53 PM
Unknown Object (File)
Thu, Aug 20, 8:21 PM
Unknown Object (File)
Wed, Aug 19, 5:03 PM
Unknown Object (File)
Wed, Aug 19, 1:52 PM
Unknown Object (File)
Wed, Aug 19, 1:50 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