You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to natale.pa...@gmail.com, ns-3-r...@googlegroups.com, re...@codereview-hr.appspotmail.com
Looks like a good start on this implementation.
With additional TCP congestion control variants coming, we ought to
refactor congestion control behavior from the rest of the TCP socket
behavior, possibly similar to how RttEstimator is factored out.
https://codereview.appspot.com/87740043/diff/40001/src/internet/model/tcp-cubic.cc#newcode48 src/internet/model/tcp-cubic.cc:48: __val > __max ? __max : __val; })
This is copied or adapted from Linux kernel, in which case the license
from that file should also appear. But I do not generally support this
type of logic done in macros until/unless profiles show it is a
bottleneck, and then there are perhaps other ways to do it. The other
reason to possibly copy this kind of macro into ns-3 is if it is central
to the code in some way (like a pervasive BSD list) but this is not the
case here.