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.
Hopefully this is my last mail on this subject; I do not think it is that important. The option seems potentially useful and not a huge burden. Calculating the average would be good too. But we do not have a patch for that at the moment.
Eddie - To unsubscribe from this list: send the line "unsubscribe dccp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html