#include "if/core/wrap.h"
#include "lib/inputevt.h"
Go to the source code of this file.
Data Structures | |
| struct | bio_source |
Defines | |
| #define | BS_BW_MAX (2*1024*1024) |
| #define | BIO_F_READ 0x00000001 |
| Reading source. | |
| #define | BIO_F_WRITE 0x00000002 |
| Writing source. | |
| #define | BIO_F_ACTIVE 0x00000004 |
| Source active since b/w scheduled. | |
| #define | BIO_F_USED 0x00000008 |
| Source used this period. | |
| #define | BIO_F_RW (BIO_F_READ|BIO_F_WRITE) |
| #define | BIO_EMA_SHIFT 7 |
| #define | bio_bps(b) ((b)->bw_last_bps) |
| #define | bio_avg_bps(b) ((b)->bw_slow_ema >> BIO_EMA_SHIFT) |
Typedefs | |
| typedef bsched | bsched_t |
| typedef bio_source | bio_source_t |
Enumerations | |
| enum | bsched_bws_t { BSCHED_BWS_IN, BSCHED_BWS_OUT, BSCHED_BWS_GIN, BSCHED_BWS_GOUT, BSCHED_BWS_GLIN, BSCHED_BWS_GLOUT, BSCHED_BWS_GIN_UDP, BSCHED_BWS_GOUT_UDP, NUM_BSCHED_BWS, BSCHED_BWS_INVALID = NUM_BSCHED_BWS } |
| enum | bio_source_magic { BIO_SOURCE_MAGIC = 0x80b3bf07U } |
| Source under bandwidth control. More... | |
|
|
|
|
|
|
|
|
|
|
|
Source active since b/w scheduled.
|
|
|
Reading source.
|
|
|
|
|
|
Source used this period.
|
|
|
Writing source.
|
|
|
|
|
|
|
|
|
|
|
|
Source under bandwidth control.
|
|
|
|
1.3.9.1