[Ns-bugs] [Bug 274] point to point device cannot ignore from and to addresses
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Mon Aug 25 19:49:41 PDT 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=274
------- Comment #8 from mathieu.lacage at sophia.inria.fr 2008-08-25 22:49 -------
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > Another important item which occured to me while working on that for wifi is
> > > that we probably also need:
> > >
> > > class NetDevice {
> > > virtual bool SupportsBridging (void) const = 0;
> > > };
> > >
> > >
> > > i.e., adhoc and STA wifi devices cannot support bridging while AP wifi devices
> > > can support it.
> >
> > You could just add a NS_FATAL_ERROR("SendFrom can only be used in AP devices,
> > not STAs.") to SendFrom in the Sta netdevice.
>
> That would make it harder to go back to which part of the simulation script
> topology setup is wrong.
I missed in my previous comment what you implied, that is, that there is no
such thing as Bridging support but that it just happens that the STA and ADHOC
modes cannot implement correctly the SendFrom method. How about this instead ?
class NetDevice {
virtual bool SupportsSendFrom (void) const = 0;
};
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list