![]() |
FD.io VPP
v18.10-34-gcce845e
Vector Packet Processing
|
Include dependency graph for throttle.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | throttle_t_ |
| A throttle Used in the data plane to decide if a given hash should be throttled, i.e. More... | |
Macros | |
| #define | THROTTLE_BITS (512) |
Typedefs | |
| typedef struct throttle_t_ | throttle_t |
| A throttle Used in the data plane to decide if a given hash should be throttled, i.e. More... | |
Functions | |
| void | throttle_init (throttle_t *t, u32 n_threads, f64 time) |
| static u64 | throttle_seed (throttle_t *t, u32 thread_index, f64 time_now) |
| static int | throttle_check (throttle_t *t, u32 thread_index, u64 hash, u64 seed) |
| #define THROTTLE_BITS (512) |
Definition at line 36 of file throttle.h.
| typedef struct throttle_t_ throttle_t |
A throttle Used in the data plane to decide if a given hash should be throttled, i.e.
that the hash has been seen already 'recently'. Recent is the time given in the throttle's initialisation.
|
inlinestatic |
Definition at line 54 of file throttle.h.
Here is the call graph for this function:
Here is the caller graph for this function:| void throttle_init | ( | throttle_t * | t, |
| u32 | n_threads, | ||
| f64 | time | ||
| ) |
|
inlinestatic |
Definition at line 41 of file throttle.h.
Here is the call graph for this function:
Here is the caller graph for this function: