#include "ns3/core-module.h"#include "ns3/network-module.h"#include "ns3/mobility-module.h"#include "ns3/config-store-module.h"#include "ns3/wifi-module.h"#include "ns3/internet-module.h"#include "ns3/olsr-helper.h"#include "ns3/ipv4-static-routing-helper.h"#include "ns3/ipv4-list-routing-helper.h"#include <iostream>#include <fstream>#include <vector>#include <string>
Include dependency graph for wifi-simple-adhoc-grid.cc:Go to the source code of this file.
Functions | |
| static void | GenerateTraffic (Ptr< Socket > socket, uint32_t pktSize, uint32_t pktCount, Time pktInterval) |
| int | main (int argc, char *argv[]) |
| void | ReceivePacket (Ptr< Socket > socket) |
|
static |
Definition at line 99 of file wifi-simple-adhoc-grid.cc.
References ns3::Socket::Close(), ns3::Simulator::Schedule(), and ns3::Socket::Send().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 115 of file wifi-simple-adhoc-grid.cc.
References ns3::Ipv4ListRoutingHelper::Add(), ns3::YansWifiChannelHelper::AddPropagationLoss(), ns3::CommandLine::AddValue(), ns3::Ipv4AddressHelper::Assign(), ns3::Socket::Bind(), ns3::Socket::Connect(), ns3::YansWifiChannelHelper::Create(), ns3::NodeContainer::Create(), ns3::AsciiTraceHelper::CreateFileStream(), ns3::Socket::CreateSocket(), ns3::NqosWifiMacHelper::Default(), ns3::YansWifiPhyHelper::Default(), ns3::Simulator::Destroy(), first::devices, ns3::YansWifiPhyHelper::DLT_IEEE802_11_RADIO, ns3::AsciiTraceHelperForDevice::EnableAsciiAll(), ns3::WifiHelper::EnableLogComponents(), ns3::PcapHelperForDevice::EnablePcap(), GenerateTraffic(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Ipv4Address::GetAny(), ns3::InternetStackHelper::Install(), ns3::WifiHelper::Install(), ns3::MobilityHelper::Install(), list, ns3::TypeId::LookupByName(), ns3::MakeCallback(), NS_LOG_INFO, NS_LOG_UNCOND, ns3::CommandLine::Parse(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllEvery(), ReceivePacket(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Seconds(), ns3::YansWifiPhyHelper::Set(), ns3::Ipv4AddressHelper::SetBase(), ns3::YansWifiPhyHelper::SetChannel(), ns3::Config::SetDefault(), ns3::MobilityHelper::SetMobilityModel(), ns3::YansWifiPhyHelper::SetPcapDataLinkType(), ns3::MobilityHelper::SetPositionAllocator(), ns3::YansWifiChannelHelper::SetPropagationDelay(), ns3::Socket::SetRecvCallback(), ns3::WifiHelper::SetRemoteStationManager(), ns3::InternetStackHelper::SetRoutingHelper(), ns3::WifiHelper::SetStandard(), ns3::NqosWifiMacHelper::SetType(), ns3::Simulator::Stop(), verbose, and ns3::WIFI_PHY_STANDARD_80211b.
Here is the call graph for this function:Definition at line 91 of file wifi-simple-adhoc-grid.cc.
References NS_LOG_UNCOND, and ns3::Socket::Recv().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: