-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Description
Proposal Details
The ifreq functionality through the Ifreq interface and its IoctlIfreq interface currently do not offer the flexibility it could have.
A simple example would be to issue some ioctl where ifr should be a pointer.
There are of course workarounds for that (e.g. issuing raw ioctls via the syscall API and providing a byte slice) but adding a more robust interface like already supposed would be a good idea.
I currently don't see any reason why not to expose this already existing functionality, but maybe I miss a bigger structural point here.
If you do not have enough resources for implementing this change I'd be happy to help you out on that.
The code suggests that @mdlayher once thought about exporting access to IfreqData, but postponed it due accessibility through IoctlGetEthtoolDrvinfo. This although is read only.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status