HOWTOs: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary | No edit summary | ||
| Line 1: | Line 1: | ||
| {{TOC}} | {{TOC}} | ||
| [[HOWTO get ns-3 running on Mac OS X (10.5.2 Intel)]] | == How to do various interesting things with ns-3 == | ||
| * [[HOWTO get ns-3 running on Mac OS X (10.5.2 Intel)]] | |||
| * [[HOWTO use VMware to set up virtual networks]] | |||
| [http://gicl.cs.drexel.edu/people/tjkopena/wiki/pmwiki.php?n=NS3.NS3 Joseph Kopena's ns-3 wiki] | [http://gicl.cs.drexel.edu/people/tjkopena/wiki/pmwiki.php?n=NS3.NS3 Joseph Kopena's ns-3 wiki] | ||
| == Extracting IP src/dst header == | == Extracting IP src/dst header == | ||
Revision as of 21:57, 5 August 2008
Main Page - Roadmap - Summer Projects - Project Ideas - Developer FAQ - Tools - Related Projects
HOWTOs - Installation - Troubleshooting - User FAQ - Samples - Models - Education - Contributed Code - Papers
How to do various interesting things with ns-3
Extracting IP src/dst header
Q. What is the appropriate way to extract the ip src/dst address from a packet?
A.
// copy packet to avoid modifying the original packet Ptr<Packet> copy = p->Copy (); Ipv4Header iph; copy->RemoveHeader (iph); // copy will disappear when you are done with it.
l