in reply to Re^2: Using ioctl()
in thread Using ioctl()

Have a look at mii-tool Google for mii-tool to find the source code which is failrly short. Here is a good page on ioctl for reference.

cheers

tachyon