On Fri, Feb 18, 2011 at 11:13:27AM -0500, Bill Sanford wrote:
> Is it possible there is a SPICE line protocol document that explains how the 
> protocol is structured?
> 

1. There is a document about spice 0.4 (0.6 is released and we are approaching 
0.8):

http://spice-space.org/docs/spice_protocol.pdf

2. in the repository the spice.proto file is a pretty succint description, and 
the enums.h and protocol.h from spice-protocol:

http://cgit.freedesktop.org/spice/spice/tree/spice.proto
 this includes all the messages

http://cgit.freedesktop.org/spice/spice-protocol/tree/spice/protocol.h
 this includes the initial handshake (link message) and the wrapper around the 
messages in spice.proto (SpiceDataHeader)

http://cgit.freedesktop.org/spice/spice-protocol/tree/spice/enums.h
 enumerations

> APPENDIX A. Object Definitions - is an example of the description I am 
> looking for to test the SPICE protocol.
> 
> This example is from RFC 2205 (RSVP). There are 14 sections in Appendix A 
> describing how the objects in the protocol are structured. If there isn't one 
> for SPICE, maybe I can get the basic information and make a SPICE line 
> protocol document that we can use.
> 
> Bill
> 
> 
> APPENDIX A. Object Definitions
> 
>    C-Types are defined for the two Internet address families IPv4 and
>    IPv6.  To accommodate other address families, additional C-Types
>    could easily be defined.  These definitions are contained as an
>    Appendix, to ease updating.
> 
>    All unused fields should be sent as zero and ignored on receipt.
> 
>    A.1 SESSION Class
> 
>       SESSION Class = 1.
> 
>       o    IPv4/UDP SESSION object: Class = 1, C-Type = 1
> 
>            +-------------+-------------+-------------+-------------+
>            |             IPv4 DestAddress (4 bytes)                |
>            +-------------+-------------+-------------+-------------+
>            | Protocol Id |    Flags    |          DstPort          |
>            +-------------+-------------+-------------+-------------+
> 
> 
>       o    IPv6/UDP SESSION object: Class = 1, C-Type = 2
> 
>            +-------------+-------------+-------------+-------------+
>            |                                                       |
>            +                                                       +
>            |                                                       |
>            +               IPv6 DestAddress (16 bytes)             +
>            |                                                       |
>            +                                                       +
>            |                                                       |
>            +-------------+-------------+-------------+-------------+
>            | Protocol Id |     Flags   |          DstPort          |
>            +-------------+-------------+-------------+-------------+
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to