NDD_MIB_QUERY Device Control Operation
The NDD_MIB_QUERY operation is used to determine which device-specific MIBs are supported on the network device. The arg and length parameters specify the address and length in bytes of a device-specific MIB structure. The device driver fills every member of that structure with a flag indicating the level of support for that member. The individual MIB variables that are not supported on the network device are set to MIB_NOT_SUPPORTED. The individual MIB variables that can only be read on the network device are set to MIB_READ_ONLY. The individual MIB variables that can be read and set on the network device are set to MIB_READ_WRITE. The individual MIB variables that can only be set (not read) on the network device are set to MIB_WRITE_ONLY. These flags are defined in the /usr/include/sys/ndd.h file.
The arg parameter specifies the address of the Ethernet_all_mib structure. This structure is defined in the /usr/include/sys/Ethernet_mibs.h file.