Bugzilla – Bug 404
ErrorModel attribute name is not consistent across devices
Last modified: 2008-11-17 22:45:50 EDT
You need to log in before you can comment on or make changes to this bug.
IMO, the name of this attribute should be aligned across devices, even though it is an API change. In PointToPoint: .AddAttribute ("ReceiveErrorModel", "The receiver error model used to simulate packet loss", PointerValue (), MakePointerAccessor (&PointToPointNetDevice::m_receiveErrorModel), MakePointerChecker<ErrorModel> ()) In CSMA: .AddAttribute ("RxErrorModel", "The receiver error model used to simulate packet loss", PointerValue (), MakePointerAccessor (&CsmaNetDevice::m_receiveErrorModel), MakePointerChecker<ErrorModel> ()) (Note: there presently is no ReceiveErrorModel in Bridge, SimpleNetDevice, or Wifi. I would also propose to add this attribute to SimpleNetDevice, at the very least, once the naming alignment is settled. Is there a reason why not to include in all current NetDevices?)