diff options
Diffstat (limited to 'src/include/gnunet_bandwidth_lib.h')
-rw-r--r-- | src/include/gnunet_bandwidth_lib.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/gnunet_bandwidth_lib.h b/src/include/gnunet_bandwidth_lib.h index 178ddaaac..967d50dea 100644 --- a/src/include/gnunet_bandwidth_lib.h +++ b/src/include/gnunet_bandwidth_lib.h | |||
@@ -133,7 +133,7 @@ struct GNUNET_BANDWIDTH_Tracker | |||
133 | /** | 133 | /** |
134 | * Maximum number of seconds over which bandwidth may "accumulate". | 134 | * Maximum number of seconds over which bandwidth may "accumulate". |
135 | * Note that additionally, we also always allow at least | 135 | * Note that additionally, we also always allow at least |
136 | * #GNUNET_SERVER_MAX_MESSAGE_SIZE to accumulate. | 136 | * #GNUNET_MAX_MESSAGE_SIZE to accumulate. |
137 | */ | 137 | */ |
138 | uint32_t max_carry_s__; | 138 | uint32_t max_carry_s__; |
139 | }; | 139 | }; |
@@ -214,10 +214,10 @@ GNUNET_BANDWIDTH_value_max (struct GNUNET_BANDWIDTH_Value32NBO b1, | |||
214 | /** | 214 | /** |
215 | * Initialize bandwidth tracker. Note that in addition to the | 215 | * Initialize bandwidth tracker. Note that in addition to the |
216 | * 'max_carry_s' limit, we also always allow at least | 216 | * 'max_carry_s' limit, we also always allow at least |
217 | * #GNUNET_SERVER_MAX_MESSAGE_SIZE to accumulate. So if the | 217 | * #GNUNET_MAX_MESSAGE_SIZE to accumulate. So if the |
218 | * bytes-per-second limit is so small that within 'max_carry_s' not | 218 | * bytes-per-second limit is so small that within 'max_carry_s' not |
219 | * even #GNUNET_SERVER_MAX_MESSAGE_SIZE is allowed to accumulate, it is | 219 | * even #GNUNET_MAX_MESSAGE_SIZE is allowed to accumulate, it is |
220 | * ignored and replaced by #GNUNET_SERVER_MAX_MESSAGE_SIZE (which is in | 220 | * ignored and replaced by #GNUNET_MAX_MESSAGE_SIZE (which is in |
221 | * bytes). | 221 | * bytes). |
222 | * | 222 | * |
223 | * @param av tracker to initialize | 223 | * @param av tracker to initialize |
@@ -238,10 +238,10 @@ GNUNET_BANDWIDTH_tracker_init (struct GNUNET_BANDWIDTH_Tracker *av, | |||
238 | /** | 238 | /** |
239 | * Initialize bandwidth tracker. Note that in addition to the | 239 | * Initialize bandwidth tracker. Note that in addition to the |
240 | * 'max_carry_s' limit, we also always allow at least | 240 | * 'max_carry_s' limit, we also always allow at least |
241 | * GNUNET_SERVER_MAX_MESSAGE_SIZE to accumulate. So if the | 241 | * GNUNET_MAX_MESSAGE_SIZE to accumulate. So if the |
242 | * bytes-per-second limit is so small that within 'max_carry_s' not | 242 | * bytes-per-second limit is so small that within 'max_carry_s' not |
243 | * even GNUNET_SERVER_MAX_MESSAGE_SIZE is allowed to accumulate, it is | 243 | * even GNUNET_MAX_MESSAGE_SIZE is allowed to accumulate, it is |
244 | * ignored and replaced by GNUNET_SERVER_MAX_MESSAGE_SIZE (which is in | 244 | * ignored and replaced by GNUNET_MAX_MESSAGE_SIZE (which is in |
245 | * bytes). | 245 | * bytes). |
246 | * | 246 | * |
247 | * @param av tracker to initialize | 247 | * @param av tracker to initialize |