<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Latest Spice dissector in Wireshark trunk[1] has been enhanced to
support these two new main channel messages.<br>
(It was a bit surprising to find out the UUID is sent as big endian,
while most of the protocol is little endian)<br>
Y.<br>
<br>
[1]
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-spice.c?view=log">http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-spice.c?view=log</a><br>
<br>
<br>
<br>
On 03/02/2012 02:46 PM, Marc-André Lureau wrote:
<blockquote
cite="mid:1330692418-21374-1-git-send-email-marcandre.lureau@gmail.com"
type="cite">
<pre wrap="">This allows the client to identify a Spice server. This can be useful
to associate data/configuration with this particular server.
The corresponding main channel messages are:
message {
        uint8 uuid[16];
} uuid;
message {
        uint32 name_len;
        uint8 name[name_len]; /* should be \0 terminated */
} name;
Those messages are sent by the server only if the corresponding
capabilities SPICE_MAIN_CAP_NAME, and SPICE_MAIN_CAP_UUID are
available on the client.
---
spice/enums.h | 2 ++
spice/protocol.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/spice/enums.h b/spice/enums.h
index 7325180..d2dbfd0 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -367,6 +367,8 @@ enum {
SPICE_MSG_MAIN_AGENT_TOKEN,
SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST,
SPICE_MSG_MAIN_MIGRATE_END,
+ SPICE_MSG_MAIN_NAME,
+ SPICE_MSG_MAIN_UUID,
SPICE_MSG_END_MAIN
};
diff --git a/spice/protocol.h b/spice/protocol.h
index 5c7f286..ad38726 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -119,6 +119,8 @@ enum {
enum {
SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE,
+ SPICE_MAIN_CAP_NAME,
+ SPICE_MAIN_CAP_UUID,
};
#include <spice/end-packed.h>
</pre>
</blockquote>
<br>
</body>
</html>