RE: 64k streams not supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Tuexen
> Sent: 21 August 2020 21:10
> > On 21. Aug 2020, at 17:59, David Laight <David.Laight@xxxxxxxxxx> wrote:
> >
> > Isn't SCTP supposed to support 65536 data streams?
>
> Since the number of streams is exchanged in the INIT and INIT-ACK chunks
> and encoded in a uint16_t, the number is 65535, not 65536.
> So an implementation should be able to use up to 65535 incoming and
> outgoing streams.

Ah, I'd assumed that because the stream number was encoded
in 16 bits you could use stream numbers 0 through 65535.

At least no one needs to write the patch :-)

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)




[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux