: Option headroom, MPS, and FIXME in dccp_sync_mss
Get series with b4
b4 am 200710121051.42025@strip-the-willowVersions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | : Documentation for CCID operationsnet/ | +28 | 1 reply | |
| 2/5 | : More informative registrationnet/ net/ | +7 | 1 reply | |
| 3/5 | : Introducing CCMPSnet/ net/ | +25 | 1 reply | |
| 4/5 | : Leave headroom for options when calculating the MPSnet/ | +11 | 1 reply | |
| 5/5 | : Reorder statements with regard to option lengthnet/ | +10 | 1 reply |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Ian McDonald |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | A-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5]: Option headroom, MPS, and FIXME in dccp_sync_mss
A small self-contained patch set which centers around determining sufficient option headroom when calculating the maximum packet size.
Patch #1: Adds documentation for the fields in struct ccid_operations.
Patch #2: More informative registration of CCIDs.
Patch #3: Introduces the CCMPS field for CCIDs. This is currently only used
by CCID4. The ccmps value needs to include network/transport header
lengths (since dccp_sync_mss subtracts these). For CCID4 this would
supposedly look like (RFC 3714/4828):
struct ccid_operations ccid4 = {
.ccid_mps = 1500,
/* ... */
};
If the field is omitted or set to 0, no CCMPS is imposed.Patch #4: Is the core of this patch set and estimates the minimally required option
headroom for Data/DataAck packets. It addresses a FIXME in dccp_sync_mss. I have long thought about this and come to the conclusion that a simple solution - optimising for data transfer - is better. The complexities of variable-length options (Ack Vector, Data Dropped, initial feature-negotiation) need to use a different path - e.g. using a separate Ack (cf. next patch). Rationale and background is documented on
http://www.erg.abdn.ac.uk/users/gerrit/dccp/notes/misc_notes/estimating_option_sizes_for_MPS.txt
Patch #5: Reorders statements to estimate the maximum room left for Ack Vectors and adds a Fixme + warning
message for dealing with insufficient remaining space when piggybacking on DataAck.