doc: fix doxygen in various examples

This commit is contained in:
Tommaso Pecorella
2022-08-28 13:24:25 -05:00
committed by Tommaso Pecorella
parent 8ea83b4f72
commit 606eb84448
51 changed files with 1448 additions and 179 deletions

View File

@@ -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)
{

View File

@@ -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)
{

View File

@@ -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)
{