[CCID3]: Move the loss interval code to loss_interval.[ch]

And put this into net/dccp/ccids/lib/, where packet_history.[ch] will also be
moved and then we'll have a tfrc_lib.ko module that will be used by
dccp_ccid3.ko and other CCIDs that are variations of TFRC (RFC 3448).

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/dccp/ccids/ccid3.h b/net/dccp/ccids/ccid3.h
index f896570..f68d0b4 100644
--- a/net/dccp/ccids/ccid3.h
+++ b/net/dccp/ccids/ccid3.h
@@ -59,8 +59,6 @@
 
 #define TFRC_SMALLEST_P		   40
 
-#define TFRC_RECV_IVAL_F_LENGTH	    8
-
 /* Number of later packets received before one is considered lost */
 #define TFRC_RECV_NUM_LATE_LOSS	3
 
@@ -119,13 +117,6 @@
 	struct ccid3_options_received	ccid3hctx_options_received;
 };
 
-struct ccid3_loss_interval_hist_entry {
-	struct list_head	ccid3lih_node;
-	u64			ccid3lih_seqno:48,
-				ccid3lih_win_count:4;
-	u32			ccid3lih_interval;
-};
-
 struct ccid3_hc_rx_sock {
   	u64			ccid3hcrx_seqno_last_counter:48,
 				ccid3hcrx_state:8,
@@ -136,7 +127,7 @@
   	struct timeval		ccid3hcrx_tstamp_last_feedback;
   	struct timeval		ccid3hcrx_tstamp_last_ack;
 	struct list_head	ccid3hcrx_hist;
-	struct list_head	ccid3hcrx_loss_interval_hist;
+	struct list_head	ccid3hcrx_li_hist;
   	u16			ccid3hcrx_s;
   	u32			ccid3hcrx_pinv;
   	u32			ccid3hcrx_elapsed_time;