]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - net/dccp/ccids/lib/loss_interval.h
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
[linux-2.6-omap-h63xx.git] / net / dccp / ccids / lib / loss_interval.h
1 #ifndef _DCCP_LI_HIST_
2 #define _DCCP_LI_HIST_
3 /*
4  *  net/dccp/ccids/lib/loss_interval.h
5  *
6  *  Copyright (c) 2005-7 The University of Waikato, Hamilton, New Zealand.
7  *  Copyright (c) 2005-7 Ian McDonald <ian.mcdonald@jandi.co.nz>
8  *  Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
9  *
10  *  This program is free software; you can redistribute it and/or modify it
11  *  under the terms of the GNU General Public License as published by the Free
12  *  Software Foundation; either version 2 of the License, or (at your option)
13  *  any later version.
14  */
15
16 #include <linux/list.h>
17 #include <linux/time.h>
18
19 extern void dccp_li_hist_purge(struct list_head *list);
20
21 extern u32 dccp_li_hist_calc_i_mean(struct list_head *list);
22
23 extern void dccp_li_update_li(struct sock *sk,
24                               struct list_head *li_hist_list,
25                               struct list_head *hist_list,
26                               struct timeval *last_feedback, u16 s,
27                               u32 bytes_recv, u32 previous_x_recv,
28                               u64 seq_loss, u8 win_loss);
29 #endif /* _DCCP_LI_HIST_ */