equal
deleted
inserted
replaced
56 RandomVariable::UseGlobalSeed (1, 1, 2, 3, 5, 8); |
56 RandomVariable::UseGlobalSeed (1, 1, 2, 3, 5, 8); |
57 |
57 |
58 // |
58 // |
59 // Set up default values for the simulation. |
59 // Set up default values for the simulation. |
60 // |
60 // |
61 // Select Ethernet II-style encapsulation (no LLC/Snap header) |
61 // Select DIX/Ethernet II-style encapsulation (no LLC/Snap header) |
62 Config::SetDefault ("ns3::CsmaNetDevice::EncapsulationMode", StringValue ("IpArp")); |
62 Config::SetDefault ("ns3::CsmaNetDevice::EncapsulationMode", StringValue ("Dix")); |
63 |
63 |
64 // Allow the user to override any of the defaults at |
64 // Allow the user to override any of the defaults at |
65 // run-time, via command-line arguments |
65 // run-time, via command-line arguments |
66 CommandLine cmd; |
66 CommandLine cmd; |
67 cmd.Parse (argc, argv); |
67 cmd.Parse (argc, argv); |