diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-08-27 22:03:09 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 19:12:17 -0400 |
commit | ae6706f0678b89de07ad3b456893cc883584f711 (patch) | |
tree | d9d854ccb0bf7124d98dfaad959f34c11cceef23 /net/dccp/ccids/ccid3.h | |
parent | cfc3c525a3b434cabf92bf7054f2c6c93497fbea (diff) |
[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>
Diffstat (limited to 'net/dccp/ccids/ccid3.h')
-rw-r--r-- | net/dccp/ccids/ccid3.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/net/dccp/ccids/ccid3.h b/net/dccp/ccids/ccid3.h index f8965700bbe9..f68d0b4e31e9 100644 --- a/net/dccp/ccids/ccid3.h +++ b/net/dccp/ccids/ccid3.h | |||
@@ -59,8 +59,6 @@ | |||
59 | 59 | ||
60 | #define TFRC_SMALLEST_P 40 | 60 | #define TFRC_SMALLEST_P 40 |
61 | 61 | ||
62 | #define TFRC_RECV_IVAL_F_LENGTH 8 | ||
63 | |||
64 | /* Number of later packets received before one is considered lost */ | 62 | /* Number of later packets received before one is considered lost */ |
65 | #define TFRC_RECV_NUM_LATE_LOSS 3 | 63 | #define TFRC_RECV_NUM_LATE_LOSS 3 |
66 | 64 | ||
@@ -119,13 +117,6 @@ struct ccid3_hc_tx_sock { | |||
119 | struct ccid3_options_received ccid3hctx_options_received; | 117 | struct ccid3_options_received ccid3hctx_options_received; |
120 | }; | 118 | }; |
121 | 119 | ||
122 | struct ccid3_loss_interval_hist_entry { | ||
123 | struct list_head ccid3lih_node; | ||
124 | u64 ccid3lih_seqno:48, | ||
125 | ccid3lih_win_count:4; | ||
126 | u32 ccid3lih_interval; | ||
127 | }; | ||
128 | |||
129 | struct ccid3_hc_rx_sock { | 120 | struct ccid3_hc_rx_sock { |
130 | u64 ccid3hcrx_seqno_last_counter:48, | 121 | u64 ccid3hcrx_seqno_last_counter:48, |
131 | ccid3hcrx_state:8, | 122 | ccid3hcrx_state:8, |
@@ -136,7 +127,7 @@ struct ccid3_hc_rx_sock { | |||
136 | struct timeval ccid3hcrx_tstamp_last_feedback; | 127 | struct timeval ccid3hcrx_tstamp_last_feedback; |
137 | struct timeval ccid3hcrx_tstamp_last_ack; | 128 | struct timeval ccid3hcrx_tstamp_last_ack; |
138 | struct list_head ccid3hcrx_hist; | 129 | struct list_head ccid3hcrx_hist; |
139 | struct list_head ccid3hcrx_loss_interval_hist; | 130 | struct list_head ccid3hcrx_li_hist; |
140 | u16 ccid3hcrx_s; | 131 | u16 ccid3hcrx_s; |
141 | u32 ccid3hcrx_pinv; | 132 | u32 ccid3hcrx_pinv; |
142 | u32 ccid3hcrx_elapsed_time; | 133 | u32 ccid3hcrx_elapsed_time; |