[Ns-developers] ns-3.4 action plan
craigdo@ee.washington.edu
craigdo at ee.washington.edu
Tue Feb 3 09:52:30 PST 2009
> What would be the new API equivalent to netdevice->GetName
> ()? Can someone
> enlighten me? I think _that_ should be the deciding factor.
There are two API depending on what exactly you want:
Names::FindShortName (netDevice)
would return something like "eth0" if you only need to know the name of the
device itself.
Names::FindFullName (netDevice)
would return something like "/Names/access-point/ath0" if you need it for,
say, a config path.
-- Craig
More information about the Ns-developers
mailing list