A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
fifth.cc File Reference
#include "tutorial-app.h"
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/point-to-point-module.h"
#include <fstream>
+ Include dependency graph for fifth.cc:

Go to the source code of this file.

Functions

static void CwndChange (uint32_t oldCwnd, uint32_t newCwnd)
 Congestion window change callback.
 
static void RxDrop (Ptr< const Packet > p)
 Rx drop callback.
 

Detailed Description

Usage

$ ./ns3 run "fifth"

Definition in file fifth.cc.

Function Documentation

◆ CwndChange()

static void CwndChange ( uint32_t  oldCwnd,
uint32_t  newCwnd 
)
static

Congestion window change callback.

Parameters
oldCwndOld congestion window.
newCwndNew congestion window.

Definition at line 72 of file fifth.cc.

References ns3::Simulator::Now(), and NS_LOG_UNCOND.

+ Here is the call graph for this function:

◆ RxDrop()

static void RxDrop ( Ptr< const Packet p)
static

Rx drop callback.

Parameters
pThe dropped packet.

Definition at line 83 of file fifth.cc.

References ns3::Simulator::Now(), and NS_LOG_UNCOND.

+ Here is the call graph for this function: