View | Details | Raw Unified | Return to bug 962
Collapse All | Expand All

(-)a/src/spectrum/model/aloha-noack-net-device.cc (-5 lines)
 Lines 78-88    Link Here 
78
                   MakeUintegerAccessor (&AlohaNoackNetDevice::SetMtu,
78
                   MakeUintegerAccessor (&AlohaNoackNetDevice::SetMtu,
79
                                         &AlohaNoackNetDevice::GetMtu),
79
                                         &AlohaNoackNetDevice::GetMtu),
80
                   MakeUintegerChecker<uint16_t> (1,65535))
80
                   MakeUintegerChecker<uint16_t> (1,65535))
81
    .AddAttribute ("Phy", "The PHY layer attached to this device.",
82
                   PointerValue (),
83
                   MakePointerAccessor (&AlohaNoackNetDevice::GetPhy,
84
                                        &AlohaNoackNetDevice::SetPhy),
85
                   MakePointerChecker<Object> ())
86
    .AddTraceSource ("MacTx",
81
    .AddTraceSource ("MacTx",
87
                     "Trace source indicating a packet has arrived for transmission by this device",
82
                     "Trace source indicating a packet has arrived for transmission by this device",
88
                     MakeTraceSourceAccessor (&AlohaNoackNetDevice::m_macTxTrace))
83
                     MakeTraceSourceAccessor (&AlohaNoackNetDevice::m_macTxTrace))
(-)a/src/spectrum/model/non-communicating-net-device.cc (-5 lines)
 Lines 44-54    Link Here 
44
  static TypeId tid = TypeId ("ns3::NonCommunicatingNetDevice")
44
  static TypeId tid = TypeId ("ns3::NonCommunicatingNetDevice")
45
    .SetParent<NetDevice> ()
45
    .SetParent<NetDevice> ()
46
    .AddConstructor<NonCommunicatingNetDevice> ()
46
    .AddConstructor<NonCommunicatingNetDevice> ()
47
    .AddAttribute ("Phy", "The PHY layer attached to this device.",
48
                   PointerValue (),
49
                   MakePointerAccessor (&NonCommunicatingNetDevice::GetPhy,
50
                                        &NonCommunicatingNetDevice::SetPhy),
51
                   MakePointerChecker<Object> ())
52
  ;
47
  ;
53
  return tid;
48
  return tid;
54
}
49
}

Return to bug 962