Page MenuHomeFreeBSD

IfAPI: More accessors
ClosedPublic

Authored by jhibbits on Feb 10 2023, 3:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 8, 12:30 PM
Unknown Object (File)
Sat, Feb 7, 7:15 PM
Unknown Object (File)
Fri, Jan 30, 11:17 PM
Unknown Object (File)
Dec 24 2025, 8:20 PM
Unknown Object (File)
Dec 23 2025, 11:29 AM
Unknown Object (File)
Nov 26 2025, 4:27 PM
Unknown Object (File)
Nov 20 2025, 4:02 AM
Unknown Object (File)
Nov 16 2025, 7:15 AM
Subscribers

Details

Summary

Add the following accessors needed by infiniband drivers:

  • if_getaddrlen()
  • if_setbroadcastaddr()
  • if_resolvemulti()

With these accessors, and additional changes on the drivers' side, an
amd64 kernel can be compiled with struct ifnet completely hidden.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable