DescriptionIn response to a mail from Duy Nguyen on ns-developers list, I added the pause/resume function to ns3::NetDevice to allow optional pausing of an interface. By default, these functions are not supported and always fail (by returning false) so that no code will break after this patch. I also implemented the pause/resume mechanism in PointToPointNetDevice and CsmaNetDevice. Other NetDevice implementations does not sounds sensable to me, for example a bridge should not be pause-able because it does not have buffer.
Patch Set 1 #
|