These need some additional work, since (if I recall correctly the last time I
tested this patch) they can crash when run against an implementation TCP that
generates additional options like SackPermitted). Peter also raises some good
suggestions.
I've suggested to Anh to try to address Peter's comments, and then I'd like to
proceed with these steps:
1) get Adrian's base TCP option code in with support for option kinds 0, 1, 2,
and > 2. The code should not crash when run against a TCP that generates
options (i.e. a real TCP that generates Sack permitted, or possibly others that
come in the SYN). A TCP test that tests the deserialization logic for specially
constructed test TCP options would be useful. For instance, create two test
options that, when included, require also the use of No-op option and padding.
Once we are OK with this design, then add Window Scale and Timestamp as separate
patches on top of this.
oops, I posted the most recent comments against the wrong issue.
I meant to post against
https://codereview.appspot.com/24900043
it may be the case that once 24900043 is done, we can pull any additional
options from here (e.g. SackPermitted).
Issue 5452045: TCP options feature for ns-3
Created 13 years, 5 months ago by Adrian
Modified 11 years ago
Reviewers: Peter Barnes, Tom Henderson
Base URL:
Comments: 5