Bug 590

Summary: duplicate GetMtu() API in Ipv4Interface
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: internetAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mathieu.lacage
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Tom Henderson 2009-06-14 23:51:26 UTC
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;
Comment 1 Mathieu Lacage 2009-06-15 02:39:14 UTC
+1
Comment 2 Tom Henderson 2009-06-22 01:39:00 UTC
changeset e5dcdf2868df