Re: [RFC-2] Configuring Synchronous Interfaces in Linux

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Dec 05 2000 - 16:56:08 EST


> Alan, what's the approach you'd feel more comfortable with:
> - One ioctl that passes a pointer to a known structure in ifr.ifr_data as
> its argument.
> - Several ioctl's, one for each parameter, that pass only the specific
> parameter new value as the argument.
>
> The former is good because it relies on a _single_ ioctl. However, every
> time you change the ioctl structure you may lose backward compatibility.

One ioctl with a set of subcommands seems to be quite common

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:13 EST