|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/skbuff.h>#include <linux/inet_diag.h>#include <asm/div64.h>#include <net/tcp.h>Go to the source code of this file.
Data Structures | |
| struct | illinois |
Macros | |
| #define | ALPHA_SHIFT 7 |
| #define | ALPHA_SCALE (1u<<ALPHA_SHIFT) |
| #define | ALPHA_MIN ((3*ALPHA_SCALE)/10) /* ~0.3 */ |
| #define | ALPHA_MAX (10*ALPHA_SCALE) /* 10.0 */ |
| #define | ALPHA_BASE ALPHA_SCALE /* 1.0 */ |
| #define | U32_MAX ((u32)~0U) |
| #define | RTT_MAX (U32_MAX / ALPHA_MAX) /* 3.3 secs */ |
| #define | BETA_SHIFT 6 |
| #define | BETA_SCALE (1u<<BETA_SHIFT) |
| #define | BETA_MIN (BETA_SCALE/8) /* 0.125 */ |
| #define | BETA_MAX (BETA_SCALE/2) /* 0.5 */ |
| #define | BETA_BASE BETA_MAX |
Functions | |
| module_param (win_thresh, int, 0) | |
| MODULE_PARM_DESC (win_thresh,"Window threshold for starting adaptive sizing") | |
| module_param (theta, int, 0) | |
| MODULE_PARM_DESC (theta,"# of fast RTT's before full growth") | |
| module_init (tcp_illinois_register) | |
| module_exit (tcp_illinois_unregister) | |
| MODULE_AUTHOR ("Stephen Hemminger, Shao Liu") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_DESCRIPTION ("TCP Illinois") | |
| MODULE_VERSION ("1.0") | |
| #define ALPHA_BASE ALPHA_SCALE /* 1.0 */ |
Definition at line 25 of file tcp_illinois.c.
| #define ALPHA_MAX (10*ALPHA_SCALE) /* 10.0 */ |
Definition at line 24 of file tcp_illinois.c.
| #define ALPHA_MIN ((3*ALPHA_SCALE)/10) /* ~0.3 */ |
Definition at line 23 of file tcp_illinois.c.
| #define ALPHA_SCALE (1u<<ALPHA_SHIFT) |
Definition at line 22 of file tcp_illinois.c.
| #define ALPHA_SHIFT 7 |
Definition at line 21 of file tcp_illinois.c.
| #define BETA_BASE BETA_MAX |
Definition at line 33 of file tcp_illinois.c.
| #define BETA_MAX (BETA_SCALE/2) /* 0.5 */ |
Definition at line 32 of file tcp_illinois.c.
| #define BETA_MIN (BETA_SCALE/8) /* 0.125 */ |
Definition at line 31 of file tcp_illinois.c.
| #define BETA_SCALE (1u<<BETA_SHIFT) |
Definition at line 30 of file tcp_illinois.c.
| #define BETA_SHIFT 6 |
Definition at line 29 of file tcp_illinois.c.
Definition at line 27 of file tcp_illinois.c.
| #define U32_MAX ((u32)~0U) |
Definition at line 26 of file tcp_illinois.c.
| MODULE_AUTHOR | ( | "Stephen | Hemminger, |
| Shao Liu" | |||
| ) |
| MODULE_DESCRIPTION | ( | "TCP Illinois" | ) |
| module_exit | ( | tcp_illinois_unregister | ) |
| module_init | ( | tcp_illinois_register | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | win_thresh | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | theta | , |
| int | , | ||
| 0 | |||
| ) |
| MODULE_VERSION | ( | "1.0" | ) |
1.8.2