diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-10 08:02:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-10 08:02:30 +0000 |
commit | f0f1ce0017db9c6a06d1fdd8650ad01e11e8201b (patch) | |
tree | 6efb6d16c5cafff1f3c1acbd497e1826c4952ab6 /src/core/gnunet-service-core_sessions.c | |
parent | d1bd35b2c7b4bbac2fd1c253fce14404bb3a6329 (diff) | |
download | gnunet-f0f1ce0017db9c6a06d1fdd8650ad01e11e8201b.tar.gz gnunet-f0f1ce0017db9c6a06d1fdd8650ad01e11e8201b.zip |
core-new now compiles
Diffstat (limited to 'src/core/gnunet-service-core_sessions.c')
-rw-r--r-- | src/core/gnunet-service-core_sessions.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/core/gnunet-service-core_sessions.c b/src/core/gnunet-service-core_sessions.c index 6e1494373..93f9b6950 100644 --- a/src/core/gnunet-service-core_sessions.c +++ b/src/core/gnunet-service-core_sessions.c | |||
@@ -122,6 +122,41 @@ struct Session | |||
122 | GNUNET_SCHEDULER_TaskIdentifier cork_task; | 122 | GNUNET_SCHEDULER_TaskIdentifier cork_task; |
123 | 123 | ||
124 | /** | 124 | /** |
125 | * Tracking bandwidth for sending to this peer. | ||
126 | * // FIXME: unused! should it be used? | ||
127 | */ | ||
128 | struct GNUNET_BANDWIDTH_Tracker available_send_window; | ||
129 | |||
130 | /** | ||
131 | * Tracking bandwidth for receiving from this peer. | ||
132 | * // FIXME: need to set it! | ||
133 | */ | ||
134 | struct GNUNET_BANDWIDTH_Tracker available_recv_window; | ||
135 | |||
136 | /** | ||
137 | * Available bandwidth out for this peer (current target). | ||
138 | * // FIXME: check usage! | ||
139 | */ | ||
140 | struct GNUNET_BANDWIDTH_Value32NBO bw_out; | ||
141 | |||
142 | /** | ||
143 | * Internal bandwidth limit set for this peer (initially typically | ||
144 | * set to "-1"). Actual "bw_out" is MIN of | ||
145 | * "bpm_out_internal_limit" and "bw_out_external_limit". | ||
146 | * // FIXME: check usage | ||
147 | */ | ||
148 | struct GNUNET_BANDWIDTH_Value32NBO bw_out_internal_limit; | ||
149 | |||
150 | /** | ||
151 | * External bandwidth limit set for this peer by the | ||
152 | * peer that we are communicating with. "bw_out" is MIN of | ||
153 | * "bw_out_internal_limit" and "bw_out_external_limit". | ||
154 | * // FIXME: check usage | ||
155 | */ | ||
156 | struct GNUNET_BANDWIDTH_Value32NBO bw_out_external_limit; | ||
157 | |||
158 | |||
159 | /** | ||
125 | * Is the neighbour queue empty and thus ready for us | 160 | * Is the neighbour queue empty and thus ready for us |
126 | * to transmit an encrypted message? | 161 | * to transmit an encrypted message? |
127 | */ | 162 | */ |