From: jeh@cmkrnl.com
Subject: Re: decnet
Date: 21 Nov 91 01:33:12 GMT [thread overview]
Message-ID: <1991Nov20.173313.78@cmkrnl.com> (raw)
In-Reply-To: 1991Nov19.223423.7902@gordian.com
In article <1991Nov19.223423.7902@gordian.com>, dan@gordian.com (Dan Lambright)
writes:
> Is there a newsgroup out there where technical questions on
> decnet phase IV should be posed? I could not find a
> comp.protocol.decnet anywhere.
This is as good a place as any.
> I am trying to initialize a decnet endnode over a ddcmp line.
> The initialzation message that I am getting from our router
> is 12 bytes long, but the ddcmp length/flags field gives
> 0xcc0! That is, my ddcmp message is:
> 0x81 0x0c 0xc0 ....etc.
>
> How does 0xcc0 become 12?
Simple... you're looking at the bytes in the wrong order.
The first byte after the control byte contains (for data packets) the least
significant eight bits of the length. The next byte contains (in its low-order
six bits) the rest of the length and (in its two high-order bits) the quick
sync and select flags.
So, you are looking at
> 0x0c 0xc0
which gets put together into a word as
0xc00c
which is, of course, a length of 12 with both the quick-sync and select
bits on.
I believe that the same rule (lsbits are sent first) applies to the CRC16
fields.
--- Jamie Hanrahan, Kernel Mode Consulting, San Diego CA
Chair, VMS Internals Working Group, U.S. DECUS VAX Systems SIG
Internet: jeh@cmkrnl.com, hanrahan@eisner.decus.org, or jeh@crash.cts.com
Uucp: ...{crash,eisner,uunet}!cmkrnl!jeh
next prev parent reply other threads:[~1991-11-21 1:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-11-19 22:34 decnet Dan Lambright
1991-11-21 1:33 ` jeh [this message]
-- strict thread matches above, loose matches on Subject: below --
1993-06-14 17:47 DecNet Bernd Reh (DA Drechsel)
1994-10-04 19:05 decnet George Dimopoulos
1995-03-22 15:58 DECNET Gautam Roy
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox