Usual way socket stuff covers for that is to stick
unsigned int __unused[8];
or similar on the end...
That is the normal socket approach. Eg in traditional BSD interfaces for
IP routing you created an AF_INET socket and frobbed with it.
Probably a lot saner
Not really. Lots of socket types have operations that are essentially
fd = socket(...)
ioctl(fd, ....);
close(fd);
or similar. Traditionally ioctl is used for system changing stuff but
that is just tradition.
--