Changeset 4794

Show
Ignore:
Timestamp:
05/06/10 14:20:44 (4 years ago)
Author:
soohyunc
Message:

added a header file for the common variable definition

Location:
vic/branches/cc/cc
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/cc/cc/tfwc_sndr.h

    r4793 r4794  
    3636 
    3737#include "bitmap.h"     // bitmap operations 
     38#include "cc_common.h" 
    3839#include "cc_timer.h" 
    39  
    40 #define DUPACKS 3   // simulating TCP's 3 dupacks 
    41 #define TSZ     1000    // tsvec_ size 
    42 #define SSZ 1000        // seqvec_ size 
    43 #define RSZ 1000        // refvec_ size 
    44 #define PSR 10000       // packet size record 
    45  
    46 #define SHORT_HISTORY           // history size = 8 
    47 #ifdef  SHORT_HISTORY 
    48 #define HSZ 8   // history size for avg loss history 
    49 #else 
    50 #define HSZ 16  // history size for avg loss history 
    51 #endif 
    52  
    53 #define T_RTTVAR_BITS   2 
    54 #define T_SRTT_BITS             3 
    55  
    56 #define BITLEN  16 
    5740 
    5841// timer related