diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2009-01-05 08:45:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-05 08:45:33 +0300 |
commit | 129fa44785a399248ae2466b6cb5c655e96668f7 (patch) | |
tree | c2440b83e752c6cf3e6ec6f60492b85ddb8932a9 /net/dccp/ccids/lib/tfrc.h | |
parent | e5fd56ca4eb3a130882bbef69d6952ef6aca5c8d (diff) | |
download | linux-129fa44785a399248ae2466b6cb5c655e96668f7.tar.xz |
dccp: Integrate the TFRC library with DCCP
This patch integrates the TFRC library, which is a dependency of CCID-3 (and
CCID-4), with the new use of CCIDs in the DCCP module.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ccids/lib/tfrc.h')
-rw-r--r-- | net/dccp/ccids/lib/tfrc.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/net/dccp/ccids/lib/tfrc.h b/net/dccp/ccids/lib/tfrc.h index ed9857527acf..e9720b143275 100644 --- a/net/dccp/ccids/lib/tfrc.h +++ b/net/dccp/ccids/lib/tfrc.h @@ -17,7 +17,8 @@ #include <linux/types.h> #include <linux/math64.h> #include "../../dccp.h" -/* internal includes that this module exports: */ + +/* internal includes that this library exports: */ #include "loss_interval.h" #include "packet_history.h" @@ -66,4 +67,12 @@ extern void tfrc_rx_packet_history_exit(void); extern int tfrc_li_init(void); extern void tfrc_li_exit(void); + +#ifdef CONFIG_IP_DCCP_TFRC_LIB +extern int tfrc_lib_init(void); +extern void tfrc_lib_exit(void); +#else +#define tfrc_lib_init() (0) +#define tfrc_lib_exit() +#endif #endif /* _TFRC_H_ */ |