Update common definitions and prepare ioctls