|
|
| 114 |
typedef struct |
114 |
typedef struct |
| 115 |
{ |
115 |
{ |
| 116 |
uint32_t unforcedDrop; //!< Early probability drops |
116 |
uint32_t unforcedDrop; //!< Early probability drops |
| 117 |
uint32_t forcedDrop; //!< Forced drops, qavg > max threshold |
117 |
uint32_t forcedDrop; //!< Forced drops, m_qAvg > m_maxTh |
| 118 |
uint32_t qLimDrop; //!< Drops due to queue limits |
118 |
uint32_t qLimDrop; //!< Drops due to queue limits |
| 119 |
uint32_t unforcedMark; //!< Early probability marks |
119 |
uint32_t unforcedMark; //!< Early probability marks |
| 120 |
uint32_t forcedMark; //!< Forced marks, qavg > max threshold |
120 |
uint32_t forcedMark; //!< Forced marks, m_qAvg > m_maxTh |
| 121 |
} Stats; |
121 |
} Stats; |
| 122 |
|
122 |
|
| 123 |
/** |
123 |
/** |
|
|
| 316 |
uint32_t m_meanPktSize; //!< Avg pkt size |
316 |
uint32_t m_meanPktSize; //!< Avg pkt size |
| 317 |
uint32_t m_idlePktSize; //!< Avg pkt size used during idle times |
317 |
uint32_t m_idlePktSize; //!< Avg pkt size used during idle times |
| 318 |
bool m_isWait; //!< True for waiting between dropped packets |
318 |
bool m_isWait; //!< True for waiting between dropped packets |
| 319 |
bool m_isGentle; //!< True to increases dropping prob. slowly when ave queue exceeds maxthresh |
319 |
bool m_isGentle; //!< True to increase dropping prob. slowly when m_qAvg exceeds m_maxTh |
| 320 |
bool m_isARED; //!< True to enable Adaptive RED |
320 |
bool m_isARED; //!< True to enable Adaptive RED |
| 321 |
bool m_isAdaptMaxP; //!< True to adapt m_curMaxP |
321 |
bool m_isAdaptMaxP; //!< True to adapt m_curMaxP |
| 322 |
double m_minTh; //!< Min avg length threshold (bytes) |
322 |
double m_minTh; //!< Minimum threshold for m_qAvg (bytes or packets) |
| 323 |
double m_maxTh; //!< Max avg length threshold (bytes), should be >= 2*minTh |
323 |
double m_maxTh; //!< Maximum threshold for m_qAvg (bytes or packets), should be >= 2 * m_minTh |
| 324 |
uint32_t m_queueLimit; //!< Queue limit in bytes / packets |
324 |
uint32_t m_queueLimit; //!< Queue limit in bytes / packets |
| 325 |
double m_qW; //!< Queue weight given to cur queue size sample |
325 |
double m_qW; //!< Queue weight given to cur queue size sample |
| 326 |
double m_lInterm; //!< The max probability of dropping a packet |
326 |
double m_lInterm; //!< The max probability of dropping a packet |