//#include "formula-with-inverse.h" #include "formula.h"
#define HDR_TFRC(p) (hdr_tfrc::access(p))add the line:
#define HDR_TFMCC(p) (hdr_tfmcc::access(p))
PT_TFRC_ACK,add the lines:
name_[PT_TFRC_ACK]= "tcpFriendCtl";add the lines:
name_[PT_TFMCC]= "tfmcc_data"; name_[PT_TFMCC_ACK]= "tfmcc_ack";
Agent/TFMCC set packetSize_ 1000 Agent/TFMCC set ndatapack_ 0 ; # Number of packets sent Agent/TFMCC set InitRate_ 300 ; # Initial send rate Agent/TFMCC set overhead_ 0 ; # If > 0, dither outgoing packets Agent/TFMCC set ssmult_ 2.0 ; # Rate of increase during slow-start: Agent/TFMCC set printStatus_ 0 Agent/TFMCC set rate_ 0 Agent/TFMCC set bval_ 1; # Value of B for TCP formula Agent/TFMCC set list_size_ 10; # size of receiver list at the sender Agent/TFMCC set min_rate_ 1000; # set minimum rate to 8 KBit/s Agent/TFMCCSink set packetSize_ 40 Agent/TFMCCSink set InitHistorySize_ 100000 Agent/TFMCCSink set NumFeedback_ 1 Agent/TFMCCSink set AdjustHistoryAfterSS_ 1 Agent/TFMCCSink set NumSamples_ -1 Agent/TFMCCSink set discount_ 1; # History Discounting Agent/TFMCCSink set printLoss_ 0 Agent/TFMCCSink set smooth_ 1 ; # smoother Average Loss Interval Agent/TFMCCSink set recv_id_ 0; Agent/TFMCCSink set Initial_RTT_ 0.5; Agent/TFMCCSink set df_ 0.95 ; # decay factor for accurate RTT estimate Agent/TFMCCSink set ca_ 0; # disable RTT congestion avoidance Agent/TFMCCSink set rate_ 0 Agent/TFMCCSink set bval_ 1; # Value of B for TCP formula Agent/TFMCCSink set tight_loop_ 1; # use tight feedback loop to rep recv Agent/TFMCCSink set fbtime_mult_ 4.0; # T = 4 * RTT Agent/TFMCCSink set fbtime_fraction_ 0.25; # fraction of feedback delay used for bias (offset) Agent/TFMCCSink set constant_rate_ 0; # don't use constant rate
tfmcc.o tfmcc-sink.o formula.o \