The diameter describes the outer dimension of the plug respectively the inner diameter of the socket.
For DC- connectors additional information is available. The inner diameter of the plug as well as the dimeter of the code pin will be listed, separated by slashes. e.g. 5.5 mm / 3.3 mm / 1 mm.