aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/lib/loss_interval.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-05-28 18:56:44 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-10 22:15:24 -0700
commitdd36a9aba44e4ddbac011de2cb14a70444487303 (patch)
tree6a218c6b7300c8b710ecc1ea2788cad6fe2f53b1 /net/dccp/ccids/lib/loss_interval.h
parentloss_interval: Nuke dccp_li_hist (diff)
downloadlinux-dev-dd36a9aba44e4ddbac011de2cb14a70444487303.tar.xz
linux-dev-dd36a9aba44e4ddbac011de2cb14a70444487303.zip
loss_interval: make struct dccp_li_hist_entry private
net/dccp/ccids/lib/loss_interval.c is the only place where this struct is used. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'net/dccp/ccids/lib/loss_interval.h')
-rw-r--r--net/dccp/ccids/lib/loss_interval.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/dccp/ccids/lib/loss_interval.h b/net/dccp/ccids/lib/loss_interval.h
index f35c11100fc6..906c806d6d9d 100644
--- a/net/dccp/ccids/lib/loss_interval.h
+++ b/net/dccp/ccids/lib/loss_interval.h
@@ -14,18 +14,8 @@
*/
#include <linux/list.h>
-#include <linux/slab.h>
#include <linux/time.h>
-#define DCCP_LI_HIST_IVAL_F_LENGTH 8
-
-struct dccp_li_hist_entry {
- struct list_head dccplih_node;
- u64 dccplih_seqno:48,
- dccplih_win_count:4;
- u32 dccplih_interval;
-};
-
extern void dccp_li_hist_purge(struct list_head *list);
extern u32 dccp_li_hist_calc_i_mean(struct list_head *list);