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)
Dec 23 2023, 11:15 AM
Unknown Object (File)
Dec 12 2023, 11:13 AM
Unknown Object (File)
Sep 6 2023, 12:39 AM
Unknown Object (File)
Aug 6 2023, 9:12 PM
Unknown Object (File)
Aug 1 2023, 6:38 PM
Unknown Object (File)
Aug 1 2023, 6:33 PM
Unknown Object (File)
Aug 1 2023, 6:21 PM
Unknown Object (File)
Jun 8 2023, 9:49 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