move ioctl out of constants to own table, which is lazy loaded if needed