Multicast example application to test multicasting in satellite network. More...
#include "ns3/applications-module.h"#include "ns3/core-module.h"#include "ns3/internet-module.h"#include "ns3/network-module.h"#include "ns3/satellite-module.h"#include "ns3/traffic-module.h"
Include dependency graph for sat-multicast-example.cc:Go to the source code of this file.
Functions | |
| static Time | EstablishMulticastGroup (Ptr< SatHelper > helper, Ptr< Node > source, NodeContainer groupReceivers, Ipv4Address groupAddress, uint16_t port, Time startTime, bool sinkToAll) |
| Establish multicast group and generate traffic in that group. More... | |
| static std::string | GetUserInfo (Ptr< SatHelper > helper, Ptr< Node > node) |
| Construct information of the given user node. More... | |
| static void | LogEmptyLine () |
| Log empty line. More... | |
| static void | SinkReceive (std::string context, Ptr< const Packet >, const Address &) |
| Receive RX traces from packet sinks. More... | |
Multicast example application to test multicasting in satellite network.
Test scenario (larger of full), pre-defined multicast for larger scenario can be given in command line as user argument.
To see help and more info for user arguments: execute command -> ./waf –run "sat-multicast-example --PrintHelp"
Definition in file sat-multicast-example.cc.
|
static |
Establish multicast group and generate traffic in that group.
| helper | Pointer to satellite helper |
| source | Pointer to source node of the multicast group |
| groupReceivers | Container of the receiver node pointers of the multicast group |
| groupAddress | Address of the multicast group |
| port | Port of the multicast group |
| startTime | Time to start group traffic (sending start with some delay). |
| sinkToAll | Add packet sink to all users for multicast group. |
Definition at line 121 of file sat-multicast-example.cc.
References GetUserInfo(), LogEmptyLine(), and SinkReceive().
Here is the call graph for this function:
|
static |
Construct information of the given user node.
| helper | Pointer to satellite helper |
| node | Pointer to user node connected to UT or GW |
Definition at line 64 of file sat-multicast-example.cc.
Referenced by EstablishMulticastGroup().
Here is the caller graph for this function:
|
static |
Log empty line.
Used to trim log outputs between multicast groups.
Definition at line 103 of file sat-multicast-example.cc.
Referenced by EstablishMulticastGroup().
Here is the caller graph for this function:
|
static |
Receive RX traces from packet sinks.
| context | Context of the receive (multicast group and UT/GW user info) |
Definition at line 51 of file sat-multicast-example.cc.
Referenced by EstablishMulticastGroup().
Here is the caller graph for this function: