Archive for the ‘NS-3’ Category

All the packages you need to install prior to using the NS-3 (3.6 and greater) can be found here: http://www.nsnam.org/wiki/index.php/Installation The last packages to install are necessary to run PyViz the animator.

You can scan through headers like this: PacketMetadata::ItemIterator metadataIterator = copy->BeginItem(); PacketMetadata::Item item; while (metadataIterator.HasNext()) { item = metadataIterator.Next(); NS_LOG_FUNCTION(“item name: ” << item.tid.GetName()); if(item.tid.GetName() == “ns3::Ipv4Header”) { NS_LOG_DEBUG(“Header Found”); m_isIpv4HeaderFound = true; break; } } In above code I tried to find  Ipv4Header And it is possible to access it like: if (m_isIpv4HeaderFound) { [...]

This is a short explanation on how I added NS-3 (version 3.6) to Eclipse (Galileo). I use first part from NS-3 Wiki Adding Mercurial to Eclipse First download eclipse IDE for C++ developers from http://www.eclipse.org * Install eclipse into you operating system * Install mercurial eclipse plugin: – Go to help->software update – Click on [...]


About this blog

In addition to a daily blog I will try to add our works in wireless network and data communication projects for our courses here

Photostream

    Autumn yellow leavesAutumn yellow leavesAutumn yellow leavesAutumn yellow leavesAutumn yellow leaves and stairsAutumn yellow leaves

Follow me on twitter

  • No Tweets Available