mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 18:13:57 +02:00
Add a way to set routing helper
This commit is contained in:
parent
7ba1d66e8c
commit
a55177cd67
3 changed files with 25 additions and 7 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <ns3/net-device-container.h>
|
||||
#include <ns3/node-container.h>
|
||||
#include <ns3/trace-helper.h>
|
||||
#include "ns3/internet-stack-helper.h"
|
||||
|
||||
#include "leo-channel-helper.h"
|
||||
#include "isl-helper.h"
|
||||
|
@ -142,6 +143,11 @@ public:
|
|||
void SetIslChannelAttribute (std::string name, const AttributeValue &value);
|
||||
void SetUtChannelAttribute (std::string name, const AttributeValue &value);
|
||||
void SetGwChannelAttribute (std::string name, const AttributeValue &value);
|
||||
|
||||
void SetInternetStackAttribute (std::string name, const AttributeValue &value);
|
||||
|
||||
void SetRoutingHelper (const Ipv4RoutingHelper &routing);
|
||||
void SetRoutingHelper (const Ipv6RoutingHelper &routing);
|
||||
private:
|
||||
/**
|
||||
* \brief Enable pcap output the indicated net device.
|
||||
|
@ -173,6 +179,7 @@ private:
|
|||
Ptr<NetDevice> nd,
|
||||
bool explicitFilename);
|
||||
|
||||
InternetStackHelper m_stackHelper;
|
||||
IslHelper m_islChannelHelper;
|
||||
LeoChannelHelper m_utChannelHelper;
|
||||
LeoChannelHelper m_gwChannelHelper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue