diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-05-28 18:56:44 -0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-10 22:15:24 -0700 |
commit | dd36a9aba44e4ddbac011de2cb14a70444487303 (patch) | |
tree | 6a218c6b7300c8b710ecc1ea2788cad6fe2f53b1 /net/dccp/ccids/lib/loss_interval.c | |
parent | cc4d6a3a34ce3976d7d01d044f3093cddc2921c2 (diff) | |
download | op-kernel-dev-dd36a9aba44e4ddbac011de2cb14a70444487303.zip op-kernel-dev-dd36a9aba44e4ddbac011de2cb14a70444487303.tar.gz |
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.c')
-rw-r--r-- | net/dccp/ccids/lib/loss_interval.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/dccp/ccids/lib/loss_interval.c b/net/dccp/ccids/lib/loss_interval.c index e6b1f0c..01c1edb 100644 --- a/net/dccp/ccids/lib/loss_interval.c +++ b/net/dccp/ccids/lib/loss_interval.c @@ -18,6 +18,15 @@ #include "packet_history.h" #include "tfrc.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; +}; + struct kmem_cache *dccp_li_cachep __read_mostly; static inline struct dccp_li_hist_entry *dccp_li_hist_entry_new(const gfp_t prio) |