summaryrefslogtreecommitdiff
path: root/net/dccp/ccids/lib/tfrc.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-09-21 16:00:40 -0700
committerDavid S. Miller <davem@davemloft.net>2010-09-21 16:00:40 -0700
commit98e684bd5c927cb94ff23fb6f1dd34dd346a19cf (patch)
tree4274d2b1d7c5314e1bb4d33197211aa8faa08687 /net/dccp/ccids/lib/tfrc.h
parente254c274ae19888e5693ba6d32576ab03a8ae8a4 (diff)
parent536bb20b45dee3f9b77b0d250f8ed0733a5cb025 (diff)
Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/net-next-2.6
Diffstat (limited to 'net/dccp/ccids/lib/tfrc.h')
-rw-r--r--net/dccp/ccids/lib/tfrc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/ccids/lib/tfrc.h b/net/dccp/ccids/lib/tfrc.h
index 01bb48e96c2..f8ee3f54977 100644
--- a/net/dccp/ccids/lib/tfrc.h
+++ b/net/dccp/ccids/lib/tfrc.h
@@ -57,6 +57,7 @@ static inline u32 tfrc_ewma(const u32 avg, const u32 newval, const u8 weight)
extern u32 tfrc_calc_x(u16 s, u32 R, u32 p);
extern u32 tfrc_calc_x_reverse_lookup(u32 fvalue);
+extern u32 tfrc_invert_loss_event_rate(u32 loss_event_rate);
extern int tfrc_tx_packet_history_init(void);
extern void tfrc_tx_packet_history_exit(void);