sockaddr used in the kernel?
sockaddr used in the kernel?
Posted Nov 10, 2024 21:18 UTC (Sun) by smurf (subscriber, #17840)In reply to: sockaddr used in the kernel? by johill
Parent article: The trouble with struct sockaddr's fake flexible array
Oh well.
Posted Nov 10, 2024 21:32 UTC (Sun)
by johill (subscriber, #25196)
[Link] (3 responses)
Posted Nov 11, 2024 9:21 UTC (Mon)
by Sesse (subscriber, #53779)
[Link] (2 responses)
Posted Nov 11, 2024 10:36 UTC (Mon)
by mb (subscriber, #50428)
[Link] (1 responses)
Posted Nov 11, 2024 12:34 UTC (Mon)
by johill (subscriber, #25196)
[Link]
As for the question about why it "must" be coupled with changes in the CLI, well ... it doesn't really need to be, but when writing a completely new tool that for the most part has completely new semantics, keeping the CLI intact really isn't the first priority.
If you want to submit patches to make 'iw' have a mode where it behaves like iwconfig/iwlist for a subset of functionality, I guess I'd even apply them if they're reasonably well implemented.
But you can keep using it for eternity, for all I care, just don't expect new hardware support etc., and then you can just keep using an old kernel version too.
sockaddr used in the kernel?
sockaddr used in the kernel?
sockaddr used in the kernel?
So it's exactly the opposite of what you say: The fundamental API has changed, but the obsolete CLI and its obsolete API have not.
So, if almost two decades is not enough for you to adapt to the "new" iw CLI, then you can keep using iwconfig/iwlist.
sockaddr used in the kernel?