Arash, wireless and more
Tweet 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) […]
In addition to a daily blog I will try to add our works in wireless network and data communication projects for our courses here