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)
Wed, Aug 26, 10:55 AM
Unknown Object (File)
Tue, Aug 25, 10:26 AM
Unknown Object (File)
Tue, Aug 25, 3:50 AM
Unknown Object (File)
Tue, Aug 25, 12:40 AM
Unknown Object (File)
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
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