[Ns-developers] Csma, ethernet length field, NSC and the link mtu...

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Tue Jul 22 20:12:42 PDT 2008


On Tue, 2008-07-22 at 17:47 -0700, craigdo at ee.washington.edu wrote:

> I'm thinking that we should add a GetSdu to net-device.h that works with the
> current MTU and mode and returns a max payload value that can be used by
> clients.  This probably also applies to the point-to-point device since I

I don't really see what you would use this getsdu thing for:
NetDevice::GetMtu should return the max size of data you can give to
NetDevice::Send* methods. What else do you need from the point of view
of the client ?

> remember adding a ppp header but not finding any place to reduce a payload
> (it also has a 0xffff MTU where this all probably descended from).  Wifi
> too?

No, wifi should get this right for now (I think).

Mathieu



More information about the Ns-developers mailing list