Information we track per address, incoming or outgoing. More...
Data Fields | |
struct GNUNET_ATS_SchedulingHandle * | sh |
Scheduling handle this address record belongs to. More... | |
struct GNUNET_HELLO_Address * | address |
Address data. More... | |
struct GNUNET_ATS_Session * | session |
Session handle. More... | |
struct GNUNET_ATS_PropertiesNBO | properties |
Performance data about the address. More... | |
uint32_t | slot |
Which slot (index) in the session array does this record correspond to? FIXME: a linear search on this is really crappy! Maybe switch to a 64-bit global counter and be done with it? Or does that then cause too much trouble on the ATS-service side? More... | |
int | in_destroy |
We're about to destroy this address record, just ATS does not know this yet. More... | |
Information we track per address, incoming or outgoing.
It also doesn't matter if we have a session, any address that ATS is allowed to suggest right now should be tracked.
Definition at line 57 of file ats_api_scheduling.c.
struct GNUNET_ATS_SchedulingHandle* GNUNET_ATS_AddressRecord::sh |
Scheduling handle this address record belongs to.
Definition at line 62 of file ats_api_scheduling.c.
Referenced by GNUNET_ATS_address_add(), GNUNET_ATS_address_destroy(), and GNUNET_ATS_address_update().
struct GNUNET_HELLO_Address* GNUNET_ATS_AddressRecord::address |
Address data.
Definition at line 67 of file ats_api_scheduling.c.
Referenced by find_session(), GNUNET_ATS_address_add(), GNUNET_ATS_address_del_session(), GNUNET_ATS_address_destroy(), GNUNET_ATS_address_update(), GNUNET_ATS_scheduling_done(), handle_ats_address_suggestion(), release_session(), and send_add_address_message().
struct GNUNET_ATS_Session* GNUNET_ATS_AddressRecord::session |
Session handle.
NULL if we have an address but no active session for this address.
Definition at line 73 of file ats_api_scheduling.c.
Referenced by find_session_id(), GNUNET_ATS_address_add(), GNUNET_ATS_address_add_session(), GNUNET_ATS_address_del_session(), GNUNET_ATS_address_destroy(), GNUNET_ATS_address_update(), handle_ats_address_suggestion(), release_session(), and send_add_address_message().
struct GNUNET_ATS_PropertiesNBO GNUNET_ATS_AddressRecord::properties |
Performance data about the address.
Definition at line 73 of file ats_api_scheduling.c.
Referenced by GNUNET_ATS_address_add(), GNUNET_ATS_address_update(), and send_add_address_message().
uint32_t GNUNET_ATS_AddressRecord::slot |
Which slot (index) in the session array does this record correspond to? FIXME: a linear search on this is really crappy! Maybe switch to a 64-bit global counter and be done with it? Or does that then cause too much trouble on the ATS-service side?
Definition at line 88 of file ats_api_scheduling.c.
Referenced by GNUNET_ATS_address_add(), GNUNET_ATS_address_destroy(), GNUNET_ATS_address_update(), handle_ats_address_suggestion(), and send_add_address_message().
int GNUNET_ATS_AddressRecord::in_destroy |
We're about to destroy this address record, just ATS does not know this yet.
Once ATS confirms its destruction, we can clean up.
Definition at line 95 of file ats_api_scheduling.c.
Referenced by GNUNET_ATS_address_destroy(), and handle_ats_address_suggestion().