Page MenuHomeFreeBSD

sockets: remove unused KPIs to manipulate sockets
ClosedPublic

Authored by glebius on Mar 12 2024, 1:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 18 2024, 9:36 AM
Unknown Object (File)
Sep 23 2024, 6:09 AM
Unknown Object (File)
Sep 22 2024, 7:41 PM
Unknown Object (File)
Sep 18 2024, 11:07 PM
Unknown Object (File)
Sep 18 2024, 10:08 AM
Unknown Object (File)
Sep 17 2024, 7:36 PM
Unknown Object (File)
Sep 17 2024, 1:32 PM
Unknown Object (File)
Sep 16 2024, 9:04 PM

Details

Summary

These KPIs were added in dd0e6c383a9f0 and through 15 years had zero use.
They slightly remind what IfAPI does for struct ifnet. But IfAPI does
that for the sake of large collection of NIC drivers not being aware of
struct ifnet. For the sockets it is unclear what could be a large
collection of externally written kernel modules that need extensively use
sockets and not be aware of their internals at the same time. This
isolation of a structure knowledge requires a lot of work, and just
throwing in a few KPIs isn't helpful.

Diff Detail

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

Event Timeline

looks like it was kip's TOE work from way back when? Maybe there was an out of tree driver / multi-platform driver that used it at some point.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 18 2024, 3:53 PM
This revision was automatically updated to reflect the committed changes.