-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 78348 b: refs/heads/master c: c40616c h: refs/heads/master v: v3
- Loading branch information
Gerrit Renker
authored and
David S. Miller
committed
Jan 28, 2008
1 parent
6d3378c
commit c5e6ad9
Showing
7 changed files
with
76 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: f8b33fdfafea0f909712a55fbb3d83b89f70f3f5 | ||
refs/heads/master: c40616c597bf02a2346cbf2f120283734b436245 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
obj-$(CONFIG_IP_DCCP_TFRC_LIB) += dccp_tfrc_lib.o | ||
|
||
dccp_tfrc_lib-y := loss_interval.o packet_history.o tfrc_equation.o | ||
dccp_tfrc_lib-y := tfrc.o tfrc_equation.o packet_history.o loss_interval.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* TFRC: main module holding the pieces of the TFRC library together | ||
* | ||
* Copyright (c) 2007 The University of Aberdeen, Scotland, UK | ||
* Copyright (c) 2007 Arnaldo Carvalho de Melo <acme@redhat.com> | ||
*/ | ||
#include <linux/module.h> | ||
#include <linux/moduleparam.h> | ||
#include "tfrc.h" | ||
|
||
#ifdef CONFIG_IP_DCCP_TFRC_DEBUG | ||
int tfrc_debug; | ||
module_param(tfrc_debug, bool, 0444); | ||
MODULE_PARM_DESC(tfrc_debug, "Enable debug messages"); | ||
#endif | ||
|
||
extern int dccp_li_init(void); | ||
extern void dccp_li_exit(void); | ||
extern int packet_history_init(void); | ||
extern void packet_history_exit(void); | ||
|
||
static int __init tfrc_module_init(void) | ||
{ | ||
int rc = dccp_li_init(); | ||
|
||
if (rc == 0) { | ||
rc = packet_history_init(); | ||
if (rc != 0) | ||
dccp_li_exit(); | ||
} | ||
|
||
return rc; | ||
} | ||
|
||
static void __exit tfrc_module_exit(void) | ||
{ | ||
packet_history_exit(); | ||
dccp_li_exit(); | ||
} | ||
|
||
module_init(tfrc_module_init); | ||
module_exit(tfrc_module_exit); | ||
|
||
MODULE_AUTHOR("Gerrit Renker <gerrit@erg.abdn.ac.uk>, " | ||
"Ian McDonald <ian.mcdonald@jandi.co.nz>, " | ||
"Arnaldo Carvalho de Melo <acme@redhat.com>"); | ||
MODULE_DESCRIPTION("DCCP TFRC library"); | ||
MODULE_LICENSE("GPL"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters