Since these are network device related ioctl's it might be clearer (and easier) to use network device (struct ifreq) style ioctl's.
-- Stephen Hemminger <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html