Set of CadetRoutes that have exactly the same number of messages in their buffer. More...
Data Fields | |
struct Rung * | next |
Rung of RouteDirections with one more buffer entry each. More... | |
struct Rung * | prev |
Rung of RouteDirections with one less buffer entry each. More... | |
struct RouteDirection * | rd_head |
DLL of route directions with a number of buffer entries matching this rung. More... | |
struct RouteDirection * | rd_tail |
DLL of route directions with a number of buffer entries matching this rung. More... | |
unsigned int | num_routes |
Total number of route directions in this rung. More... | |
unsigned int | rung_off |
Number of messages route directions at this rung have in their buffer. More... | |
Set of CadetRoutes that have exactly the same number of messages in their buffer.
Used so we can efficiently find all of those routes that have the current maximum of messages in the buffer (in case we have to purge).
Definition at line 55 of file gnunet-service-cadet_core.c.
struct Rung* Rung::next |
Rung of RouteDirections with one more buffer entry each.
Definition at line 60 of file gnunet-service-cadet_core.c.
Referenced by route_message().
struct Rung* Rung::prev |
Rung of RouteDirections with one less buffer entry each.
Definition at line 65 of file gnunet-service-cadet_core.c.
Referenced by lower_rung().
struct RouteDirection* Rung::rd_head |
DLL of route directions with a number of buffer entries matching this rung.
Definition at line 70 of file gnunet-service-cadet_core.c.
Referenced by destroy_direction(), dir_init(), discard_all_from_rung_tail(), lower_rung(), and route_message().
struct RouteDirection* Rung::rd_tail |
DLL of route directions with a number of buffer entries matching this rung.
Definition at line 75 of file gnunet-service-cadet_core.c.
Referenced by destroy_direction(), dir_init(), lower_rung(), and route_message().
unsigned int Rung::num_routes |
Total number of route directions in this rung.
Definition at line 80 of file gnunet-service-cadet_core.c.
unsigned int Rung::rung_off |
Number of messages route directions at this rung have in their buffer.
Definition at line 86 of file gnunet-service-cadet_core.c.
Referenced by lower_rung(), and route_message().