|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/2] xen/kbdif: update protocol documentation
On 01/11/2017 07:35 PM, Dario Faggioli wrote: On Tue, 2017-01-10 at 09:21 +0200, Oleksandr Andrushchenko wrote:On 01/07/2017 12:20 AM, Stefano Stabellini wrote:On Fri, 6 Jan 2017, Oleksandr Andrushchenko wrote: I am still not convinced that we should put it. Probably we can go the way other RFCs do, like TCP [1], 802.11 [2] etc: those do not define any reserved fields at the bottom of structures, (which are effectively padding?) but are limited to only those fields which are defined. This means that, for example, instead of * 0 1 2 3 octet* +-----------------+-----------------+-----------------+-----------------+ * | _TYPE_MOTION | reserved |* +-----------------+-----------------+-----------------+-----------------+ * | rel_x |* +-----------------+-----------------+-----------------+-----------------+ * | rel_y |* +-----------------+-----------------+-----------------+-----------------+ * | rel_z |* +-----------------+-----------------+-----------------+-----------------+ * | reserved |* +-----------------+-----------------+-----------------+-----------------+ * |/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/| * +-----------------+-----------------+-----------------+-----------------+ * | reserved |* +-----------------+-----------------+-----------------+-----------------+ simply put * 0 1 2 3 octet* +-----------------+-----------------+-----------------+-----------------+ * | _TYPE_MOTION | reserved |* +-----------------+-----------------+-----------------+-----------------+ * | rel_x |* +-----------------+-----------------+-----------------+-----------------+ * | rel_y |* +-----------------+-----------------+-----------------+-----------------+ * | rel_z |* +-----------------+-----------------+-----------------+-----------------+ What do you think? [1] https://www.ietf.org/rfc/rfc793.txt [2] https://tools.ietf.org/html/rfc5416 Regards, Dario Thank you, Oleksandr _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |