merge with HEAD
This commit is contained in:
@@ -577,7 +577,7 @@ DcfManager::NotifyTxStartNow (Time duration)
|
||||
//this may be caused only if PHY has started to receive a packet
|
||||
//inside SIFS, so, we check that lastRxStart was maximum a SIFS
|
||||
//ago
|
||||
NS_ASSERT(Simulator::Now () - m_lastRxStart < m_sifs);
|
||||
NS_ASSERT(Simulator::Now () - m_lastRxStart <= m_sifs);
|
||||
m_lastRxEnd = Simulator::Now ();
|
||||
m_lastRxDuration = m_lastRxEnd - m_lastRxStart;
|
||||
m_lastRxReceivedOk = true;
|
||||
|
||||
@@ -43,7 +43,7 @@ Ipv4Interface::GetTypeId (void)
|
||||
"The arp cache for this ipv4 interface",
|
||||
PointerValue (0),
|
||||
MakePointerAccessor (&Ipv4Interface::m_cache),
|
||||
MakePointerChecker<Ipv4Interface> ())
|
||||
MakePointerChecker<ArpCache> ())
|
||||
;
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -58,13 +58,13 @@ UdpSocket::GetTypeId (void)
|
||||
.AddAttribute ("IpMulticastIf",
|
||||
"interface index for outgoing multicast on this socket; -1 indicates to use default interface",
|
||||
IntegerValue (-1),
|
||||
MakeUintegerAccessor (&UdpSocket::GetIpMulticastTtl,
|
||||
&UdpSocket::SetIpMulticastTtl),
|
||||
MakeIntegerAccessor (&UdpSocket::GetIpMulticastIf,
|
||||
&UdpSocket::SetIpMulticastIf),
|
||||
MakeIntegerChecker<int32_t> ())
|
||||
.AddAttribute ("IpMulticastLoop",
|
||||
"whether outgoing multicast sent also to loopback interface",
|
||||
BooleanValue (false),
|
||||
MakeUintegerAccessor (&UdpSocket::GetIpMulticastLoop,
|
||||
MakeBooleanAccessor (&UdpSocket::GetIpMulticastLoop,
|
||||
&UdpSocket::SetIpMulticastLoop),
|
||||
MakeBooleanChecker ())
|
||||
.AddAttribute ("MtuDiscover", "If enabled, every outgoing ip packet will have the DF flag set.",
|
||||
|
||||
Reference in New Issue
Block a user