aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/ccid3.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-10 11:59:38 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:56:28 -0400
commit8c60f3fab55712f23f2bd557ceedfbb00c649f37 (patch)
treea131a54e9790b1b85e5c7f78a2e74e33af2bbd87 /net/dccp/ccids/ccid3.h
parent540722ffc3a0d7e11d97a13e1ce6f3bc23b061c1 (diff)
[CCID3]: Separate most of the packet history code
This also changes the list_for_each_entry_safe_continue behaviour to match its kerneldoc comment, that is, to start after the pos passed. Also adds several helper functions from previously open coded fragments, making the code more clear. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp/ccids/ccid3.h')
-rw-r--r--net/dccp/ccids/ccid3.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/net/dccp/ccids/ccid3.h b/net/dccp/ccids/ccid3.h
index 5d6b623e64da..d2705fb74195 100644
--- a/net/dccp/ccids/ccid3.h
+++ b/net/dccp/ccids/ccid3.h
@@ -38,15 +38,6 @@
38 38
39#include <linux/types.h> 39#include <linux/types.h>
40#include <linux/list.h> 40#include <linux/list.h>
41#include <linux/timer.h>
42
43struct ccid3_tx_hist_entry {
44 struct list_head ccid3htx_node;
45 u64 ccid3htx_seqno:48,
46 ccid3htx_win_count:8,
47 ccid3htx_sent:1;
48 struct timeval ccid3htx_tstamp;
49};
50 41
51struct ccid3_options_received { 42struct ccid3_options_received {
52 u64 ccid3or_seqno:48, 43 u64 ccid3or_seqno:48,
@@ -102,15 +93,6 @@ struct ccid3_loss_interval_hist_entry {
102 u32 ccid3lih_interval; 93 u32 ccid3lih_interval;
103}; 94};
104 95
105struct ccid3_rx_hist_entry {
106 struct list_head ccid3hrx_node;
107 u64 ccid3hrx_seqno:48,
108 ccid3hrx_win_count:4,
109 ccid3hrx_type:4;
110 u32 ccid3hrx_ndp; /* In fact it is from 8 to 24 bits */
111 struct timeval ccid3hrx_tstamp;
112};
113
114struct ccid3_hc_rx_sock { 96struct ccid3_hc_rx_sock {
115 u64 ccid3hcrx_seqno_last_counter:48, 97 u64 ccid3hcrx_seqno_last_counter:48,
116 ccid3hcrx_state:8, 98 ccid3hcrx_state:8,