Subject: [NSIS] "Encapsulated Initiator QSPEC"

From: Hannes Tschofenig <[email-masked]>
Date: Tue, 07 Aug 2007 13:03:44 +0200

Hi all,

Figure 3 at draft-ietf-nsis-qspec-17.txt gave me the impression that the 
"Encapsulated Initiator QSPEC" is dumped in some other container.

Here is the figure:

   +--------------------------------+\
   |          QSPEC Type            | \
   +--------------------------------+ / Common QQSPEC Header
   |   Init./Local QSPEC bit=Local  |/
   +================================+\
   |  Local-QSPEC Parameter 1       | \
   +--------------------------------+  \
   |             ....               |   Local-QSPEC Parameters
   +--------------------------------+  /
   |  Local-QSPEC Parameter n       | /
   +--------------------------------+/
   | +----------------------------+ |
   | |        QSPEC Type          | |
   | +----------------------------+ |
   | | Init./Local QSPEC bit=Init.| |
   | +============================+ |
   | |                            | | Encapsulated Initiator QSPEC
   | |          ....              | |
   | +----------------------------+ |
   +--------------------------------+

Here is an example how I believe it should look like:

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+======
|  Vers.|Q.Type |  QSPEC Proc.  |I|R|R|R|      Length           |  ^
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  |
|E|r|r|r|       Object Type     |r|r|r|r|         Length        |  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  |
|1|E|0|r|           1           |r|r|r|r|          4            | Local
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ QSPEC
|  TMOD Rate-1 [r] (32-bit IEEE floating point number)          |  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  |
|  TMOD Size-1 [b] (32-bit IEEE floating point number)          |  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  |
|  Peak Data Rate-1 [p] (32-bit IEEE floating point number)     |  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  |
|  Minimum Policed Unit-1 [m] (32-bit unsigned integer)         |  v
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+======
|  Vers.|Q.Type |  QSPEC Proc.  |I|R|R|R|      Length           |  ^
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  |
|E|r|r|r|       Object Type     |r|r|r|r|         Length        |  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Init.
|M|E|0|r|           14          |r|r|r|r|          1            | QSPEC
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  |
|Y.1541 QoS Cls.|                (Reserved)                     |  v
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+======

Is this correct?

Ciao
Hannes

_______________________________________________
nsis mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/nsis

---

From: Roland Bless <[email-masked]>
Date: Tue, 07 Aug 2007 14:40:12 +0200

> "Encapsulated Initiator QSPEC" is dumped in some other container.

Yep. At least to my understanding. But different layouts are possible,
too. The only thing is that you must know how long your local
QSPEC data is and where the Initiator QSPEC starts. The offset may
be fixed for some local QSPECs. Whether you use another container for
encapsulating the Initiator QSPEC or not like above depends on your
local QSPEC design.

Regards,
 Roland

---

From: "Kappler, Cornelia" <[email-masked]>
Date: Thu, 9 Aug 2007 14:15:10 +0200

...looks ok to me this way. Cornelia 

> -----Ursprüngliche Nachricht-----
> Von: ext Hannes Tschofenig [mailto:[email-masked]] 
> Gesendet: Dienstag, 7. August 2007 13:04
> An: [email-masked]; Kappler, Cornelia
> Betreff: "Encapsulated Initiator QSPEC"
> 
> Hi all,
>

---

From: "Hannes Tschofenig" <[email-masked]>
Date: Fri, 10 Aug 2007 20:30:32 +0200

Does the first length field cover the length of the local QSPEC only or the entire length of the two objects, namely the local and the initiator QSPEC?

Ciao
Hannes