From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c84b6107dfce4179 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-11-21 09:00:39 PST Path: gmdzi!ieee.org!dorm.rutgers.edu!rutgers!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ucla-cs!ucivax!orion.oac.uci.edu!unogate!mvb.saic.com!ncr-sd!crash!cmkrnl!jeh From: jeh@cmkrnl.com Newsgroups: comp.sys.dec Subject: Re: decnet Message-ID: <1991Nov20.173313.78@cmkrnl.com> Date: 21 Nov 91 01:33:12 GMT References: <1991Nov19.223423.7902@gordian.com> Organization: Kernel Mode Consulting, San Diego CA 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