Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tcp_htcp.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  htcp
 

Macros

#define ALPHA_BASE   (1<<7) /* 1.0 with shift << 7 */
 
#define BETA_MIN   (1<<6) /* 0.5 with shift << 7 */
 
#define BETA_MAX   102 /* 0.8 with shift << 7 */
 

Functions

 module_param (use_rtt_scaling, int, 0644)
 
 MODULE_PARM_DESC (use_rtt_scaling,"turn on/off RTT scaling")
 
 module_param (use_bandwidth_switch, int, 0644)
 
 MODULE_PARM_DESC (use_bandwidth_switch,"turn on/off bandwidth switcher")
 
 module_init (htcp_register)
 
 module_exit (htcp_unregister)
 
 MODULE_AUTHOR ("Baruch Even")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("H-TCP")
 

Macro Definition Documentation

#define ALPHA_BASE   (1<<7) /* 1.0 with shift << 7 */

Definition at line 13 of file tcp_htcp.c.

#define BETA_MAX   102 /* 0.8 with shift << 7 */

Definition at line 15 of file tcp_htcp.c.

#define BETA_MIN   (1<<6) /* 0.5 with shift << 7 */

Definition at line 14 of file tcp_htcp.c.

Function Documentation

MODULE_AUTHOR ( "Baruch Even"  )
MODULE_DESCRIPTION ( "H-TCP )
module_exit ( htcp_unregister  )
module_init ( htcp_register  )
MODULE_LICENSE ( "GPL"  )
module_param ( use_rtt_scaling  ,
int  ,
0644   
)
module_param ( use_bandwidth_switch  ,
int  ,
0644   
)
MODULE_PARM_DESC ( use_rtt_scaling  ,
"turn on/off RTT scaling"   
)
MODULE_PARM_DESC ( use_bandwidth_switch  ,
"turn on/off bandwidth switcher"   
)