From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerrit Renker Date: Fri, 22 Sep 2006 17:49:10 +0000 Subject: Re: [PATCH 5/7] [DCCP]: Introduce two new socket options Message-Id: <200609221849.10494@strip-the-willow> List-Id: References: <200609221430.14555.ian.mcdonald@jandi.co.nz> In-Reply-To: <200609221430.14555.ian.mcdonald@jandi.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: dccp@vger.kernel.org Quoting Eddie Kohler: | > Why burden the application programmer to handcode an estimation of the average each | > time? I can not see a justification for this, certainly not for CCIDs which | > are intended to be used with (on average) fixed packet sizes. | > | > I think that a priority is to keep the user programming interface as simple as | > possible -- like UDP's interface, as stated in RFC 4340. | | But if DCCP_SOCKOPT_TX_PACKET_SIZE defaults to the MSS, which the drafts | explicitly allow, then there's no burden on the application programmer. This is a good input and should be related to patch 6/7 in which the default setting is the standard size packet of 256 bytes; so maybe we should use MSS (or an estimate of it) there.