From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,98b1999dd4693e34 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-08-18 07:28:49 PST Newsgroups: comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mcsun!sun4nl!estwmz.wm.estec.esa.nl!bccsun1!dave From: dave@bccsun1. (Dave Stafford x4437) Subject: Re: More DECnet NSP Stuff Message-ID: Sender: news@wm.estec.esa.nl Reply-To: dave@bccsun1. Organization: Sun Microsystems References: <1993Aug18.113724.11251@decuk.uvo.dec.com> Date: Wed, 18 Aug 1993 14:07:23 GMT In article 11251@decuk.uvo.dec.com, websterc@decuk.uvo.dec.com (Colin Webster) writes: > >|> >|>I was wondering how flow control is setup with DEC SCP. When 2 machines >|>setup a link, I see a flow control value (called MESSAGE CREDIT by the >|>NGC Sniffer) of one machine set at 11, and on the receiver of 0. Does >|>this figure indicate the number of unacknowledged data segments that >|>can be received by a host? >|> > >I think SCP is refering to lavc protocol, 60-07 ? If so, then this >has nothing to do with DECnet and NSP >(Also, the sniffer cannot properly decode SCP on, I think, VMS 5.5-x, >a lot of messages will be marked as unknown) > > OK, sorry guys, this is my fault as I was using SCP to mean session control protocol, rather than anything DEC specific. It is definitely DECnet ie. 60-03. >|>I've also noticed that the receiving host acknowledges every packet >|>sent. Is this normal, can't DECnet say have a window of 10, and ack >|>the last packet received? How is the flow control decided? >|> > >As I said, I don't think you are looking at DECnet here. >My understanding is that lavc uses a credit type flow control but I don't >know any of the details, sorry. > >|>Dave >|> > > Colin > I'm definitely talking DECnet here, I've shown the decode below. When the data link is setup there is this credit (CRED = 11) setup in line 4 from BCSUN2, and the target machine (ESTCS1) responds with CRED=0. During the data transfer, every packet is ack'd. This seems a bit unneccessary. Also when does the receiver send a negative acknowledgement? Dave From BCSUN2 From ESTCS1 1 0.0000 NSP CTRL Retrans Conn Int D=0000 S=0066 2 0.0014 NSP ACK Connect D=0066 3 0.1542 NSP CTRL Connect Confirm D=0066 S=43F4 4 0.0008 NSP DATA Link D=43F4 S=0066 DACK=0 LACK=0 LSEG=1 CRED=11 5 0.0002 NSP ACK Data D=43F4 S=0066 DACK=0 LACK=0 6 0.0003 NSP DATA Link D=0066 S=43F4 LACK=1 LSEG=1 CRED=0 7 0.0007 NSP DATA Link D=43F4 S=0066 DACK=0 LACK=0 LSEG=1 CRED=11 8 0.0002 NSP DATA Link D=43F4 S=0066 DACK=0 LACK=0 LSEG=2 CRED=11 9 0.0001 NSP ACK Oth-Data D=43F4 S=0066 DACK=0 LACK=1 10 0.0002 NSP ACK Oth-Data D=0066 S=43F4 LACK=1 11 0.0001 NSP ACK Oth-Data D=0066 S=43F4 LACK=2 12 0.0033 NSP DATA Begin-End D=43F4 S=0066 DACK=0 LACK=1 DSEG=1 LEN=21 13 0.0003 NSP ACK Data D=0066 S=43F4 DACK=1 14 0.0003 NSP DATA Begin-End D=0066 S=43F4 DACK=1 15 0.0006 NSP ACK Data D=43F4 S=0066 DACK=1 LACK=1 16 0.0066 NSP DATA Begin-End D=43F4 S=0066 DACK=1 LACK=1 DSEG=2 LEN=69 17 0.0003 NSP ACK Data D=0066 S=43F4 DACK=2 18 0.1059 NSP DATA Begin-End D=0066 S=43F4 DACK=2 19 0.0007 NSP ACK Data D=43F4 S=0066 DACK=2 LACK=1 20 0.0007 NSP DATA Begin-End D=43F4 S=0066 DACK=2 LACK=1 DSEG=3 LEN=6