- From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
- To: discussion AT sctp.de
- Cc: Hideki Kishida <kishida AT secnet.co.jp>
- Subject: Re: [SCTP-Discussion] fragment and reassemble
- Date: Fri Mar 15 10:07:01 2002
- List-id: SCTP Discussions <discussion.sctp.de>
Hideki,
you are wrong. SCTP_MAXIMUM_DATA_LENGTH is a constant in
sctp.h which should not be changed by the user. It is the
maximum data chunk length which fits in an ethernet frame with
a common header and a small SACK chunk.
You should never anything in scyp.h
Segmentation and reassembly work out of the box. See programs/echo-tool.c
for an example. Just use large buffers in the sctp_send and provide
large buffers in the sctp_receive calls.
Best regards
Michael
On Friday, March 15, 2002, at 09:10 AM, Hideki Kishida wrote:
Dear all,
Question to user-data fragmentation and reassmenble:
#define SCTP_MAXIMUM_DATA_LENGTH 1400
change to
#define SCTP_MAXIMUM_DATA_LENGTH 8000
In this case, as for sctplib can it send and receive the user-data
of 8000 octets correctly?
regards,
Hideki (Japan)
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion
Michael.Tuexen AT micmac.franken.de
Archive powered by MHonArc 2.6.19+.