fix thinko in fix for explicit pcap names
This commit is contained in:
@@ -72,7 +72,7 @@ CsmaHelper::SetChannelAttribute (std::string n1, const AttributeValue &v1)
|
||||
}
|
||||
|
||||
void
|
||||
CsmaHelper::EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename, bool promiscuous)
|
||||
CsmaHelper::EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool promiscuous, bool explicitFilename)
|
||||
{
|
||||
//
|
||||
// All of the Pcap enable functions vector through here including the ones
|
||||
|
||||
@@ -207,10 +207,10 @@ private:
|
||||
*
|
||||
* \param prefix Filename prefix to use for pcap files.
|
||||
* \param nd Net device for which you want to enable tracing.
|
||||
* \param explicitFilename Treat the prefix as an explicit filename if true
|
||||
* \param promiscuous If true capture all possible packets available at the device.
|
||||
* \param explicitFilename Treat the prefix as an explicit filename if true
|
||||
*/
|
||||
virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename, bool promiscuous);
|
||||
virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool promiscuous, bool explicitFilename);
|
||||
|
||||
/**
|
||||
* \brief Enable ascii trace output on the indicated net device.
|
||||
|
||||
@@ -65,7 +65,7 @@ EmuHelper::SetAttribute (std::string n1, const AttributeValue &v1)
|
||||
}
|
||||
|
||||
void
|
||||
EmuHelper::EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename, bool promiscuous)
|
||||
EmuHelper::EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool promiscuous, bool explicitFilename)
|
||||
{
|
||||
//
|
||||
// All of the Pcap enable functions vector through here including the ones
|
||||
|
||||
@@ -123,10 +123,10 @@ private:
|
||||
*
|
||||
* \param prefix Filename prefix to use for pcap files.
|
||||
* \param nd Net device for which you want to enable tracing.
|
||||
* \param explicitFilename Treat the prefix as an explicit filename if true
|
||||
* \param promiscuous If true capture all possible packets available at the device.
|
||||
* \param explicitFilename Treat the prefix as an explicit filename if true
|
||||
*/
|
||||
virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename, bool promiscuous);
|
||||
virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool promiscuous, bool explicitFilename);
|
||||
|
||||
/**
|
||||
* \brief Enable ascii trace output on the indicated net device.
|
||||
|
||||
@@ -69,7 +69,7 @@ PointToPointHelper::SetChannelAttribute (std::string n1, const AttributeValue &v
|
||||
}
|
||||
|
||||
void
|
||||
PointToPointHelper::EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename, bool promiscuous)
|
||||
PointToPointHelper::EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool promiscuous, bool explicitFilename)
|
||||
{
|
||||
//
|
||||
// All of the Pcap enable functions vector through here including the ones
|
||||
|
||||
@@ -153,10 +153,10 @@ private:
|
||||
*
|
||||
* \param prefix Filename prefix to use for pcap files.
|
||||
* \param nd Net device for which you want to enable tracing.
|
||||
* \param explicitFilename Treat the prefix as an explicit filename if true
|
||||
* \param promiscuous If true capture all possible packets available at the device.
|
||||
* \param explicitFilename Treat the prefix as an explicit filename if true
|
||||
*/
|
||||
virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool implicitFilename, bool promiscuous);
|
||||
virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool promiscuous, bool explicitFilename);
|
||||
|
||||
/**
|
||||
* \brief Enable ascii trace output on the indicated net device.
|
||||
|
||||
@@ -412,16 +412,16 @@ AsciiTraceHelper::DefaultReceiveSinkWithContext (Ptr<OutputStreamWrapper> stream
|
||||
}
|
||||
|
||||
void
|
||||
PcapHelperForDevice::EnablePcap (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename, bool promiscuous)
|
||||
PcapHelperForDevice::EnablePcap (std::string prefix, Ptr<NetDevice> nd, bool promiscuous, bool explicitFilename)
|
||||
{
|
||||
EnablePcapInternal (prefix, nd, explicitFilename, promiscuous);
|
||||
EnablePcapInternal (prefix, nd, promiscuous, explicitFilename);
|
||||
}
|
||||
|
||||
void
|
||||
PcapHelperForDevice::EnablePcap (std::string prefix, std::string ndName, bool explicitFilename, bool promiscuous)
|
||||
PcapHelperForDevice::EnablePcap (std::string prefix, std::string ndName, bool promiscuous, bool explicitFilename)
|
||||
{
|
||||
Ptr<NetDevice> nd = Names::Find<NetDevice> (ndName);
|
||||
EnablePcap (prefix, nd, explicitFilename, promiscuous);
|
||||
EnablePcap (prefix, nd, promiscuous, explicitFilename);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -430,7 +430,7 @@ PcapHelperForDevice::EnablePcap (std::string prefix, NetDeviceContainer d, bool
|
||||
for (NetDeviceContainer::Iterator i = d.Begin (); i != d.End (); ++i)
|
||||
{
|
||||
Ptr<NetDevice> dev = *i;
|
||||
EnablePcap (prefix, dev, false, promiscuous);
|
||||
EnablePcap (prefix, dev, promiscuous);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -342,20 +342,20 @@ public:
|
||||
*
|
||||
* @param prefix Filename prefix to use for pcap files.
|
||||
* @param nd Net device for which you want to enable tracing.
|
||||
* @param explicitFilename Treat the prefix as an explicit filename if true
|
||||
* @param promiscuous If true capture all possible packets available at the device.
|
||||
* @param explicitFilename Treat the prefix as an explicit filename if true
|
||||
*/
|
||||
virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename, bool promiscuous) = 0;
|
||||
virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool promiscuous, bool explicitFilename) = 0;
|
||||
|
||||
/**
|
||||
* @brief Enable pcap output the indicated net device.
|
||||
*
|
||||
* @param prefix Filename prefix to use for pcap files.
|
||||
* @param nd Net device for which you want to enable tracing.
|
||||
* @param explicitFilename Treat the prefix as an explicit filename if true
|
||||
* @param promiscuous If true capture all possible packets available at the device.
|
||||
* @param explicitFilename Treat the prefix as an explicit filename if true
|
||||
*/
|
||||
void EnablePcap (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename = false, bool promiscuous = false);
|
||||
void EnablePcap (std::string prefix, Ptr<NetDevice> nd, bool promiscuous = false, bool explicitFilename = false);
|
||||
|
||||
/**
|
||||
* @brief Enable pcap output the indicated net device using a device previously
|
||||
@@ -363,10 +363,10 @@ public:
|
||||
*
|
||||
* @param filename filename prefix to use for pcap files.
|
||||
* @param ndName The name of the net device in which you want to enable tracing.
|
||||
* @param explicitFilename Treat the prefix as an explicit filename if true
|
||||
* @param promiscuous If true capture all possible packets available at the device.
|
||||
* @param explicitFilename Treat the prefix as an explicit filename if true
|
||||
*/
|
||||
void EnablePcap (std::string prefix, std::string ndName, bool explicitFilename = false, bool promiscuous = false);
|
||||
void EnablePcap (std::string prefix, std::string ndName, bool promiscuous = false, bool explicitFilename = false);
|
||||
|
||||
/**
|
||||
* @brief Enable pcap output on each device in the container which is of the
|
||||
|
||||
@@ -380,7 +380,7 @@ YansWifiPhyHelper::SetPcapDataLinkType (enum SupportedPcapDataLinkTypes dlt)
|
||||
}
|
||||
|
||||
void
|
||||
YansWifiPhyHelper::EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename, bool promiscuous)
|
||||
YansWifiPhyHelper::EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool promiscuous, bool explicitFilename)
|
||||
{
|
||||
//
|
||||
// All of the Pcap enable functions vector through here including the ones
|
||||
|
||||
@@ -242,8 +242,9 @@ private:
|
||||
* @param prefix Filename prefix to use for pcap files.
|
||||
* @param nd Net device for which you want to enable tracing.
|
||||
* @param promiscuous If true capture all possible packets available at the device.
|
||||
* @param explicitFilename Treat the prefix as an explicit filename if true
|
||||
*/
|
||||
virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool explicitFilename, bool promiscuous);
|
||||
virtual void EnablePcapInternal (std::string prefix, Ptr<NetDevice> nd, bool promiscuous, bool explicitFilename);
|
||||
|
||||
/**
|
||||
* \brief Enable ascii trace output on the indicated net device.
|
||||
|
||||
Reference in New Issue
Block a user