aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/lib/loss_interval.h
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2007-12-12 11:23:08 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:57:20 -0500
commit3f71c81ac37b27b824e9ce18fe17438dc2af4a16 (patch)
tree0291ca60c033aec233443faec78777f603e5e419 /net/dccp/ccids/lib/loss_interval.h
parent954c2db868ce896325dced91d5fba5e2226897a4 (diff)
[TFRC]: Remove previous loss intervals implementation
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ccids/lib/loss_interval.h')
-rw-r--r--net/dccp/ccids/lib/loss_interval.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/net/dccp/ccids/lib/loss_interval.h b/net/dccp/ccids/lib/loss_interval.h
index 5e3c5c54a495..246018a3b269 100644
--- a/net/dccp/ccids/lib/loss_interval.h
+++ b/net/dccp/ccids/lib/loss_interval.h
@@ -65,19 +65,11 @@ static inline u8 tfrc_lh_length(struct tfrc_loss_hist *lh)
65 return min(lh->counter, (u8)LIH_SIZE); 65 return min(lh->counter, (u8)LIH_SIZE);
66} 66}
67 67
68extern void dccp_li_hist_purge(struct list_head *list);
69struct tfrc_rx_hist; 68struct tfrc_rx_hist;
69
70extern int tfrc_lh_interval_add(struct tfrc_loss_hist *, struct tfrc_rx_hist *, 70extern int tfrc_lh_interval_add(struct tfrc_loss_hist *, struct tfrc_rx_hist *,
71 u32 (*first_li)(struct sock *), struct sock *); 71 u32 (*first_li)(struct sock *), struct sock *);
72extern u8 tfrc_lh_update_i_mean(struct tfrc_loss_hist *lh, struct sk_buff *); 72extern u8 tfrc_lh_update_i_mean(struct tfrc_loss_hist *lh, struct sk_buff *);
73extern void tfrc_lh_cleanup(struct tfrc_loss_hist *lh); 73extern void tfrc_lh_cleanup(struct tfrc_loss_hist *lh);
74 74
75extern u32 dccp_li_hist_calc_i_mean(struct list_head *list);
76
77extern void dccp_li_update_li(struct sock *sk,
78 struct list_head *li_hist_list,
79 struct list_head *hist_list,
80 ktime_t last_feedback, u16 s,
81 u32 bytes_recv, u32 previous_x_recv,
82 u64 seq_loss, u8 win_loss);
83#endif /* _DCCP_LI_HIST_ */ 75#endif /* _DCCP_LI_HIST_ */