Compartilhar via


2.2.1.6.2 MID Generation

Multiplex IDs (MIDs) are generated on CIFS clients. The generation of MIDs MUST satisfy the following constraints:

  • The MID MUST be a 16-bit opaque value.

  • The MID MUST be unique with respect to a valid client PID over a single SMB connection.

  • The PID/MID pair MUST remain valid as long as there are outstanding requests on the server identified by that PID/MID pair.

  • The value 0xFFFF MUST NOT be used as a valid MID. All other possible values for MID, including zero (0x0000), are valid. The value 0xFFFF is used in an OpLock Break Notification request, which is an SMB_COM_LOCKING_ANDX Request (section 2.2.4.32.1) sent from the server.