Agora  1.2.0
Agora project
txrx_worker_sim.cc File Reference

Implementation of PacketTxRx initialization functions, and datapath functions for communicating with simulators. More...

#include "txrx_worker_sim.h"
#include <cassert>
#include "gettime.h"
#include "logger.h"
#include "message.h"
Include dependency graph for txrx_worker_sim.cc:

Variables

static constexpr bool kEnableSlowStart = true
 
static constexpr bool kDebugPrintBeacon = false
 
static constexpr size_t kSlowStartThresh1 = kFrameWnd
 
static constexpr size_t kSlowStartThresh2 = (kFrameWnd * 4)
 
static constexpr size_t kSlowStartMulStage1 = 32
 
static constexpr size_t kSlowStartMulStage2 = 8
 
static constexpr size_t kSocketRxBufferSize = (1024 * 1024 * 64 * 8) - 1
 

Detailed Description

Implementation of PacketTxRx initialization functions, and datapath functions for communicating with simulators.

Variable Documentation

◆ kDebugPrintBeacon

constexpr bool kDebugPrintBeacon = false
staticconstexpr

◆ kEnableSlowStart

constexpr bool kEnableSlowStart = true
staticconstexpr

◆ kSlowStartMulStage1

constexpr size_t kSlowStartMulStage1 = 32
staticconstexpr

◆ kSlowStartMulStage2

constexpr size_t kSlowStartMulStage2 = 8
staticconstexpr

◆ kSlowStartThresh1

constexpr size_t kSlowStartThresh1 = kFrameWnd
staticconstexpr

◆ kSlowStartThresh2

constexpr size_t kSlowStartThresh2 = (kFrameWnd * 4)
staticconstexpr

◆ kSocketRxBufferSize

constexpr size_t kSocketRxBufferSize = (1024 * 1024 * 64 * 8) - 1
staticconstexpr