doc: fix doxygen in various examples
This commit is contained in:
committed by
Tommaso Pecorella
parent
8ea83b4f72
commit
606eb84448
@@ -62,12 +62,23 @@ NS_LOG_COMPONENT_DEFINE ("FifthScriptExample");
|
||||
//
|
||||
|
||||
|
||||
/**
|
||||
* Congestion window change callback
|
||||
*
|
||||
* \param oldCwnd Old congestion window.
|
||||
* \param newCwnd New congestion window.
|
||||
*/
|
||||
static void
|
||||
CwndChange (uint32_t oldCwnd, uint32_t newCwnd)
|
||||
{
|
||||
NS_LOG_UNCOND (Simulator::Now ().GetSeconds () << "\t" << newCwnd);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rx drop callback
|
||||
*
|
||||
* \param p The dropped packet.
|
||||
*/
|
||||
static void
|
||||
RxDrop (Ptr<const Packet> p)
|
||||
{
|
||||
|
||||
@@ -66,6 +66,13 @@ NS_LOG_COMPONENT_DEFINE ("SeventhScriptExample");
|
||||
//
|
||||
|
||||
|
||||
/**
|
||||
* Congestion window change callback
|
||||
*
|
||||
* \param stream The ouput stream file.
|
||||
* \param oldCwnd Old congestion window.
|
||||
* \param newCwnd New congestion window.
|
||||
*/
|
||||
static void
|
||||
CwndChange (Ptr<OutputStreamWrapper> stream, uint32_t oldCwnd, uint32_t newCwnd)
|
||||
{
|
||||
@@ -73,6 +80,12 @@ CwndChange (Ptr<OutputStreamWrapper> stream, uint32_t oldCwnd, uint32_t newCwnd)
|
||||
*stream->GetStream () << Simulator::Now ().GetSeconds () << "\t" << oldCwnd << "\t" << newCwnd << std::endl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Rx drop callback
|
||||
*
|
||||
* \param file The ouput PCAP file.
|
||||
* \param p The dropped packet.
|
||||
*/
|
||||
static void
|
||||
RxDrop (Ptr<PcapFileWrapper> file, Ptr<const Packet> p)
|
||||
{
|
||||
|
||||
@@ -62,6 +62,13 @@ NS_LOG_COMPONENT_DEFINE ("SixthScriptExample");
|
||||
//
|
||||
|
||||
|
||||
/**
|
||||
* Congestion window change callback
|
||||
*
|
||||
* \param stream The ouput stream file.
|
||||
* \param oldCwnd Old congestion window.
|
||||
* \param newCwnd New congestion window.
|
||||
*/
|
||||
static void
|
||||
CwndChange (Ptr<OutputStreamWrapper> stream, uint32_t oldCwnd, uint32_t newCwnd)
|
||||
{
|
||||
@@ -69,6 +76,12 @@ CwndChange (Ptr<OutputStreamWrapper> stream, uint32_t oldCwnd, uint32_t newCwnd)
|
||||
*stream->GetStream () << Simulator::Now ().GetSeconds () << "\t" << oldCwnd << "\t" << newCwnd << std::endl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Rx drop callback
|
||||
*
|
||||
* \param file The ouput PCAP file.
|
||||
* \param p The dropped packet.
|
||||
*/
|
||||
static void
|
||||
RxDrop (Ptr<PcapFileWrapper> file, Ptr<const Packet> p)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user