2 * TFRC library initialisation
4 * Copyright (c) 2007 The University of Aberdeen, Scotland, UK
5 * Copyright (c) 2007 Arnaldo Carvalho de Melo <acme@redhat.com>
9 #ifdef CONFIG_IP_DCCP_TFRC_DEBUG
11 module_param(tfrc_debug
, bool, 0644);
12 MODULE_PARM_DESC(tfrc_debug
, "Enable TFRC debug messages");
15 int __init
tfrc_lib_init(void)
17 int rc
= tfrc_li_init();
22 rc
= tfrc_tx_packet_history_init();
24 goto out_free_loss_intervals
;
26 rc
= tfrc_rx_packet_history_init();
28 goto out_free_tx_history
;
32 tfrc_tx_packet_history_exit();
33 out_free_loss_intervals
:
39 void tfrc_lib_exit(void)
41 tfrc_rx_packet_history_exit();
42 tfrc_tx_packet_history_exit();