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 15 2024, 3:16 AM
Unknown Object (File)
Dec 14 2024, 4:51 PM
Unknown Object (File)
Dec 14 2024, 1:19 PM
Unknown Object (File)
Dec 13 2024, 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
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