examples/csma-multicast.cc
changeset 3630 0aa446f659d9
parent 3381 3cdd9d60f7c7
child 4218 debf1a8a96d3
equal deleted inserted replaced
3629:367ae1cba60f 3630:0aa446f659d9
    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);