Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tcp_bic.c File Reference
#include <linux/mm.h>
#include <linux/module.h>
#include <net/tcp.h>

Go to the source code of this file.

Data Structures

struct  bictcp
 

Macros

#define BICTCP_BETA_SCALE
 
#define BICTCP_B
 
#define ACK_RATIO_SHIFT   4
 

Functions

 module_param (fast_convergence, int, 0644)
 
 MODULE_PARM_DESC (fast_convergence,"turn on/off fast convergence")
 
 module_param (max_increment, int, 0644)
 
 MODULE_PARM_DESC (max_increment,"Limit on increment allowed during binary search")
 
 module_param (low_window, int, 0644)
 
 MODULE_PARM_DESC (low_window,"lower bound on congestion window (for TCP friendliness)")
 
 module_param (beta, int, 0644)
 
 MODULE_PARM_DESC (beta,"beta for multiplicative increase")
 
 module_param (initial_ssthresh, int, 0644)
 
 MODULE_PARM_DESC (initial_ssthresh,"initial value of slow start threshold")
 
 module_param (smooth_part, int, 0644)
 
 MODULE_PARM_DESC (smooth_part,"log(B/(B*Smin))/log(B/(B-1))+B, # of RTT from Wmax-B to Wmax")
 
 module_init (bictcp_register)
 
 module_exit (bictcp_unregister)
 
 MODULE_AUTHOR ("Stephen Hemminger")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("BIC TCP")
 

Macro Definition Documentation

#define ACK_RATIO_SHIFT   4

Definition at line 53 of file tcp_bic.c.

#define BICTCP_B
Value:
4 /*
* In binary search,
* go to point (max+min)/N
*/

Definition at line 22 of file tcp_bic.c.

#define BICTCP_BETA_SCALE
Value:
1024 /* Scale factor beta calculation
* max_cwnd = snd_cwnd * beta
*/

Definition at line 21 of file tcp_bic.c.

Function Documentation

MODULE_AUTHOR ( "Stephen Hemminger"  )
MODULE_DESCRIPTION ( "BIC TCP )
module_exit ( bictcp_unregister  )
module_init ( bictcp_register  )
MODULE_LICENSE ( "GPL"  )
module_param ( fast_convergence  ,
int  ,
0644   
)
module_param ( max_increment  ,
int  ,
0644   
)
module_param ( low_window  ,
int  ,
0644   
)
module_param ( beta  ,
int  ,
0644   
)
module_param ( initial_ssthresh  ,
int  ,
0644   
)
module_param ( smooth_part  ,
int  ,
0644   
)
MODULE_PARM_DESC ( fast_convergence  ,
"turn on/off fast convergence"   
)
MODULE_PARM_DESC ( max_increment  ,
"Limit on increment allowed during binary search  
)
MODULE_PARM_DESC ( low_window  ,
"lower bound on congestion window (for TCP friendliness)"   
)
MODULE_PARM_DESC ( beta  ,
"beta for multiplicative increase"   
)
MODULE_PARM_DESC ( initial_ssthresh  ,
"initial value of slow start threshold  
)
MODULE_PARM_DESC ( smooth_part  ,
"log(B/(B*Smin))/log(B/(B-1))+  B,
#of RTT from Wmax-B to Wmax"   
)