Bug 210 - Packet::GetTxAvailable has an XXX comment about its return value
: Packet::GetTxAvailable has an XXX comment about its return value
Status: RESOLVED FIXED
: ns-3
node module
: pre-release
: All All
: P3 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-06-04 13:50 EDT by
Modified: 2008-07-01 13:32 EDT (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-06-04 13:50:38 EDT
// 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 From 2008-06-04 13:59:22 EDT -------
changeset 49dcb3f0bd34