loss_interval: unexport dccp_li_hist_interval_new
Now its only used inside the loss_interval code. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>hifive-unleashed-5.1
parent
cc0a910b94
commit
8c281780c6
|
@ -120,8 +120,9 @@ u32 dccp_li_hist_calc_i_mean(struct list_head *list)
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(dccp_li_hist_calc_i_mean);
|
EXPORT_SYMBOL_GPL(dccp_li_hist_calc_i_mean);
|
||||||
|
|
||||||
int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
|
static int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
|
||||||
struct list_head *list, const u64 seq_loss, const u8 win_loss)
|
struct list_head *list,
|
||||||
|
const u64 seq_loss, const u8 win_loss)
|
||||||
{
|
{
|
||||||
struct dccp_li_hist_entry *entry;
|
struct dccp_li_hist_entry *entry;
|
||||||
int i;
|
int i;
|
||||||
|
@ -142,8 +143,6 @@ int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(dccp_li_hist_interval_new);
|
|
||||||
|
|
||||||
/* calculate first loss interval
|
/* calculate first loss interval
|
||||||
*
|
*
|
||||||
* returns estimated loss interval in usecs */
|
* returns estimated loss interval in usecs */
|
||||||
|
|
|
@ -52,9 +52,6 @@ extern void dccp_li_hist_purge(struct dccp_li_hist *hist,
|
||||||
|
|
||||||
extern u32 dccp_li_hist_calc_i_mean(struct list_head *list);
|
extern u32 dccp_li_hist_calc_i_mean(struct list_head *list);
|
||||||
|
|
||||||
extern int dccp_li_hist_interval_new(struct dccp_li_hist *hist,
|
|
||||||
struct list_head *list, const u64 seq_loss, const u8 win_loss);
|
|
||||||
|
|
||||||
extern void dccp_li_update_li(struct sock *sk, struct dccp_li_hist *li_hist,
|
extern void dccp_li_update_li(struct sock *sk, struct dccp_li_hist *li_hist,
|
||||||
struct list_head *li_hist_list,
|
struct list_head *li_hist_list,
|
||||||
struct list_head *hist_list,
|
struct list_head *hist_list,
|
||||||
|
|
Loading…
Reference in New Issue