[Spice-devel] testing the spice protocol

Bill Sanford bsanford at redhat.com
Fri Feb 18 08:13:27 PST 2011


Is it possible there is a SPICE line protocol document that explains how the protocol is structured?

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          |
           +-------------+-------------+-------------+-------------+


More information about the Spice-devel mailing list