[Ns-bugs] [Bug 590] New: duplicate GetMtu() API in Ipv4Interface
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Sun Jun 14 20:51:26 PDT 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=590
Summary: duplicate GetMtu() API in Ipv4Interface
Product: ns-3
Version: ns-3-dev
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: internet-stack
AssignedTo: ns-bugs at isi.edu
ReportedBy: tomh at tomh.org
Estimated Hours: 0.0
At the very least, this doxygen is wrong since the implementation just passes
through to device->GetMtu(). But the XXX suggests to deprecate or delete it,
since it is available on the device API.
class Ipv4Interface
/**
* This function a pass-through to NetDevice GetMtu, modulo
* the LLC/SNAP header i.e., ipv4MTU = NetDeviceMtu - LLCSNAPSIZE
* \returns the Maximum Transmission Unit associated to this interface.
*
* XXX deprecated? This is duplicate API to GetDevice ()->GetMtu ()
*/
uint16_t GetMtu (void) const;
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list