diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-06-14 16:41:28 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-11 01:15:20 -0400 |
commit | cc0a910b942d11069d35f52b2c0ed0e229e2fb46 (patch) | |
tree | 9d378b79a25b7c5f03ce9f713f00648781953dbd /net/dccp/ccids/lib/loss_interval.h | |
parent | 878ac60023c4ba11a7fbf0b1dfe07b8472c0d6ce (diff) |
[DCCP] loss_interval: Move ccid3_hc_rx_update_li to loss_interval
Renaming it to dccp_li_update_li.
Also based on previous work by Ian McDonald.
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Diffstat (limited to 'net/dccp/ccids/lib/loss_interval.h')
-rw-r--r-- | net/dccp/ccids/lib/loss_interval.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/dccp/ccids/lib/loss_interval.h b/net/dccp/ccids/lib/loss_interval.h index 1e48fe323006..17f173a30055 100644 --- a/net/dccp/ccids/lib/loss_interval.h +++ b/net/dccp/ccids/lib/loss_interval.h | |||
@@ -54,4 +54,11 @@ extern u32 dccp_li_hist_calc_i_mean(struct list_head *list); | |||
54 | 54 | ||
55 | extern int dccp_li_hist_interval_new(struct dccp_li_hist *hist, | 55 | extern int dccp_li_hist_interval_new(struct dccp_li_hist *hist, |
56 | struct list_head *list, const u64 seq_loss, const u8 win_loss); | 56 | struct list_head *list, const u64 seq_loss, const u8 win_loss); |
57 | |||
58 | extern void dccp_li_update_li(struct sock *sk, struct dccp_li_hist *li_hist, | ||
59 | struct list_head *li_hist_list, | ||
60 | struct list_head *hist_list, | ||
61 | struct timeval *last_feedback, u16 s, | ||
62 | u32 bytes_recv, u32 previous_x_recv, | ||
63 | u64 seq_loss, u8 win_loss); | ||
57 | #endif /* _DCCP_LI_HIST_ */ | 64 | #endif /* _DCCP_LI_HIST_ */ |