Hello,

In OpenFlow protocol 1.0.0 the buffer_id variable is defined always to be uint32_t.

It means that it is a chain of 32 bits that should be interpreted as an integer number, whose value is nothing but the value of such a binary chain.
That's fine so far.

However, in numerous points of the protocol definition, it is said that buffer_id can have the value -1. For instance, in OFPT_PACKET_OUT and OFPT_PACKET_IN messages, it is stated that the value of buffer_id=-1 means that the packet data is carried within the message, and not buffered.

This is an incongruence, as buffer_id has bin defined as an unsigned integer, therefore, it is not possible to represent -1 with the chain of bits, unless the codification of this -1 is explicitely given, which is not in the definition of OpenFlow protocol.

Therefore, how should a -1 look like?
Isn't it a flaw in the definition of this variable ?

Sincerely,

--
Jose Francisco Mingorance-Puga

ETH Zürich - Swiss Federal Institute of Technology Zurich
Computer Engeenering and Networks Laboratory
Communication Systems Group

ETZ G 94 Gloriastrasse 35
8092 Zürich Switzerland
Phone: +41 44 632 70 52
Skype name: jfmingorance
[email protected]

_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to