Bug 210

Summary: Packet::GetTxAvailable has an XXX comment about its return value
Product: ns-3 Reporter: Mathieu Lacage <mathieu.lacage>
Component: networkAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: pre-release   
Hardware: All   
OS: All   

Description Mathieu Lacage 2008-06-04 13:50:38 UTC
// XXX must limit it to interface MTU

If the socket is connected, we can return a better value. otherwise, we can't do better. What we can improve though, is the call to GetTxAvailable from PacketSocket::SendTo and move it to the inner send loop to check for the device MTU before sending the packet.
Comment 1 Mathieu Lacage 2008-06-04 13:59:22 UTC
changeset 49dcb3f0bd34