]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
public/io/netif.h: document transmit and receive wire formats separately
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 7 Jan 2016 14:28:33 +0000 (15:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 7 Jan 2016 14:28:33 +0000 (15:28 +0100)
commit03809ae77daf17a7e3104019758aa4c4b23b631c
tree06913f8ad734d861225440cba2c7e601652619c2
parent9c419ee77f3e6c3a90a4a08c8682b4216bed8cb0
public/io/netif.h: document transmit and receive wire formats separately

Currently there is no documented wire format for guest receive-side
packets but the location of the 'wire format' comment block suggests
it is the same as transmit-side. This is almost true but there is a
subtle difference in the use of the 'size' field for the first fragment.

For clarity this patch creates separate comment blocks for receive
and transmit side packet wire formats, tries to be more clear about the
distinction between 'fragments' and 'extras', and documents the subtlety
concerning the size field of the first fragment.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
xen/include/public/io/netif.h