Function gnunet_sys::GNUNET_ATS_address_update[][src]

pub unsafe extern "C" fn GNUNET_ATS_address_update(
    ar: *mut GNUNET_ATS_AddressRecord,
    prop: *const GNUNET_ATS_Properties
)

We have updated performance statistics for a given address. Note that this function can be called for addresses that are currently in use as well as addresses that are valid but not actively in use. Furthermore, the peer may not even be connected to us right now (@a session value of NULL used to signal disconnect, or somehow we otherwise got updated on @a ats information). Based on the information provided, ATS may update bandwidth assignments and suggest to switch addresses.

@param ar address record to update information for @param prop performance data for the address