#include <linux/mm.h>
#include <linux/module.h>
#include <net/tcp.h>
Go to the source code of this file.
|
#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 */ |
|
#define ALPHA_BASE (1<<7) /* 1.0 with shift << 7 */ |
#define BETA_MAX 102 /* 0.8 with shift << 7 */ |
#define BETA_MIN (1<<6) /* 0.5 with shift << 7 */ |
MODULE_AUTHOR |
( |
"Baruch Even" |
| ) |
|
MODULE_DESCRIPTION |
( |
"H-TCP" |
| ) |
|
module_exit |
( |
htcp_unregister |
| ) |
|
module_init |
( |
htcp_register |
| ) |
|
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" |
|
|
) |
| |