Page MenuHomeFreeBSD

IfAPI: More accessors
ClosedPublic

Authored by jhibbits on Feb 10 2023, 3:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 10:05 AM
Unknown Object (File)
Sat, Oct 11, 10:05 AM
Unknown Object (File)
Sat, Oct 11, 10:05 AM
Unknown Object (File)
Sat, Oct 11, 2:18 AM
Unknown Object (File)
Tue, Sep 30, 4:30 PM
Unknown Object (File)
Sep 17 2025, 9:56 AM
Unknown Object (File)
Sep 5 2025, 5:34 AM
Unknown Object (File)
Aug 31 2025, 10:36 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